fix: webview should maximize on requestFullscreen (#29952)
This commit is contained in:
parent
95a9ff952c
commit
6eff9231b8
8 changed files with 127 additions and 4 deletions
|
|
@ -686,6 +686,8 @@ class WebContents : public gin::Wrappable<WebContents>,
|
|||
|
||||
// Set fullscreen mode triggered by html api.
|
||||
void SetHtmlApiFullscreen(bool enter_fullscreen);
|
||||
// Update the html fullscreen flag in both browser and renderer.
|
||||
void UpdateHtmlApiFullscreen(bool fullscreen);
|
||||
|
||||
v8::Global<v8::Value> session_;
|
||||
v8::Global<v8::Value> devtools_web_contents_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue