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

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

Issue 2356913002: Pass device scale factor from display to ws. (Closed)
Patch Set: Fix more tests. 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/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 324ddfc02f4607d9cadf97ddfc93ba0f4b0d98b1..12b78cfd93f03c27d528e2fcb26da40728c019f1 100644
--- a/services/ui/ws/display_manager.h
+++ b/services/ui/ws/display_manager.h
@@ -82,9 +82,15 @@ class DisplayManager : public UserIdTrackerObserver,
const UserId& active_id) override;
// display::PlatformScreenDelegate:
- void OnDisplayAdded(int64_t id, const gfx::Rect& bounds) override;
+ void OnDisplayAdded(int64_t id,
+ const gfx::Rect& bounds,
+ const gfx::Size& pixel_size,
+ float scale_factor) override;
void OnDisplayRemoved(int64_t id) override;
- void OnDisplayModified(int64_t id, const gfx::Rect& bounds) override;
+ void OnDisplayModified(int64_t id,
+ const gfx::Rect& bounds,
+ const gfx::Size& pixel_size,
+ float scale_factor) 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