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

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

Issue 2434923002: Handle modified displays in mustash. (Closed)
Patch Set: Fix PlatformScreenStub for tests. Created 4 years, 2 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/display.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 12b78cfd93f03c27d528e2fcb26da40728c019f1..23120b72a04493773eb66a083a1e904f18636fe7 100644
--- a/services/ui/ws/display_manager.h
+++ b/services/ui/ws/display_manager.h
@@ -83,14 +83,10 @@ class DisplayManager : public UserIdTrackerObserver,
// display::PlatformScreenDelegate:
void OnDisplayAdded(int64_t id,
- const gfx::Rect& bounds,
- const gfx::Size& pixel_size,
- float scale_factor) override;
+ const display::ViewportMetrics& metrics) override;
void OnDisplayRemoved(int64_t id) override;
void OnDisplayModified(int64_t id,
- const gfx::Rect& bounds,
- const gfx::Size& pixel_size,
- float scale_factor) override;
+ const display::ViewportMetrics& metrics) override;
WindowServer* window_server_;
UserIdTracker* user_id_tracker_;
« no previous file with comments | « services/ui/ws/display.cc ('k') | services/ui/ws/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698