Renderer can now use process.send to send messages to browser.

This commit is contained in:
Cheng Zhao 2013-04-22 21:32:48 +08:00
parent a7c3bdbf5d
commit 66a0abe799
17 changed files with 167 additions and 54 deletions

View file

@ -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_;