summaryrefslogtreecommitdiffstats
path: root/chromium/ash/wm/workspace/workspace_event_handler_test_helper.h
blob: 21e1adb981b029c15bc004acb0d2375df36cb946 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef ASH_WM_WORKSPACE_WORKSPACE_EVENT_HANDLER_TEST_HELPER_H_
#define ASH_WM_WORKSPACE_WORKSPACE_EVENT_HANDLER_TEST_HELPER_H_

#include "ash/wm/workspace/workspace_event_handler.h"

namespace ash {
namespace internal {

class WorkspaceEventHandlerTestHelper {
 public:
  explicit WorkspaceEventHandlerTestHelper(WorkspaceEventHandler* handler);
  ~WorkspaceEventHandlerTestHelper();

  MultiWindowResizeController* resize_controller() {
    return &(handler_->multi_window_resize_controller_);
  }

 private:
  WorkspaceEventHandler* handler_;

  DISALLOW_COPY_AND_ASSIGN(WorkspaceEventHandlerTestHelper);
};

}  // namespace internal
}  // namespace ash

#endif  // ASH_WM_WORKSPACE_WORKSPACE_EVENT_HANDLER_TEST_HELPER_H_