Inherit parent window's options in window.open
This commit is contained in:
parent
a6b7dd22e8
commit
de41890196
6 changed files with 34 additions and 3 deletions
|
@ -132,6 +132,9 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
void SetAllowTransparency(bool allow);
|
||||
bool IsGuest() const;
|
||||
|
||||
// Returns the web preferences of current WebContents.
|
||||
v8::Local<v8::Value> GetWebPreferences(v8::Isolate* isolate);
|
||||
|
||||
protected:
|
||||
explicit WebContents(content::WebContents* web_contents);
|
||||
WebContents(v8::Isolate* isolate, const mate::Dictionary& options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue