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

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

Issue 10857021: Prepare a bunch of ash tests for workspace2. With Workspace2 you can't (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/wm/workspace_controller_test_helper.h ('k') | ui/aura/client/stacking_client.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ash/wm/workspace_controller_test_helper.h" 5 #include "ash/wm/workspace_controller_test_helper.h"
6 6
7 #include "ash/wm/workspace_controller.h" 7 #include "ash/wm/workspace_controller.h"
8 #include "ash/wm/workspace/workspace_event_filter_test_helper.h" 8 #include "ash/wm/workspace/workspace_event_filter_test_helper.h"
9 #include "ui/aura/window.h"
9 10
10 namespace ash { 11 namespace ash {
11 namespace internal { 12 namespace internal {
12 13
13 WorkspaceControllerTestHelper::WorkspaceControllerTestHelper( 14 WorkspaceControllerTestHelper::WorkspaceControllerTestHelper(
14 WorkspaceController* controller) 15 WorkspaceController* controller)
15 : controller_(controller) { 16 : controller_(controller) {
16 } 17 }
17 18
18 WorkspaceControllerTestHelper::~WorkspaceControllerTestHelper() { 19 WorkspaceControllerTestHelper::~WorkspaceControllerTestHelper() {
19 } 20 }
20 21
22 WorkspaceEventFilter* WorkspaceControllerTestHelper::GetFilter() {
23 return controller_->event_filter_;
24 }
25
21 MultiWindowResizeController* 26 MultiWindowResizeController*
22 WorkspaceControllerTestHelper::GetMultiWindowResizeController() { 27 WorkspaceControllerTestHelper::GetMultiWindowResizeController() {
23 return WorkspaceEventFilterTestHelper(filter()).resize_controller(); 28 return WorkspaceEventFilterTestHelper(GetFilter()).resize_controller();
24 } 29 }
25 30
26 } // namespace internal 31 } // namespace internal
27 } // namespace ash 32 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/workspace_controller_test_helper.h ('k') | ui/aura/client/stacking_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698