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

Unified Diff: ash/wm/solo_window_tracker_unittest.cc

Issue 115153002: wm: public window_types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ozone deps Created 7 years 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 | « ash/wm/solo_window_tracker.cc ('k') | ash/wm/stacking_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/solo_window_tracker_unittest.cc
diff --git a/ash/wm/solo_window_tracker_unittest.cc b/ash/wm/solo_window_tracker_unittest.cc
index 431ae009556a284fe5b54e2bc280f535353e529f..c3629b1893a9fc1d20912a3a8229deaa14f30da8 100644
--- a/ash/wm/solo_window_tracker_unittest.cc
+++ b/ash/wm/solo_window_tracker_unittest.cc
@@ -74,7 +74,7 @@ class SoloWindowTrackerTest : public test::AshTestBase {
// Helpers methods to create test windows in the primary root window.
aura::Window* CreateWindowInPrimary() {
aura::Window* window = new aura::Window(NULL);
- window->SetType(aura::client::WINDOW_TYPE_NORMAL);
+ window->SetType(ui::wm::WINDOW_TYPE_NORMAL);
window->Init(ui::LAYER_TEXTURED);
window->SetBounds(gfx::Rect(100, 100));
ParentWindowInPrimaryRootWindow(window);
@@ -82,7 +82,7 @@ class SoloWindowTrackerTest : public test::AshTestBase {
}
aura::Window* CreateAlwaysOnTopWindowInPrimary() {
aura::Window* window = new aura::Window(NULL);
- window->SetType(aura::client::WINDOW_TYPE_NORMAL);
+ window->SetType(ui::wm::WINDOW_TYPE_NORMAL);
window->Init(ui::LAYER_TEXTURED);
window->SetBounds(gfx::Rect(100, 100));
window->SetProperty(aura::client::kAlwaysOnTopKey, true);
@@ -91,7 +91,7 @@ class SoloWindowTrackerTest : public test::AshTestBase {
}
aura::Window* CreatePanelWindowInPrimary() {
aura::Window* window = new aura::Window(NULL);
- window->SetType(aura::client::WINDOW_TYPE_PANEL);
+ window->SetType(ui::wm::WINDOW_TYPE_PANEL);
window->Init(ui::LAYER_TEXTURED);
window->SetBounds(gfx::Rect(100, 100));
ParentWindowInPrimaryRootWindow(window);
@@ -296,7 +296,7 @@ TEST_F(SoloWindowTrackerTest, NotDrawn) {
// Create non-drawing window similar to DragDropTracker.
aura::Window* not_drawn = new aura::Window(NULL);
- not_drawn->SetType(aura::client::WINDOW_TYPE_NORMAL);
+ not_drawn->SetType(ui::wm::WINDOW_TYPE_NORMAL);
not_drawn->Init(ui::LAYER_NOT_DRAWN);
ParentWindowInPrimaryRootWindow(not_drawn);
not_drawn->Show();
@@ -395,7 +395,7 @@ TEST_F(SoloWindowTrackerTest, ChildWindowVisibility) {
// Create a child window. This should not affect the solo-ness of |w1|.
aura::Window* child = new aura::Window(NULL);
- child->SetType(aura::client::WINDOW_TYPE_CONTROL);
+ child->SetType(ui::wm::WINDOW_TYPE_CONTROL);
child->Init(ui::LAYER_TEXTURED);
child->SetBounds(gfx::Rect(100, 100));
w->AddChild(child);
« no previous file with comments | « ash/wm/solo_window_tracker.cc ('k') | ash/wm/stacking_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698