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

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: feedback 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
« no previous file with comments | « examples/wm_flow/wm/frame_controller.cc ('k') | mojo/services/public/cpp/view_manager/lib/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f9d35cd0c2e372c7f36f7b956695cc851f54e761 100644
--- a/examples/wm_flow/wm/wm.cc
+++ b/examples/wm_flow/wm/wm.cc
@@ -63,6 +63,7 @@ class SimpleWM : public mojo::ApplicationDelegate,
window_container_ = mojo::View::Create(view_manager_);
window_container_->SetBounds(root_->bounds());
root_->AddChild(window_container_);
+ window_container_->SetVisible(true);
window_manager_app_->InitFocus(scoped_ptr<mojo::FocusRules>(
new mojo::BasicFocusRules(window_container_)));
« no previous file with comments | « examples/wm_flow/wm/frame_controller.cc ('k') | mojo/services/public/cpp/view_manager/lib/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698