webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Member Functions | List of all members
MiniBrowserWebHost Class Reference

#include <MiniBrowserWebHost.h>

Inheritance diagram for MiniBrowserWebHost:
IWebFrameLoadDelegate IWebFrameLoadDelegatePrivate

Public Member Functions

 MiniBrowserWebHost (MiniBrowser *client, HWND urlBar)
 
virtual HRESULT STDMETHODCALLTYPE QueryInterface (_In_ REFIID riid, _COM_Outptr_ void **ppvObject)
 
virtual ULONG STDMETHODCALLTYPE AddRef ()
 
virtual ULONG STDMETHODCALLTYPE Release ()
 
virtual HRESULT STDMETHODCALLTYPE didStartProvisionalLoadForFrame (_In_opt_ IWebView *, _In_opt_ IWebFrame *)
 
virtual HRESULT STDMETHODCALLTYPE didReceiveServerRedirectForProvisionalLoadForFrame (_In_opt_ IWebView *, _In_opt_ IWebFrame *)
 
virtual HRESULT STDMETHODCALLTYPE didFailProvisionalLoadWithError (_In_opt_ IWebView *, _In_opt_ IWebError *, _In_opt_ IWebFrame *)
 
virtual HRESULT STDMETHODCALLTYPE didCommitLoadForFrame (_In_opt_ IWebView *webView, _In_opt_ IWebFrame *)
 
virtual HRESULT STDMETHODCALLTYPE didReceiveTitle (_In_opt_ IWebView *, _In_ BSTR title, _In_opt_ IWebFrame *)
 
virtual HRESULT STDMETHODCALLTYPE didChangeIcons (_In_opt_ IWebView *, _In_opt_ IWebFrame *)
 
virtual HRESULT STDMETHODCALLTYPE didReceiveIcon (_In_opt_ IWebView *, _In_ HBITMAP, _In_opt_ IWebFrame *)
 
virtual HRESULT STDMETHODCALLTYPE didFinishLoadForFrame (_In_opt_ IWebView *, _In_opt_ IWebFrame *)
 
virtual HRESULT STDMETHODCALLTYPE didFailLoadWithError (_In_opt_ IWebView *, _In_opt_ IWebError *, _In_opt_ IWebFrame *)
 
virtual HRESULT STDMETHODCALLTYPE didChangeLocationWithinPageForFrame (_In_opt_ IWebView *, _In_opt_ IWebFrame *)
 
virtual HRESULT STDMETHODCALLTYPE willPerformClientRedirectToURL (_In_opt_ IWebView *, _In_ BSTR url, double delaySeconds, DATE fireDate, _In_opt_ IWebFrame *)
 
virtual HRESULT STDMETHODCALLTYPE didCancelClientRedirectForFrame (_In_opt_ IWebView *, _In_opt_ IWebFrame *)
 
virtual HRESULT STDMETHODCALLTYPE willCloseFrame (_In_opt_ IWebView *, _In_opt_ IWebFrame *)
 
virtual HRESULT STDMETHODCALLTYPE windowScriptObjectAvailable (IWebView *, JSContextRef, JSObjectRef)
 
virtual HRESULT STDMETHODCALLTYPE didClearWindowObject (IWebView *, JSContextRef, JSObjectRef, IWebFrame *)
 
virtual HRESULT STDMETHODCALLTYPE didFinishDocumentLoadForFrame (_In_opt_ IWebView *sender, _In_opt_ IWebFrame *)
 
virtual HRESULT STDMETHODCALLTYPE didFirstLayoutInFrame (_In_opt_ IWebView *sender, _In_opt_ IWebFrame *)
 
virtual HRESULT STDMETHODCALLTYPE didHandleOnloadEventsForFrame (_In_opt_ IWebView *, _In_opt_ IWebFrame *)
 
virtual HRESULT STDMETHODCALLTYPE didFirstVisuallyNonEmptyLayoutInFrame (_In_opt_ IWebView *sender, _In_opt_ IWebFrame *)
 
void loadURL (_bstr_t &)
 
- Public Member Functions inherited from IWebFrameLoadDelegate
HRESULT didStartProvisionalLoadForFrame ([in] IWebView *webView, [in] IWebFrame *frame)
 
