Add webContents.focus

This commit is contained in:
Cheng Zhao 2015-07-24 12:58:28 +08:00
parent 9ec60cd585
commit 9bb87af66b
2 changed files with 14 additions and 0 deletions

View file

@ -96,6 +96,10 @@ class WebContents : public mate::TrackableObject<WebContents>,
void Replace(const base::string16& word);
void ReplaceMisspelling(const base::string16& word);
// Focus.
void Focus();
void TabTraverse(bool reverse);
// Sending messages to browser.
bool SendIPCMessage(const base::string16& channel,
const base::ListValue& args);