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

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

Issue 239023002: Revert of Rename wm_core_export.h to wm_export.h and the wm_core target to just wm (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/masked_window_targeter.h ('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/wm_export.h" 10 #include "ui/wm/core/wm_core_export.h"
11 11
12 namespace gfx { 12 namespace gfx {
13 class Display; 13 class Display;
14 } 14 }
15 15
16 namespace wm { 16 namespace wm {
17 17
18 // Interface where platforms such as Ash or Desktop aura are notified of 18 // Interface where platforms such as Ash or Desktop aura are notified of
19 // requested changes to cursor state. When requested, implementer should tell 19 // requested changes to cursor state. When requested, implementer should tell
20 // the CursorManager of any actual state changes performed through the 20 // the CursorManager of any actual state changes performed through the
21 // delegate. 21 // delegate.
22 class WM_EXPORT NativeCursorManager { 22 class WM_CORE_EXPORT NativeCursorManager {
23 public: 23 public:
24 virtual ~NativeCursorManager() {} 24 virtual ~NativeCursorManager() {}
25 25
26 // A request to set the screen DPI. Can cause changes in the current cursor. 26 // A request to set the screen DPI. Can cause changes in the current cursor.
27 virtual void SetDisplay( 27 virtual void SetDisplay(
28 const gfx::Display& display, 28 const gfx::Display& display,
29 wm::NativeCursorManagerDelegate* delegate) = 0; 29 wm::NativeCursorManagerDelegate* delegate) = 0;
30 30
31 // A request to set the cursor to |cursor|. At minimum, implementer should 31 // A request to set the cursor to |cursor|. At minimum, implementer should
32 // call NativeCursorManagerDelegate::CommitCursor() with whatever cursor is 32 // call NativeCursorManagerDelegate::CommitCursor() with whatever cursor is
(...skipping 18 matching lines...) Expand all
51 // implementer should call NativeCursorManagerDelegate:: 51 // implementer should call NativeCursorManagerDelegate::
52 // CommitMouseEventsEnabled() with whether mouse events are actually enabled. 52 // CommitMouseEventsEnabled() with whether mouse events are actually enabled.
53 virtual void SetMouseEventsEnabled( 53 virtual void SetMouseEventsEnabled(
54 bool enabled, 54 bool enabled,
55 wm::NativeCursorManagerDelegate* delegate) = 0; 55 wm::NativeCursorManagerDelegate* delegate) = 0;
56 }; 56 };
57 57
58 } // namespace wm 58 } // namespace wm
59 59
60 #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/masked_window_targeter.h ('k') | ui/wm/core/native_cursor_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698