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

Unified Diff: examples/nesting_app/nesting_app.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
« no previous file with comments | « examples/media_viewer/media_viewer.cc ('k') | examples/window_manager/window_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/nesting_app/nesting_app.cc
diff --git a/examples/nesting_app/nesting_app.cc b/examples/nesting_app/nesting_app.cc
index 72609176063eeab418093e36ff8b05da055c43b7..f3d9a626696d46d9de6f0d2036007f34bc2586d8 100644
--- a/examples/nesting_app/nesting_app.cc
+++ b/examples/nesting_app/nesting_app.cc
@@ -69,6 +69,7 @@ class NestingApp
bitmap_uploader_->SetColor(SK_ColorCYAN);
nested_ = View::Create(view_manager);
+ nested_->SetVisible(true);
Elliot Glaysher 2014/11/20 20:34:37 If you're going to add SetVisible() calls to let p
sky 2014/11/20 20:51:30 I'm actually doing this more for animations. But p
root->AddChild(nested_);
Rect rect;
rect.x = rect.y = 20;
« no previous file with comments | « examples/media_viewer/media_viewer.cc ('k') | examples/window_manager/window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698