Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: ash/test/cursor_manager_test_api.h

Issue 2949353003: Implement large cursors in Mushrome. (Closed)
Patch Set: rename everything to CursorSize Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/shell_port.h ('k') | ash/test/cursor_manager_test_api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_TEST_CURSOR_MANAGER_TEST_API_H_ 5 #ifndef ASH_TEST_CURSOR_MANAGER_TEST_API_H_
6 #define ASH_TEST_CURSOR_MANAGER_TEST_API_H_ 6 #define ASH_TEST_CURSOR_MANAGER_TEST_API_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/base/cursor/cursor.h" 9 #include "ui/base/cursor/cursor.h"
10 #include "ui/display/display.h" 10 #include "ui/display/display.h"
11 #include "ui/gfx/native_widget_types.h" 11 #include "ui/gfx/native_widget_types.h"
12 12
13 namespace wm { 13 namespace wm {
14 class CursorManager; 14 class CursorManager;
15 } 15 }
16 16
17 namespace ash { 17 namespace ash {
18 namespace test { 18 namespace test {
19 19
20 // Use the api in this class to test CursorManager. 20 // Use the api in this class to test CursorManager.
21 class CursorManagerTestApi { 21 class CursorManagerTestApi {
22 public: 22 public:
23 explicit CursorManagerTestApi(::wm::CursorManager* cursor_manager); 23 explicit CursorManagerTestApi(::wm::CursorManager* cursor_manager);
24 ~CursorManagerTestApi(); 24 ~CursorManagerTestApi();
25 25
26 ui::CursorSetType GetCurrentCursorSet() const; 26 ui::CursorSize GetCurrentCursorSize() const;
27 gfx::NativeCursor GetCurrentCursor() const; 27 gfx::NativeCursor GetCurrentCursor() const;
28 display::Display::Rotation GetCurrentCursorRotation() const; 28 display::Display::Rotation GetCurrentCursorRotation() const;
29 float GetCurrentCursorScale() const; 29 float GetCurrentCursorScale() const;
30 30
31 private: 31 private:
32 ::wm::CursorManager* cursor_manager_; 32 ::wm::CursorManager* cursor_manager_;
33 33
34 DISALLOW_COPY_AND_ASSIGN(CursorManagerTestApi); 34 DISALLOW_COPY_AND_ASSIGN(CursorManagerTestApi);
35 }; 35 };
36 36
37 } // namespace test 37 } // namespace test
38 } // namespace ash 38 } // namespace ash
39 39
40 #endif // ASH_TEST_CURSOR_MANAGER_TEST_API_H_ 40 #endif // ASH_TEST_CURSOR_MANAGER_TEST_API_H_
OLDNEW
« no previous file with comments | « ash/shell_port.h ('k') | ash/test/cursor_manager_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698