Add ipc.sendSync in renderer.

This commit is contained in:
Cheng Zhao 2013-04-23 21:52:19 +08:00
parent 8f0b2b6363
commit 1b87a31940
10 changed files with 132 additions and 4 deletions

View file

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