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

Side by Side Diff: ui/wm/core/native_cursor_manager.h

Issue 2949353003: Implement large cursors in Mushrome. (Closed)
Patch Set: rename everything to CursorSize Created 3 years, 5 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 | « ui/wm/core/cursor_manager_unittest.cc ('k') | ui/wm/core/native_cursor_manager_delegate.h » ('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) 2013 The Chromium Authors. All rights reserved. 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 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 UI_WM_CORE_NATIVE_CURSOR_MANAGER_H_ 5 #ifndef UI_WM_CORE_NATIVE_CURSOR_MANAGER_H_
6 #define UI_WM_CORE_NATIVE_CURSOR_MANAGER_H_ 6 #define UI_WM_CORE_NATIVE_CURSOR_MANAGER_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "ui/base/cursor/cursor.h" 9 #include "ui/base/cursor/cursor.h"
10 #include "ui/wm/core/native_cursor_manager_delegate.h" 10 #include "ui/wm/core/native_cursor_manager_delegate.h"
(...skipping 25 matching lines...) Expand all
36 NativeCursorManagerDelegate* delegate) = 0; 36 NativeCursorManagerDelegate* delegate) = 0;
37 37
38 // A request to set the visibility of the cursor. At minimum, implementer 38 // A request to set the visibility of the cursor. At minimum, implementer
39 // should call NativeCursorManagerDelegate::CommitVisibility() with whatever 39 // should call NativeCursorManagerDelegate::CommitVisibility() with whatever
40 // the visibility is. 40 // the visibility is.
41 virtual void SetVisibility( 41 virtual void SetVisibility(
42 bool visible, 42 bool visible,
43 NativeCursorManagerDelegate* delegate) = 0; 43 NativeCursorManagerDelegate* delegate) = 0;
44 44
45 // A request to set the cursor set. 45 // A request to set the cursor set.
46 virtual void SetCursorSet( 46 virtual void SetCursorSize(ui::CursorSize cursor_size,
47 ui::CursorSetType cursor_set, 47 NativeCursorManagerDelegate* delegate) = 0;
48 NativeCursorManagerDelegate* delegate) = 0;
49 48
50 // A request to set whether mouse events are disabled. At minimum, 49 // A request to set whether mouse events are disabled. At minimum,
51 // implementer should call NativeCursorManagerDelegate:: 50 // implementer should call NativeCursorManagerDelegate::
52 // CommitMouseEventsEnabled() with whether mouse events are actually enabled. 51 // CommitMouseEventsEnabled() with whether mouse events are actually enabled.
53 virtual void SetMouseEventsEnabled( 52 virtual void SetMouseEventsEnabled(
54 bool enabled, 53 bool enabled,
55 NativeCursorManagerDelegate* delegate) = 0; 54 NativeCursorManagerDelegate* delegate) = 0;
56 }; 55 };
57 56
58 } // namespace wm 57 } // namespace wm
59 58
60 #endif // UI_WM_CORE_NATIVE_CURSOR_MANAGER_H_ 59 #endif // UI_WM_CORE_NATIVE_CURSOR_MANAGER_H_
OLDNEW
« no previous file with comments | « ui/wm/core/cursor_manager_unittest.cc ('k') | ui/wm/core/native_cursor_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698