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

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

Issue 11412315: Make the cursor have separate mode for disabled mouse events and invisible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win_aura Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « ash/test/ash_test_base.cc ('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/basictypes.h" 8 #include "base/basictypes.h"
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 10
11 namespace ash { 11 namespace ash {
12 12
13 class CursorManager; 13 class CursorManager;
14 14
15 namespace test { 15 namespace test {
16 16
17 // Use the api in this class to test CursorManager. 17 // Use the api in this class to test CursorManager.
18 class CursorManagerTestApi { 18 class CursorManagerTestApi {
19 public: 19 public:
20 explicit CursorManagerTestApi(CursorManager* cursor_manager); 20 explicit CursorManagerTestApi(CursorManager* cursor_manager);
21 ~CursorManagerTestApi(); 21 ~CursorManagerTestApi();
22 22
23 gfx::NativeCursor GetCurrentCursor(); 23 gfx::NativeCursor GetCurrentCursor() const;
24 float GetDeviceScaleFactor(); 24 float GetDeviceScaleFactor() const;
25 25
26 private: 26 private:
27 CursorManager* cursor_manager_; 27 CursorManager* cursor_manager_;
28 28
29 DISALLOW_COPY_AND_ASSIGN(CursorManagerTestApi); 29 DISALLOW_COPY_AND_ASSIGN(CursorManagerTestApi);
30 }; 30 };
31 31
32 } // namespace test 32 } // namespace test
33 } // namespace ash 33 } // namespace ash
34 34
35 #endif // ASH_TEST_CURSOR_MANAGER_TEST_API_H_ 35 #endif // ASH_TEST_CURSOR_MANAGER_TEST_API_H_
OLDNEW
« no previous file with comments | « ash/test/ash_test_base.cc ('k') | ash/test/cursor_manager_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698