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

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

Issue 233053003: Remove obsolete scale related APIs for cursor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix wm_core_unittests Created 6 years, 8 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 | Annotate | Revision Log
« 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/wm/core/native_cursor_manager_delegate.h" 9 #include "ui/wm/core/native_cursor_manager_delegate.h"
10 #include "ui/wm/core/wm_core_export.h" 10 #include "ui/wm/core/wm_core_export.h"
(...skipping 24 matching lines...) Expand all
35 gfx::NativeCursor cursor, 35 gfx::NativeCursor cursor,
36 wm::NativeCursorManagerDelegate* delegate) = 0; 36 wm::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 wm::NativeCursorManagerDelegate* delegate) = 0; 43 wm::NativeCursorManagerDelegate* delegate) = 0;
44 44
45 // A request to set the scale of the cursor icon. 45 // A request to set the cursor set.
46 virtual void SetScale(
47 float scale,
48 wm::NativeCursorManagerDelegate* delegate) = 0;
49
50 // A request to set the scale of the cursor icon.
51 virtual void SetCursorSet( 46 virtual void SetCursorSet(
52 ui::CursorSetType cursor_set, 47 ui::CursorSetType cursor_set,
53 wm::NativeCursorManagerDelegate* delegate) = 0; 48 wm::NativeCursorManagerDelegate* delegate) = 0;
54 49
55 // A request to set whether mouse events are disabled. At minimum, 50 // A request to set whether mouse events are disabled. At minimum,
56 // implementer should call NativeCursorManagerDelegate:: 51 // implementer should call NativeCursorManagerDelegate::
57 // CommitMouseEventsEnabled() with whether mouse events are actually enabled. 52 // CommitMouseEventsEnabled() with whether mouse events are actually enabled.
58 virtual void SetMouseEventsEnabled( 53 virtual void SetMouseEventsEnabled(
59 bool enabled, 54 bool enabled,
60 wm::NativeCursorManagerDelegate* delegate) = 0; 55 wm::NativeCursorManagerDelegate* delegate) = 0;
61 }; 56 };
62 57
63 } // namespace wm 58 } // namespace wm
64 59
65 #endif // UI_WM_CORE_NATIVE_CURSOR_MANAGER_H_ 60 #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