Add executeJavaScript method for webContents.

This commit is contained in:
Cheng Zhao 2014-04-25 10:34:40 +08:00
parent 79babe858d
commit 00ed814962
2 changed files with 9 additions and 1 deletions

View file

@ -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);