Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Unified Diff: ui/aura/desktop.cc

Issue 8417008: aura: Add fullscreen/popups to RenderWidgetHostViewAura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use aura::WindowType Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/aura/desktop.cc
diff --git a/ui/aura/desktop.cc b/ui/aura/desktop.cc
index ae14d464c3adeee3ab67e00c7ca34f6d3703920c..a17494cd95ccf4546d1357e7ede17d9a3475e937 100644
--- a/ui/aura/desktop.cc
+++ b/ui/aura/desktop.cc
@@ -556,7 +556,8 @@ bool Desktop::IsFocusedWindow(const Window* window) const {
}
void Desktop::Init() {
- Window::Init(ui::Layer::LAYER_HAS_NO_TEXTURE);
+ Window::Init(ui::Layer::LAYER_HAS_NO_TEXTURE,
+ Window::LAYER_INITIALLY_INVISIBLE);
SetBounds(gfx::Rect(host_->GetSize()));
Show();
compositor()->SetRootLayer(layer());

Powered by Google App Engine
This is Rietveld 408576698