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

Side by Side Diff: ash/wm/workspace_controller_unittest.cc

Issue 9035001: Move some more WM functionality down into ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/wm/workspace_controller.cc ('k') | ui/aura_shell/aura_shell.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ash/wm/workspace_controller.cc ('k') | ui/aura_shell/aura_shell.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698