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

Unified Diff: views/aura_desktop/aura_desktop_main.cc

Issue 8082017: Change Window visibility to a simple boolean for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 months 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 | « ui/aura_shell/examples/window_type_launcher.cc ('k') | views/widget/native_widget_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/aura_desktop/aura_desktop_main.cc
===================================================================
--- views/aura_desktop/aura_desktop_main.cc (revision 103502)
+++ views/aura_desktop/aura_desktop_main.cc (working copy)
@@ -147,7 +147,7 @@
window1->set_id(1);
window1->Init();
window1->SetBounds(gfx::Rect(100, 100, 400, 400));
- window1->SetVisibility(aura::Window::VISIBILITY_SHOWN);
+ window1->Show();
window1->SetParent(NULL);
DemoWindowDelegate window_delegate2(SK_ColorRED);
@@ -155,7 +155,7 @@
window2->set_id(2);
window2->Init();
window2->SetBounds(gfx::Rect(200, 200, 350, 350));
- window2->SetVisibility(aura::Window::VISIBILITY_SHOWN);
+ window2->Show();
window2->SetParent(NULL);
DemoWindowDelegate window_delegate3(SK_ColorGREEN);
@@ -163,7 +163,7 @@
window3->set_id(3);
window3->Init();
window3->SetBounds(gfx::Rect(10, 10, 50, 50));
- window3->SetVisibility(aura::Window::VISIBILITY_SHOWN);
+ window3->Show();
window3->SetParent(window2);
views::Widget* widget = new views::Widget;
« no previous file with comments | « ui/aura_shell/examples/window_type_launcher.cc ('k') | views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698