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

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

Issue 2832823002: Update avatar button to MD (Closed)
Patch Set: Fix for --force-device-scale-factor, vector icon, review comments Created 3 years, 8 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
Index: ui/display/win/screen_win.h
diff --git a/ui/display/win/screen_win.h b/ui/display/win/screen_win.h
index eed87d9e45f4ef86d7d03452821cd422dea02301..4a73ec7e5d83e5bb9e144c0262e8523e177c7400 100644
--- a/ui/display/win/screen_win.h
+++ b/ui/display/win/screen_win.h
@@ -102,6 +102,9 @@ class DISPLAY_EXPORT ScreenWin : public Screen {
// Returns |hwnd|'s scale factor.
static float GetScaleFactorForHWND(HWND hwnd);
+ // Like GetMonitorScaleFactor() but ignores --force-device-scale-factor.
+ static float GetUnforcedMonitorScaleFactor(HMONITOR monitor);
+
// Returns the system's global scale factor, ignoring the value of
// --force-device-scale-factor. Only use this if you are working with Windows
// metrics global to the system. Otherwise you should call

Powered by Google App Engine
This is Rietveld 408576698