Use require('ipc').send to communicate between browser and renderer.
This commit is contained in:
parent
c22d927b6f
commit
16244e42e0
19 changed files with 329 additions and 67 deletions
|
@ -120,7 +120,8 @@ class NativeWindow : public content::WebContentsDelegate,
|
|||
const content::NotificationDetails& details) OVERRIDE;
|
||||
|
||||
private:
|
||||
void OnRendererMessage(const base::ListValue& args);
|
||||
void OnRendererMessage(const std::string& channel,
|
||||
const base::ListValue& args);
|
||||
|
||||
// Notification manager.
|
||||
content::NotificationRegistrar registrar_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue