Put WeakPtrFactory member last in USBEventRouter
[chromium-blink-merge.git] / ash / wm / workspace / workspace_event_handler_test_helper.h
blob3d0ec9500ce63af19213f97bd7d266ab5b5ac6fa
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
3 // found in the LICENSE file.
5 #ifndef ASH_WM_WORKSPACE_WORKSPACE_EVENT_HANDLER_TEST_HELPER_H_
6 #define ASH_WM_WORKSPACE_WORKSPACE_EVENT_HANDLER_TEST_HELPER_H_
8 #include "ash/wm/workspace/workspace_event_handler.h"
10 namespace ash {
12 class WorkspaceEventHandlerTestHelper {
13 public:
14 explicit WorkspaceEventHandlerTestHelper(WorkspaceEventHandler* handler);
15 ~WorkspaceEventHandlerTestHelper();
17 MultiWindowResizeController* resize_controller() {
18 return &(handler_->multi_window_resize_controller_);
21 private:
22 WorkspaceEventHandler* handler_;
24 DISALLOW_COPY_AND_ASSIGN(WorkspaceEventHandlerTestHelper);
27 } // namespace ash
29 #endif // ASH_WM_WORKSPACE_WORKSPACE_EVENT_HANDLER_TEST_HELPER_H_