| 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
|
|
|