diff --git a/native/atom_cef_client.cpp b/native/atom_cef_client.cpp index 6018997a7..a30bf1ff9 100644 --- a/native/atom_cef_client.cpp +++ b/native/atom_cef_client.cpp @@ -25,14 +25,14 @@ bool AtomCefClient::OnProcessMessageReceived(CefRefPtr browser, if (name == "open") { if (message->GetArgumentList()->GetSize() == 1) { - Open(message->GetArgumentList()->GetString(0)); + Open(message->GetArgumentList()->GetString(0)); } else { Open(); } return true; } - + return false; } diff --git a/native/atom_cef_client.h b/native/atom_cef_client.h index d8efb338a..5256d51f8 100644 --- a/native/atom_cef_client.h +++ b/native/atom_cef_client.h @@ -89,11 +89,11 @@ class AtomCefClient : public CefClient, CefEventHandle os_event) OVERRIDE; // CefLifeSpanHandler methods + virtual void OnAfterCreated(CefRefPtr browser) OVERRIDE; virtual void OnBeforeClose(CefRefPtr browser) OVERRIDE; + // CefLoadHandler methods - virtual void OnAfterCreated(CefRefPtr browser) OVERRIDE; - virtual void OnLoadError(CefRefPtr browser, CefRefPtr frame, ErrorCode errorCode,