Move SendInputEvent to WebContents
This commit is contained in:
parent
9e7de78231
commit
42863e4700
6 changed files with 44 additions and 79 deletions
|
@ -114,10 +114,13 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
void Focus();
|
||||
void TabTraverse(bool reverse);
|
||||
|
||||
// Sending messages to browser.
|
||||
// Send messages to browser.
|
||||
bool SendIPCMessage(const base::string16& channel,
|
||||
const base::ListValue& args);
|
||||
|
||||
// Send WebInputEvent to the page.
|
||||
void SendInputEvent(v8::Isolate* isolate, v8::Local<v8::Value> input_event);
|
||||
|
||||
// Methods for creating <webview>.
|
||||
void SetSize(const SetSizeParams& params);
|
||||
void SetAllowTransparency(bool allow);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue