Renderer can now use process.send to send messages to browser.
This commit is contained in:
parent
a7c3bdbf5d
commit
66a0abe799
17 changed files with 167 additions and 54 deletions
|
@ -19,6 +19,7 @@
|
|||
|
||||
namespace base {
|
||||
class DictionaryValue;
|
||||
class ListValue;
|
||||
}
|
||||
|
||||
namespace brightray {
|
||||
|
@ -119,6 +120,8 @@ class NativeWindow : public content::WebContentsDelegate,
|
|||
const content::NotificationDetails& details) OVERRIDE;
|
||||
|
||||
private:
|
||||
void OnRendererMessage(const base::ListValue& args);
|
||||
|
||||
// Notification manager.
|
||||
content::NotificationRegistrar registrar_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue