This commit is contained in:
Nathan Sobo 2012-08-28 16:05:00 -05:00
parent ce147837e3
commit 76b10aa85b
2 changed files with 4 additions and 4 deletions

View File

@ -25,14 +25,14 @@ bool AtomCefClient::OnProcessMessageReceived(CefRefPtr<CefBrowser> 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;
}

View File

@ -89,11 +89,11 @@ class AtomCefClient : public CefClient,
CefEventHandle os_event) OVERRIDE;
// CefLifeSpanHandler methods
virtual void OnAfterCreated(CefRefPtr<CefBrowser> browser) OVERRIDE;
virtual void OnBeforeClose(CefRefPtr<CefBrowser> browser) OVERRIDE;
// CefLoadHandler methods
virtual void OnAfterCreated(CefRefPtr<CefBrowser> browser) OVERRIDE;
virtual void OnLoadError(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame,
ErrorCode errorCode,