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

Unified Diff: services/ui/ws/platform_display_delegate.h

Issue 2268563003: Replaced CursorLoader in PlatformDisplay with a ImageCursor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add display::Display PlatformDisplayDelegate::GetDisplay() Created 4 years, 4 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
« services/ui/ws/platform_display.cc ('K') | « services/ui/ws/platform_display.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/platform_display_delegate.h
diff --git a/services/ui/ws/platform_display_delegate.h b/services/ui/ws/platform_display_delegate.h
index 9c92f58dd7d299aef9657462bd2d9d6adbcc076a..54b43123866a51dae63e2c4e866a1c373578117c 100644
--- a/services/ui/ws/platform_display_delegate.h
+++ b/services/ui/ws/platform_display_delegate.h
@@ -7,6 +7,10 @@
#include "services/ui/ws/ids.h"
+namespace display {
+class Display;
+}
+
namespace ui {
class Event;
}
@@ -23,6 +27,9 @@ struct ViewportMetrics;
/// and responses to changes in viewport size.
class PlatformDisplayDelegate {
public:
+ // Returns a display::Display for this display
+ virtual display::Display GetDisplay() = 0;
+
// Returns the root window of this display.
virtual ServerWindow* GetRootWindow() = 0;
« services/ui/ws/platform_display.cc ('K') | « services/ui/ws/platform_display.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698