Add executeJavaScript method for webContents.
This commit is contained in:
parent
79babe858d
commit
00ed814962
2 changed files with 9 additions and 1 deletions
|
@ -31,6 +31,7 @@ class WebContents : public mate::EventEmitter {
|
|||
int GetRoutingID() const;
|
||||
int GetProcessID() const;
|
||||
bool IsCrashed() const;
|
||||
void ExecuteJavaScript(const string16& code);
|
||||
|
||||
protected:
|
||||
explicit WebContents(content::WebContents* web_contents);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue