gecko-dev/xpfe/appshell
Doug Thayer 30478629cf Bug 1666874 - Support maximized windows for skeleton UI r=agashlin
Most of this patch is a dance to avoid size flickering of the skeleton UI
window. We change all Resize/Move/SetSizeMode calls from before the first
nsWindow::Show call. Normally those have no effect, since the window isn't
shown yet, and if the window is not maximized, they typically match the
sizes we've gotten out of the registry anyway. However, if we are maximized,
then they produce a lot of visual noise. We can however achieve the desired
effect by just calling SetWindowPlacement.

Similarly, we switch the window styles of the skeleton UI window to match those
of the toplevel Windows window, and adjust the client rect from our window proc
in a way that matches the adjustments in nsWindow in the WM_NCCALCSIZE handler.
We do this because otherwise we get a flicker as soon as we change the styles
and nonclient margins as the fake chrome pops up and then back down.

Lastly we also change the extended window styles so that they match. We
historically added WS_EX_TOOLWINDOW here to hide the toolbar entry, because it
would otherwise switch out to a new toolbar entry when we changed the window
styles. However since our new styles match, we no longer need to do this. It
was also causing the maximized window to paint over the Windows taskbar.

Differential Revision: https://phabricator.services.mozilla.com/D93534
2020-10-29 19:04:02 +00:00
..
test Bug 1644863 - fix trailing whitespace in cross-tree tests, r=emilio,marionette-reviewers,whimboo 2020-06-17 22:45:31 +00:00
AppWindow.cpp Bug 1666874 - Support maximized windows for skeleton UI r=agashlin 2020-10-29 19:04:02 +00:00
AppWindow.h Bug 1656526 - Show blank window prior to loading xul on Windows r=mhowell 2020-09-15 14:50:19 +00:00
LiveResizeListener.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in xpfe. r=mstange 2020-03-10 08:47:24 +00:00
components.conf Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi 2020-07-09 21:42:25 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
nsAppShellCID.h
nsAppShellService.cpp Bug 1650257: Part 1 - Stop discarding BCs from the parent on WindowGlobal destruction. r=nika 2020-08-31 18:51:45 +00:00
nsAppShellService.h Bug 1616353 - Part 7.2: Create and use nsOpenWindowInfo types in nsWindowWatcher logic, r=kmag 2020-04-07 21:39:32 +00:00
nsAppShellWindowEnumerator.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsAppShellWindowEnumerator.h
nsChromeTreeOwner.cpp Bug 1653214 - Part 2: Remove nsIBaseWindow::Create; r=nika 2020-07-16 20:42:20 +00:00
nsChromeTreeOwner.h
nsContentTreeOwner.cpp Bug 1636728 - Centralize printing entry points in nsGlobalWindowOuter, and move cloning out of nsPrintJob. r=jwatt,geckoview-reviewers,smaug,agi 2020-08-25 17:45:12 +00:00
nsContentTreeOwner.h
nsIAppShellService.idl Bug 1580811 - Make the ContentPage browser work with out-of-process frames, r=nika,zombie 2020-07-10 13:40:51 +00:00
nsIAppWindow.idl Bug 1616353 - Part 7.2: Create and use nsOpenWindowInfo types in nsWindowWatcher logic, r=kmag 2020-04-07 21:39:32 +00:00
nsIWindowMediator.idl Bug 1608894 - use getMostRecentWindow to find mainwindow, and hook that up for Thunderbird too. r=smaug 2020-05-22 19:34:01 +00:00
nsIWindowMediatorListener.idl
nsIWindowlessBrowser.idl Bug 1624550 - P4: Cleanup APIs for setting BrowsingContext::UseGlobalHistory. r=farre 2020-05-08 03:28:44 +00:00
nsIXULBrowserWindow.idl Bug 1640019 - Part 7: Remove the unused 'navigateAndRestoreByIndex' method, r=Gijs 2020-06-15 23:24:02 +00:00
nsWindowMediator.cpp Bug 1645339 - Use range-based for with nsTObserverArray in xpfe. r=smaug 2020-06-16 10:16:46 +00:00
nsWindowMediator.h Bug 1628715 - Part 7: Add MOZ_NONNULL_RETURN to infallible nsTArray::AppendElements. r=xpcom-reviewers,necko-reviewers,nika,valentin 2020-04-24 13:31:14 +00:00