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

Unified Diff: ui/wm/core/native_cursor_manager.h

Issue 1915363002: Rename gfx::Display/Screen to display::Display/Screen in views/wm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more cleanups Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/wm/core/default_screen_position_client.cc ('k') | ui/wm/core/window_animations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/core/native_cursor_manager.h
diff --git a/ui/wm/core/native_cursor_manager.h b/ui/wm/core/native_cursor_manager.h
index de16ef8ce2d80d048bac49920d812da85336b432..d4767b46e74e3417f0fecb124d21f513ac787475 100644
--- a/ui/wm/core/native_cursor_manager.h
+++ b/ui/wm/core/native_cursor_manager.h
@@ -14,6 +14,10 @@ namespace gfx {
class Display;
}
+namespace display {
+using Display = gfx::Display;
+}
+
namespace wm {
// Interface where platforms such as Ash or Desktop aura are notified of
@@ -25,9 +29,8 @@ class WM_EXPORT NativeCursorManager {
virtual ~NativeCursorManager() {}
// A request to set the screen DPI. Can cause changes in the current cursor.
- virtual void SetDisplay(
- const gfx::Display& display,
- NativeCursorManagerDelegate* delegate) = 0;
+ virtual void SetDisplay(const display::Display& display,
+ NativeCursorManagerDelegate* delegate) = 0;
// A request to set the cursor to |cursor|. At minimum, implementer should
// call NativeCursorManagerDelegate::CommitCursor() with whatever cursor is
« no previous file with comments | « ui/wm/core/default_screen_position_client.cc ('k') | ui/wm/core/window_animations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698