HRESULT didReceiveServerRedirectForProvisionalLoadForFrame ([in] IWebView *webView, [in] IWebFrame *frame)
 
HRESULT didFailProvisionalLoadWithError ([in] IWebView *webView, [in] IWebError *error, [in] IWebFrame *frame)
 
HRESULT didCommitLoadForFrame ([in] IWebView *webView, [in] IWebFrame *frame)
 
HRESULT didReceiveTitle ([in] IWebView *webView, [in] BSTR title, [in] IWebFrame *frame)
 
HRESULT didReceiveIcon ([in] IWebView *webView, [in] HBITMAP hBitmap, [in] IWebFrame *frame)
 
HRESULT didFinishLoadForFrame ([in] IWebView *webView, [in] IWebFrame *frame)
 
HRESULT didFailLoadWithError ([in] IWebView *webView, [in] IWebError *error, [in] IWebFrame *forFrame)
 
HRESULT didChangeLocationWithinPageForFrame ([in] IWebView *webView, [in] IWebFrame *frame)
 
HRESULT willPerformClientRedirectToURL ([in] IWebView *webView, [in] BSTR url, [in] double delaySeconds, [in] DATE fireDate, [in] IWebFrame *frame)
 
HRESULT didCancelClientRedirectForFrame ([in] IWebView *webView, [in] IWebFrame *frame)
 
HRESULT willCloseFrame ([in] IWebView *webView, [in] IWebFrame *frame)
 
- Public Member Functions inherited from IWebFrameLoadDelegatePrivate
HRESULT didFinishDocumentLoadForFrame ([in] IWebView *sender, [in] IWebFrame *frame)
 
HRESULT didFirstLayoutInFrame ([in] IWebView *sender, [in] IWebFrame *frame)
 
HRESULT didHandleOnloadEventsForFrame ([in] IWebView *sender, [in] IWebFrame *frame)
 
HRESULT didFirstVisuallyNonEmptyLayoutInFrame ([in] IWebView *sender, [in] IWebFrame *frame)
 

Protected Member Functions

HRESULT updateAddressBar (IWebView &)
 

Constructor & Destructor Documentation

◆ MiniBrowserWebHost()

MiniBrowserWebHost::MiniBrowserWebHost ( MiniBrowser client,
HWND  urlBar 
)
inline

Member Function Documentation

◆ AddRef()

ULONG MiniBrowserWebHost::AddRef ( void  )
virtual

◆ didCancelClientRedirectForFrame()

virtual HRESULT STDMETHODCALLTYPE MiniBrowserWebHost::didCancelClientRedirectForFrame ( _In_opt_ IWebView ,
_In_opt_ IWebFrame  
)
inlinevirtual

◆ didChangeIcons()

virtual HRESULT STDMETHODCALLTYPE MiniBrowserWebHost::didChangeIcons ( _In_opt_ IWebView ,
_In_opt_ IWebFrame  
)
inlinevirtual

◆ didChangeLocationWithinPageForFrame()

virtual HRESULT STDMETHODCALLTYPE MiniBrowserWebHost::didChangeLocationWithinPageForFrame ( _In_opt_ IWebView ,
_In_opt_ IWebFrame  
)
inlinevirtual

◆ didClearWindowObject()

virtual HRESULT STDMETHODCALLTYPE MiniBrowserWebHost::didClearWindowObject ( IWebView ,
JSContextRef  ,
JSObjectRef  ,
IWebFrame  
)
inlinevirtual

Implements IWebFrameLoadDelegate.

◆ didCommitLoadForFrame()

virtual HRESULT STDMETHODCALLTYPE MiniBrowserWebHost::didCommitLoadForFrame ( _In_opt_ IWebView webView,
_In_opt_ IWebFrame  
)
inlinevirtual

◆ didFailLoadWithError()

HRESULT MiniBrowserWebHost::didFailLoadWithError ( _In_opt_ IWebView ,
_In_opt_ IWebError ,
_In_opt_ IWebFrame  
)
virtual

◆ didFailProvisionalLoadWithError()

HRESULT MiniBrowserWebHost::didFailProvisionalLoadWithError ( _In_opt_ IWebView ,
_In_opt_ IWebError error,
_In_opt_ IWebFrame  
)
virtual

