OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/aura_shell/workspace_controller.h" | 5 #include "ash/wm/workspace_controller.h" |
6 | 6 |
7 #include "ash/wm/activation_controller.h" | 7 #include "ash/wm/activation_controller.h" |
| 8 #include "ash/wm/window_util.h" |
| 9 #include "ash/wm/workspace/workspace.h" |
| 10 #include "ash/wm/workspace/workspace_manager.h" |
8 #include "ui/aura/test/aura_test_base.h" | 11 #include "ui/aura/test/aura_test_base.h" |
9 #include "ui/aura/root_window.h" | 12 #include "ui/aura/root_window.h" |
10 #include "ui/aura/window.h" | 13 #include "ui/aura/window.h" |
11 #include "ui/aura_shell/shell_window_ids.h" | 14 #include "ui/aura_shell/shell_window_ids.h" |
12 #include "ui/aura_shell/window_util.h" | |
13 #include "ui/aura_shell/workspace/workspace.h" | |
14 #include "ui/aura_shell/workspace/workspace_manager.h" | |
15 | 15 |
16 namespace aura_shell { | 16 namespace aura_shell { |
17 namespace internal { | 17 namespace internal { |
18 | 18 |
19 using aura::Window; | 19 using aura::Window; |
20 | 20 |
21 class WorkspaceControllerTest : public aura::test::AuraTestBase { | 21 class WorkspaceControllerTest : public aura::test::AuraTestBase { |
22 public: | 22 public: |
23 WorkspaceControllerTest() {} | 23 WorkspaceControllerTest() {} |
24 virtual ~WorkspaceControllerTest() {} | 24 virtual ~WorkspaceControllerTest() {} |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 // The size of contents_view() for no workspace case must be | 110 // The size of contents_view() for no workspace case must be |
111 // same as one contents_view() case. | 111 // same as one contents_view() case. |
112 EXPECT_EQ("0,0 500x300", contents_view()->bounds().ToString()); | 112 EXPECT_EQ("0,0 500x300", contents_view()->bounds().ToString()); |
113 | 113 |
114 // Reset now before windows are destroyed. | 114 // Reset now before windows are destroyed. |
115 controller_.reset(); | 115 controller_.reset(); |
116 } | 116 } |
117 | 117 |
118 } // namespace internal | 118 } // namespace internal |
119 } // namespace aura_shell | 119 } // namespace aura_shell |
OLD | NEW |