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

Unified Diff: examples/wm_flow/wm/frame_controller.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/frame_controller.cc
diff --git a/examples/wm_flow/wm/frame_controller.cc b/examples/wm_flow/wm/frame_controller.cc
index ee2208a91d748399b14e03e4a46c7c9ca3e1007e..bd7c3b10946c17666d63c239b4a7d6f1d8f1e406 100644
--- a/examples/wm_flow/wm/frame_controller.cc
+++ b/examples/wm_flow/wm/frame_controller.cc
@@ -108,6 +108,7 @@ FrameController::FrameController(
maximized_(false),
window_manager_app_(window_manager_app) {
view_->AddChild(app_view_);
+ app_view_->SetVisible(true);
view_->AddObserver(this);
*app_view = app_view_;
frame_view_->set_background(

Powered by Google App Engine
This is Rietveld 408576698