cc: Fix logic for detecting when raster tasks were throttled
[chromium-blink-merge.git] / ash / test / mirror_window_test_api.h
blobc6013c5a18ee8803ff5736587adda5694cc8ef5d
1 // Copyright (c) 2013 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_TEST_MIRROR_WINDOW_TEST_API_H_
6 #define ASH_TEST_MIRROR_WINDOW_TEST_API_H_
8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h"
11 namespace aura {
12 class RootWindow;
13 class RootWindowTransformer;
14 class Window;
17 namespace gfx {
18 class Point;
21 namespace ash {
22 namespace test {
24 class MirrorWindowTestApi {
25 public:
26 MirrorWindowTestApi() {}
27 ~MirrorWindowTestApi() {}
29 const aura::RootWindow* GetRootWindow() const;
31 int GetCurrentCursorType() const;
32 const gfx::Point& GetCursorHotPoint() const;
33 const aura::Window* GetCursorWindow() const;
35 scoped_ptr<aura::RootWindowTransformer>
36 CreateCurrentRootWindowTransformer() const;
38 private:
39 DISALLOW_COPY_AND_ASSIGN(MirrorWindowTestApi);
42 } // namespace test
43 } // namespace ash
45 #endif // ASH_TEST_MIRROR_WINDOW_TEST_API_H_