mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Initial changes to allow use of CefLoadHandler in the render process (issue #1077).
- Move OnLoadingStateChange from CefDisplayHandler to CefLoadHandler. - Move OnRenderProcessTerminated and OnPluginCrashed from CefLoadHandler to CefRequestHandler. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1441 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -17,27 +17,6 @@
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
void CefDisplayHandlerCToCpp::OnLoadingStateChange(
|
||||
CefRefPtr<CefBrowser> browser, bool isLoading, bool canGoBack,
|
||||
bool canGoForward) {
|
||||
if (CEF_MEMBER_MISSING(struct_, on_loading_state_change))
|
||||
return;
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Verify param: browser; type: refptr_diff
|
||||
DCHECK(browser.get());
|
||||
if (!browser.get())
|
||||
return;
|
||||
|
||||
// Execute
|
||||
struct_->on_loading_state_change(struct_,
|
||||
CefBrowserCppToC::Wrap(browser),
|
||||
isLoading,
|
||||
canGoBack,
|
||||
canGoForward);
|
||||
}
|
||||
|
||||
void CefDisplayHandlerCToCpp::OnAddressChange(CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame, const CefString& url) {
|
||||
if (CEF_MEMBER_MISSING(struct_, on_address_change))
|
||||
|
Reference in New Issue
Block a user