зеркало из https://github.com/mozilla/gecko-dev.git
fa7b10106a
See bug for justification. This patch aims to display a blank window prior to loading/prefetching xul.dll. It also has a placeholder for drawing a skeleton UI into that window. Note that this is disabled by default based on a registry value, as there are still kinks to work out (for instance, what happens if we aren't actually going to display a window, because, say, Firefox is already running.) This just gives a basic implementation to dogfood, and facilitates distributing work across multiple contributors. Onto the details. The patch achieves its goal by creating a window and assigning its handle to a static variable, which will be consumed inside nsWindow::Create by the first toplevel window we want to make. nsWindow::Create will take ownership of the window handle, restyle it to its own liking, and then proceed as if everything is normal and it had created the window itself. Differential Revision: https://phabricator.services.mozilla.com/D86263 |
||
---|---|---|
.. | ||
appshell |