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

Side by Side Diff: ash/wm/workspace/workspace_event_handler_test_helper.h

Issue 10916221: Make ToplevelWindowEventFilter and WorkspaceEventFilter into event handlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
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 #ifndef ASH_WM_WORKSPACE_WORKSPACE_EVENT_FILTER_TEST_HELPER_H_ 5 #ifndef ASH_WM_WORKSPACE_WORKSPACE_EVENT_HANDLER_TEST_HELPER_H_
6 #define ASH_WM_WORKSPACE_WORKSPACE_EVENT_FILTER_TEST_HELPER_H_ 6 #define ASH_WM_WORKSPACE_WORKSPACE_EVENT_HANDLER_TEST_HELPER_H_
7 7
8 #include "ash/wm/workspace/workspace_event_filter.h" 8 #include "ash/wm/workspace/workspace_event_handler.h"
9 9
10 namespace ash { 10 namespace ash {
11 namespace internal { 11 namespace internal {
12 12
13 class WorkspaceEventFilterTestHelper { 13 class WorkspaceEventHandlerTestHelper {
14 public: 14 public:
15 explicit WorkspaceEventFilterTestHelper(WorkspaceEventFilter* filter); 15 explicit WorkspaceEventHandlerTestHelper(WorkspaceEventHandler* handler);
16 ~WorkspaceEventFilterTestHelper(); 16 ~WorkspaceEventHandlerTestHelper();
17 17
18 MultiWindowResizeController* resize_controller() { 18 MultiWindowResizeController* resize_controller() {
19 return &(filter_->multi_window_resize_controller_); 19 return &(handler_->multi_window_resize_controller_);
20 } 20 }
21 21
22 private: 22 private:
23 WorkspaceEventFilter* filter_; 23 WorkspaceEventHandler* handler_;
24 24
25 DISALLOW_COPY_AND_ASSIGN(WorkspaceEventFilterTestHelper); 25 DISALLOW_COPY_AND_ASSIGN(WorkspaceEventHandlerTestHelper);
26 }; 26 };
27 27
28 } // namespace internal 28 } // namespace internal
29 } // namespace ash 29 } // namespace ash
30 30
31 #endif // ASH_WM_WORKSPACE_WORKSPACE_EVENT_FILTER_TEST_HELPER_H_ 31 #endif // ASH_WM_WORKSPACE_WORKSPACE_EVENT_HANDLER_TEST_HELPER_H_
OLDNEW
« no previous file with comments | « ash/wm/workspace/workspace_event_handler.cc ('k') | ash/wm/workspace/workspace_event_handler_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698