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

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

Issue 1965073002: Rename gfx::Display to display::Display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc ('k') | no next file » | 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"
11 #include "ui/wm/wm_export.h" 11 #include "ui/wm/wm_export.h"
12 12
13 namespace gfx { 13 namespace display {
14 class Display; 14 class Display;
15 } 15 }
16 16
17 namespace display {
18 using Display = gfx::Display;
19 }
20
21 namespace wm { 17 namespace wm {
22 18
23 // Interface where platforms such as Ash or Desktop aura are notified of 19 // Interface where platforms such as Ash or Desktop aura are notified of
24 // requested changes to cursor state. When requested, implementer should tell 20 // requested changes to cursor state. When requested, implementer should tell
25 // the CursorManager of any actual state changes performed through the 21 // the CursorManager of any actual state changes performed through the
26 // delegate. 22 // delegate.
27 class WM_EXPORT NativeCursorManager { 23 class WM_EXPORT NativeCursorManager {
28 public: 24 public:
29 virtual ~NativeCursorManager() {} 25 virtual ~NativeCursorManager() {}
30 26
(...skipping 24 matching lines...) Expand all
55 // implementer should call NativeCursorManagerDelegate:: 51 // implementer should call NativeCursorManagerDelegate::
56 // CommitMouseEventsEnabled() with whether mouse events are actually enabled. 52 // CommitMouseEventsEnabled() with whether mouse events are actually enabled.
57 virtual void SetMouseEventsEnabled( 53 virtual void SetMouseEventsEnabled(
58 bool enabled, 54 bool enabled,
59 NativeCursorManagerDelegate* delegate) = 0; 55 NativeCursorManagerDelegate* delegate) = 0;
60 }; 56 };
61 57
62 } // namespace wm 58 } // namespace wm
63 59
64 #endif // UI_WM_CORE_NATIVE_CURSOR_MANAGER_H_ 60 #endif // UI_WM_CORE_NATIVE_CURSOR_MANAGER_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698