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

Unified Diff: ui/aura/test/test_desktop_delegate.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/test/test_desktop_delegate.cc
diff --git a/ui/aura/test/test_desktop_delegate.cc b/ui/aura/test/test_desktop_delegate.cc
index 251d2414bcb9d7b118d699f1bd02c45efe4e8f71..421b8ec310d2e4b2d442bd958feb8f5535911637 100644
--- a/ui/aura/test/test_desktop_delegate.cc
+++ b/ui/aura/test/test_desktop_delegate.cc
@@ -12,7 +12,8 @@ namespace test {
TestDesktopDelegate::TestDesktopDelegate()
: default_container_(new ToplevelWindowContainer) {
Desktop::GetInstance()->SetDelegate(this);
- default_container_->Init(ui::Layer::LAYER_HAS_NO_TEXTURE);
+ default_container_->Init(ui::Layer::LAYER_HAS_NO_TEXTURE,
+ Window::LAYER_INITIALLY_INVISIBLE);
default_container_->SetBounds(
gfx::Rect(gfx::Point(), Desktop::GetInstance()->GetHostSize()));
Desktop::GetInstance()->AddChild(default_container_.get());

Powered by Google App Engine
This is Rietveld 408576698