forked from mirrors/gecko-dev
Bug 1695822 - Track mHasRemoteContent for windows created using nsAppShellService. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D125776
This commit is contained in:
parent
576ad5a0c7
commit
2ae2965a5a
1 changed files with 3 additions and 0 deletions
|
|
@ -603,6 +603,9 @@ nsresult nsAppShellService::JustCreateTopWindow(
|
||||||
if (aChromeMask & nsIWebBrowserChrome::CHROME_FISSION_WINDOW)
|
if (aChromeMask & nsIWebBrowserChrome::CHROME_FISSION_WINDOW)
|
||||||
widgetInitData.mFissionWindow = true;
|
widgetInitData.mFissionWindow = true;
|
||||||
|
|
||||||
|
if (aChromeMask & nsIWebBrowserChrome::CHROME_REMOTE_WINDOW)
|
||||||
|
widgetInitData.mHasRemoteContent = true;
|
||||||
|
|
||||||
#ifdef MOZ_WIDGET_GTK
|
#ifdef MOZ_WIDGET_GTK
|
||||||
// Linux/Gtk PIP window support. It's Chrome Toplevel window, always on top
|
// Linux/Gtk PIP window support. It's Chrome Toplevel window, always on top
|
||||||
// and without any bar.
|
// and without any bar.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue