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"
21 class RootWindowTransformer
;
25 class MirrorWindowTestApi
{
27 MirrorWindowTestApi() {}
28 ~MirrorWindowTestApi() {}
30 const aura::WindowTreeHost
* GetHost() const;
32 int GetCurrentCursorType() const;
34 // Returns the position of the hot point within the cursor. This is
35 // unaffected by the cursor location.
36 const gfx::Point
& GetCursorHotPoint() const;
38 // Returns the position of the cursor hot point in root window coordinates.
39 // This should be the same as the native cursor location.
40 gfx::Point
GetCursorHotPointLocationInRootWindow() const;
42 const aura::Window
* GetCursorWindow() const;
43 gfx::Point
GetCursorLocation() const;
46 DISALLOW_COPY_AND_ASSIGN(MirrorWindowTestApi
);
52 #endif // ASH_TEST_MIRROR_WINDOW_TEST_API_H_