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

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

Issue 2736943003: Start to decouple display::Display from ws::PlatformDisplay. (Closed)
Patch Set: Fix comments. Created 3 years, 9 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 | « services/ui/ws/platform_display_default.cc ('k') | services/ui/ws/platform_display_factory.h » ('j') | 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 0358573ffcfa7cdbb2dda4cc0ad503fdb0ce0eec..e416c3a3c9f52a77c368c8c18ec5271af86ed22d 100644
--- a/services/ui/ws/platform_display_delegate.h
+++ b/services/ui/ws/platform_display_delegate.h
@@ -23,7 +23,7 @@ class ServerWindow;
class PlatformDisplayDelegate {
public:
// Returns a display::Display for this display.
- virtual display::Display GetDisplay() = 0;
+ virtual const display::Display& GetDisplay() = 0;
// Returns the root window of this display.
virtual ServerWindow* GetRootWindow() = 0;
« no previous file with comments | « services/ui/ws/platform_display_default.cc ('k') | services/ui/ws/platform_display_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698