mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 18:24:09 +03:00
💄
This commit is contained in:
parent
ce147837e3
commit
76b10aa85b
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user