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

Unified Diff: examples/media_viewer/media_viewer.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 | « no previous file | examples/nesting_app/nesting_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/media_viewer/media_viewer.cc
diff --git a/examples/media_viewer/media_viewer.cc b/examples/media_viewer/media_viewer.cc
index 2a3fc0278d549d7f855abb0d03a735407069f681..60d3fc6f57874c2a77203a240b1129cadc4368a2 100644
--- a/examples/media_viewer/media_viewer.cc
+++ b/examples/media_viewer/media_viewer.cc
@@ -252,9 +252,11 @@ class MediaViewer
view_manager_ = view_manager;
control_view_ = View::Create(view_manager_);
+ control_view_->SetVisible(true);
root_view_->AddChild(control_view_);
content_view_ = View::Create(view_manager_);
+ content_view_->SetVisible(true);
root_view_->AddChild(content_view_);
control_panel_.Initialize(control_view_, shell_);
« no previous file with comments | « no previous file | examples/nesting_app/nesting_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698