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

Unified Diff: ui/display/win/screen_win.h

Issue 2510793002: Use actual value of display scale factor from GetMonitorScaleFactor().
Patch Set: Created 4 years, 1 month 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
Index: ui/display/win/screen_win.h
diff --git a/ui/display/win/screen_win.h b/ui/display/win/screen_win.h
index 422077d521282c11243eb15cb2a9a58e45f6f2fa..8fd0fc7453a453c2ac6f447419068ab49441ec6b 100644
--- a/ui/display/win/screen_win.h
+++ b/ui/display/win/screen_win.h
@@ -128,6 +128,7 @@ class DISPLAY_EXPORT ScreenWin : public display::Screen {
gfx::NativeView view, const gfx::Rect& screen_rect) const override;
gfx::Rect DIPToScreenRectInWindow(
gfx::NativeView view, const gfx::Rect& dip_rect) const override;
+ float GetScaleFactorForWindow(gfx::NativeView view) const override;
void UpdateFromDisplayInfos(const std::vector<DisplayInfo>& display_infos);
« no previous file with comments | « ui/display/screen.cc ('k') | ui/display/win/screen_win.cc » ('j') | ui/display/win/screen_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698