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 98b944e222eefb8bd93e0f88c30b2fe0807d3cc2..0358573ffcfa7cdbb2dda4cc0ad503fdb0ce0eec 100644 |
--- a/services/ui/ws/platform_display_delegate.h |
+++ b/services/ui/ws/platform_display_delegate.h |
@@ -5,6 +5,10 @@ |
#ifndef SERVICES_UI_WS_PLATFORM_DISPLAY_DELEGATE_H_ |
#define SERVICES_UI_WS_PLATFORM_DISPLAY_DELEGATE_H_ |
+namespace display { |
+class Display; |
+} |
+ |
namespace ui { |
class Event; |
@@ -18,6 +22,9 @@ class ServerWindow; |
/// 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; |