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

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

Issue 2297743002: Process DisplaySnapshots in PlatformScreen. (Closed)
Patch Set: Add comment. Created 4 years, 3 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/display/platform_screen_ozone_unittests.cc ('k') | services/ui/ws/display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/display_manager.h
diff --git a/services/ui/ws/display_manager.h b/services/ui/ws/display_manager.h
index 245154d304dd55643394feb4bd74092680cfb916..17ca01d6979687ac5b64237b6d3f8102a040ef2b 100644
--- a/services/ui/ws/display_manager.h
+++ b/services/ui/ws/display_manager.h
@@ -54,6 +54,10 @@ class DisplayManager : public UserIdTrackerObserver,
Display* GetDisplayContaining(ServerWindow* window);
const Display* GetDisplayContaining(const ServerWindow* window) const;
+ // Returns the display with the specified display id, or null if there is no
+ // display with that id.
+ Display* GetDisplayById(int64_t display_id);
+
const WindowManagerDisplayRoot* GetWindowManagerDisplayRoot(
const ServerWindow* window) const;
// TODO(sky): constness here is wrong! fix!
« no previous file with comments | « services/ui/display/platform_screen_ozone_unittests.cc ('k') | services/ui/ws/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698