Add webContents.isFocused()

This commit is contained in:
Kevin Sawicki 2016-07-13 08:54:40 -07:00
parent 6d2e633c82
commit 7877fa7c0a
5 changed files with 43 additions and 0 deletions

View file

@ -67,6 +67,7 @@ class WebContents : public mate::TrackableObject<WebContents>,
int GetID() const;
Type GetType() const;
bool IsFocused() const;
bool Equal(const WebContents* web_contents) const;
void LoadURL(const GURL& url, const mate::Dictionary& options);
void DownloadURL(const GURL& url);