Add webContents.sendToAll to send message to all frames
This commit is contained in:
parent
c1facec5a6
commit
9ab76fb884
7 changed files with 58 additions and 18 deletions
|
@ -124,6 +124,8 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
// Send messages to browser.
|
||||
bool SendIPCMessage(const base::string16& channel,
|
||||
const base::ListValue& args);
|
||||
bool SendIPCMessageToAll(const base::string16& channel,
|
||||
const base::ListValue& args);
|
||||
|
||||
// Send WebInputEvent to the page.
|
||||
void SendInputEvent(v8::Isolate* isolate, v8::Local<v8::Value> input_event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue