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; |