feat: add support for webContents option in BrowserView (#26802)
* feat: add support for webContents option in BrowserView * tests: add tests
This commit is contained in:
parent
6932e17088
commit
1e2a2004e9
5 changed files with 54 additions and 21 deletions
|
@ -134,6 +134,10 @@ class WebContents : public gin::Wrappable<WebContents>,
|
|||
v8::Isolate* isolate,
|
||||
content::WebContents* web_contents);
|
||||
|
||||
static gin::Handle<WebContents> CreateFromWebPreferences(
|
||||
v8::Isolate* isolate,
|
||||
const gin_helper::Dictionary& web_preferences);
|
||||
|
||||
// gin::Wrappable
|
||||
static gin::WrapperInfo kWrapperInfo;
|
||||
static v8::Local<v8::ObjectTemplate> FillObjectTemplate(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue