Simplify the implementation of sendToAll
This commit is contained in:
parent
de001a9bbf
commit
5f3fdbe635
3 changed files with 9 additions and 20 deletions
|
@ -122,10 +122,9 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
void TabTraverse(bool reverse);
|
||||
|
||||
// Send messages to browser.
|
||||
bool SendIPCMessage(const base::string16& channel,
|
||||
bool SendIPCMessage(bool all_frames,
|
||||
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