◆ didFinishDocumentLoadForFrame()

virtual HRESULT STDMETHODCALLTYPE MiniBrowserWebHost::didFinishDocumentLoadForFrame ( _In_opt_ IWebView sender,
_In_opt_ IWebFrame  
)
inlinevirtual

◆ didFinishLoadForFrame()

HRESULT MiniBrowserWebHost::didFinishLoadForFrame ( _In_opt_ IWebView webView,
_In_opt_ IWebFrame frame 
)
virtual

◆ didFirstLayoutInFrame()

HRESULT MiniBrowserWebHost::didFirstLayoutInFrame ( _In_opt_ IWebView sender,
_In_opt_ IWebFrame frame 
)
virtual

◆ didFirstVisuallyNonEmptyLayoutInFrame()

virtual HRESULT STDMETHODCALLTYPE MiniBrowserWebHost::didFirstVisuallyNonEmptyLayoutInFrame ( _In_opt_ IWebView sender,
_In_opt_ IWebFrame  
)
inlinevirtual

◆ didHandleOnloadEventsForFrame()

HRESULT MiniBrowserWebHost::didHandleOnloadEventsForFrame ( _In_opt_ IWebView sender,
_In_opt_ IWebFrame frame 
)
virtual

◆ didReceiveIcon()

virtual HRESULT STDMETHODCALLTYPE MiniBrowserWebHost::didReceiveIcon ( _In_opt_ IWebView ,
_In_  HBITMAP,
_In_opt_ IWebFrame  
)
inlinevirtual

◆ didReceiveServerRedirectForProvisionalLoadForFrame()

virtual HRESULT STDMETHODCALLTYPE MiniBrowserWebHost::didReceiveServerRedirectForProvisionalLoadForFrame ( _In_opt_ IWebView ,
_In_opt_ IWebFrame  
)
inlinevirtual

◆ didReceiveTitle()

virtual HRESULT STDMETHODCALLTYPE MiniBrowserWebHost::didReceiveTitle ( _In_opt_ IWebView ,
_In_ BSTR  title,
_In_opt_ IWebFrame  
)
inlinevirtual

◆ didStartProvisionalLoadForFrame()

HRESULT MiniBrowserWebHost::didStartProvisionalLoadForFrame ( _In_opt_ IWebView ,
_In_opt_ IWebFrame frame 
)
virtual

◆ loadURL()

void MiniBrowserWebHost::loadURL ( _bstr_t &  url)

◆ QueryInterface()

HRESULT MiniBrowserWebHost::QueryInterface ( _In_ REFIID  riid,
_COM_Outptr_ void **  ppvObject 
)
virtual

◆ Release()

ULONG MiniBrowserWebHost::Release ( void  )
virtual

◆ updateAddressBar()

HRESULT MiniBrowserWebHost::updateAddressBar ( IWebView webView)
protected

◆ willCloseFrame()

virtual HRESULT STDMETHODCALLTYPE MiniBrowserWebHost::willCloseFrame ( _In_opt_ IWebView ,
_In_opt_ IWebFrame  
)
inlinevirtual

◆ willPerformClientRedirectToURL()

virtual HRESULT STDMETHODCALLTYPE MiniBrowserWebHost::willPerformClientRedirectToURL ( _In_opt_ IWebView ,
_In_ BSTR  url,
double  delaySeconds,
DATE  fireDate,
_In_opt_ IWebFrame  
)
inlinevirtual

◆ windowScriptObjectAvailable()

virtual HRESULT STDMETHODCALLTYPE MiniBrowserWebHost::windowScriptObjectAvailable ( IWebView webView,
JSContextRef  context,
JSObjectRef  windowScriptObject 
)
inlinevirtual

webView:windowScriptObjectAvailable: Notifies the delegate that the scripting object for a page is available. This is called before the page is loaded. It may be useful to allow delegates to bind native objects to the window.

Parameters
webViewThe webView sending the message.
windowScriptObjectThe WebScriptObject for the window in the scripting environment.
  • (void)webView:(WebView *)webView windowScriptObjectAvailable:(WebScriptObject *)windowScriptObject;

Implements IWebFrameLoadDelegate.


The documentation for this class was generated from the following files: