ZOOM Windows SDK  5.2.42037.1112
embedded_browser_interface.h
Go to the documentation of this file.
1 
6 #ifndef _EMBEDDED_BROWSER_INTERFACE_H_
7 #define _EMBEDDED_BROWSER_INTERFACE_H_
8 #include "zoom_sdk_def.h"
9 
10 BEGIN_ZOOM_SDK_NAMESPACE
11 
17 {
31 };
32 
36 {
37 public:
40  virtual void NotifyBeforeNavigate(const char* url) = 0;
41 
44  virtual void NotifyDocumentComplete(const char* url) = 0;
45 
50  virtual void NotifyNavigateError(const char* url, NavigateError err, int component_err) = 0;
51 };
52 
56 {
57 public:
62  virtual SDKError SetEvent(IEmbeddedBrowserEvent* pEvent) = 0;
63 
68  virtual SDKError Navigate(const char* url) = 0;
69 
73  virtual SDKError Resize() = 0;
74 
77  virtual const char* GetURL() = 0;
78 
83  virtual const char* GetTitle() = 0;
84 
88  virtual SDKError GoBack() = 0;
89 
93  virtual SDKError GoForward() = 0;
94 
98  virtual SDKError DoRefresh() = 0;
99 
103  virtual SDKError DoStop() = 0;
104 };
105 END_ZOOM_SDK_NAMESPACE
106 #endif
virtual SDKError Resize()=0
Resize the embedded browser window to cover the client area of the parent window. ...
INET_E_DOWNLOAD_FAILURE (0x800C0008L or -2146697208)
Definition: embedded_browser_interface.h:26
Browser container error.
Definition: embedded_browser_interface.h:29
virtual void NotifyDocumentComplete(const char *url)=0
The callback event will be triggered once the embedded browser receives all the information.
Navigation successful.
Definition: embedded_browser_interface.h:18
ZOOM windows SDK Common Definition File.
virtual SDKError GoForward()=0
Navigate to the next page by the web control if exists navigation history.
Some other issues.
Definition: embedded_browser_interface.h:30
virtual SDKError GoBack()=0
Navigate to the previous page by the web control if exists navigation history.
HTTP requests some related errors.
Definition: embedded_browser_interface.h:19
INET_E_NO_SESSION (0x800C0003L or -2146697213)
Definition: embedded_browser_interface.h:21
INET_E_CANNOT_LOAD_DATA (0x800C000FL or -2146697201)
Definition: embedded_browser_interface.h:28
virtual SDKError DoStop()=0
Cancel all pending navigations or dynamic elements, such as background sounds and animations...
NavigateError
Navigation error code. Here are more detailed structural descriptions.
Definition: embedded_browser_interface.h:16
SDKError
SDK error types. Here are more detailed structural descriptions.
Definition: zoom_sdk_def.h:29
INET_E_CONNECTION_TIMEOUT (0x800C000BL or -2146697205)
Definition: embedded_browser_interface.h:27
virtual const char * GetURL()=0
Gets the URL matched to the present displayed content or get the full path of file, or the full path containing the file name.
INET_E_RESOURCE_NOT_FOUND (0x800C0005L or -2146697211)
Definition: embedded_browser_interface.h:23
virtual void NotifyNavigateError(const char *url, NavigateError err, int component_err)=0
The callback event will be triggered the moment an error occurs while the embedded browser visits the...
INET_E_OBJECT_NOT_FOUND (0x800C0006L or -2146697210)
Definition: embedded_browser_interface.h:24
Embedded Browser Callback Event.
Definition: embedded_browser_interface.h:35
virtual const char * GetTitle()=0
Get the title of the present displayed content.
INET_E_DATA_NOT_AVAILABLE (0x800C0007L or -2146697209)
Definition: embedded_browser_interface.h:25
INET_E_INVALID_URL (0x800C0002L or -2146697214)
Definition: embedded_browser_interface.h:20
virtual SDKError Navigate(const char *url)=0
Start to navigate.
INET_E_CANNOT_CONNECT (0x800C0004L or -2146697212)
Definition: embedded_browser_interface.h:22
virtual SDKError DoRefresh()=0
Reloads the present document displayed on the web browser.
virtual SDKError SetEvent(IEmbeddedBrowserEvent *pEvent)=0
Set embedded browser callback event handler.
Embedded Browser Interface.
Definition: embedded_browser_interface.h:55
virtual void NotifyBeforeNavigate(const char *url)=0
The callback event will be triggered before the embedded browser starts to navigate.