forked from cefsharp/CefSharp
/
IExampleView.cs
30 lines (27 loc) · 1.01 KB
/
IExampleView.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System;
namespace CefSharp.Example
{
public interface IExampleView
{
event Action<object, string> UrlActivated;
event EventHandler BackActivated;
event EventHandler ForwardActivated;
event EventHandler TestResourceLoadActivated;
event EventHandler TestSchemeLoadActivated;
event EventHandler TestExecuteScriptActivated;
event EventHandler TestEvaluateScriptActivated;
event EventHandler TestBindActivated;
event EventHandler TestConsoleMessageActivated;
event EventHandler TestTooltipActivated;
event EventHandler ExitActivated;
void SetTitle(string title);
void SetTooltip(string tooltip);
void SetAddress(string address);
void SetCanGoBack(bool can_go_back);
void SetCanGoForward(bool can_go_forward);
void SetIsLoading(bool is_loading);
void ExecuteScript(string script);
object EvaluateScript(string script);
void DisplayOutput(string output);
}
}