mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user