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

Unified Diff: ui/aura/window_unittest.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/window.cc ('k') | ui/aura_shell/desktop_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_unittest.cc
===================================================================
--- ui/aura/window_unittest.cc (revision 103502)
+++ ui/aura/window_unittest.cc (working copy)
@@ -206,7 +206,7 @@
window->set_id(id);
window->Init();
window->SetBounds(bounds);
- window->SetVisibility(Window::VISIBILITY_SHOWN);
+ window->Show();
window->SetParent(parent);
return window;
}
@@ -240,7 +240,7 @@
w1.set_id(1);
w1.Init();
w1.SetBounds(gfx::Rect(10, 10, 50, 50));
- w1.SetVisibility(Window::VISIBILITY_SHOWN);
+ w1.Show();
w1.SetParent(NULL);
// Points are in the Window's coordinates.
« no previous file with comments | « ui/aura/window.cc ('k') | ui/aura_shell/desktop_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698