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_TEST_CURSOR_MANAGER_TEST_API_H_
6 #define ASH_TEST_CURSOR_MANAGER_TEST_API_H_
8 #include "base/basictypes.h"
9 #include "ui/base/cursor/cursor.h"
10 #include "ui/gfx/native_widget_types.h"
25 // Use the api in this class to test CursorManager.
26 class CursorManagerTestApi {
28 explicit CursorManagerTestApi(views::corewm::CursorManager* cursor_manager);
29 ~CursorManagerTestApi();
31 float GetCurrentScale() const;
32 ui::CursorSetType GetCurrentCursorSet() const;
33 gfx::NativeCursor GetCurrentCursor() const;
34 gfx::Display GetDisplay() const;
37 views::corewm::CursorManager* cursor_manager_;
39 DISALLOW_COPY_AND_ASSIGN(CursorManagerTestApi);
45 #endif // ASH_TEST_CURSOR_MANAGER_TEST_API_H_