compositing: In borderless mode, don't show the window until the page

has loaded.

This avoids a flash of unstyled content, which looks especially bad in
browser.html since unstyled content is white and browser.html has a
transparent background.

Closes #9996.
This commit is contained in:
Patrick Walton 2016-03-15 22:06:03 -07:00
parent 1a60e07ee8
commit c2581d5cef
7 changed files with 23 additions and 13 deletions

View file

@ -195,8 +195,8 @@ pub enum Msg {
SetFrameTree(SendableFrameTree, IpcSender<()>, Sender<ConstellationMsg>),
/// The load of a page has begun: (can go back, can go forward).
LoadStart(bool, bool),
/// The load of a page has completed: (can go back, can go forward).
LoadComplete(bool, bool),
/// The load of a page has completed: (can go back, can go forward, is root frame).
LoadComplete(bool, bool, bool),
/// We hit the delayed composition timeout. (See `delayed_composition.rs`.)
DelayedCompositionTimeout(u64),
/// Composite.