Add ipc.sendSync in renderer.
This commit is contained in:
parent
8f0b2b6363
commit
1b87a31940
10 changed files with 132 additions and 4 deletions
|
@ -123,6 +123,10 @@ class NativeWindow : public content::WebContentsDelegate,
|
|||
void OnRendererMessage(const std::string& channel,
|
||||
const base::ListValue& args);
|
||||
|
||||
void OnRendererMessageSync(const std::string& channel,
|
||||
const base::ListValue& args,
|
||||
base::DictionaryValue* result);
|
||||
|
||||
// Notification manager.
|
||||
content::NotificationRegistrar registrar_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue