Make app list recommendations ignore KnownResults.
[chromium-blink-merge.git] / ash / test / mirror_window_test_api.h
blob9c62d2a58b86dfe0871a7d67d181af0e3f4b7dfe
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 Window;
13 class WindowTreeHost;
16 namespace gfx {
17 class Point;
20 namespace ash {
21 class RootWindowTransformer;
23 namespace test {
25 class MirrorWindowTestApi {
26 public:
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;
45 private:
46 DISALLOW_COPY_AND_ASSIGN(MirrorWindowTestApi);
49 } // namespace test
50 } // namespace ash
52 #endif // ASH_TEST_MIRROR_WINDOW_TEST_API_H_