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

Unified Diff: examples/wm_flow/wm/wm.cc

Issue 745743002: Makes views be initially hidden (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: moar Created 6 years, 1 month 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: examples/wm_flow/wm/wm.cc
diff --git a/examples/wm_flow/wm/wm.cc b/examples/wm_flow/wm/wm.cc
index b530666a957309be40e6b406e72da0c590659445..42481e0485b122a09453e29f55243d80281b195b 100644
--- a/examples/wm_flow/wm/wm.cc
+++ b/examples/wm_flow/wm/wm.cc
@@ -62,6 +62,7 @@ class SimpleWM : public mojo::ApplicationDelegate,
window_container_ = mojo::View::Create(view_manager_);
window_container_->SetBounds(root_->bounds());
+ window_container_->SetVisible(true);
root_->AddChild(window_container_);
window_manager_app_->InitFocus(scoped_ptr<mojo::FocusRules>(

Powered by Google App Engine
This is Rietveld 408576698