Only add extensions to non-remote webContents
This commit is contained in:
parent
c8c60dd313
commit
11e68ff932
3 changed files with 15 additions and 1 deletions
|
@ -59,6 +59,7 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
v8::Local<v8::ObjectTemplate> prototype);
|
||||
|
||||
int GetID() const;
|
||||
std::string GetType() const;
|
||||
bool Equal(const WebContents* web_contents) const;
|
||||
void LoadURL(const GURL& url, const mate::Dictionary& options);
|
||||
void DownloadURL(const GURL& url);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue