| Index: ui/display/win/screen_win.h
|
| diff --git a/ui/display/win/screen_win.h b/ui/display/win/screen_win.h
|
| index 65d5f82b39d8349efaf35a6bfc3995cbf96a42e1..0a16da017ce1bfb0afe581c5623f185c1bdf4477 100644
|
| --- a/ui/display/win/screen_win.h
|
| +++ b/ui/display/win/screen_win.h
|
| @@ -92,6 +92,9 @@ class DISPLAY_EXPORT ScreenWin : public display::Screen {
|
| // Returns the result of GetSystemMetrics for |metric| scaled to |hwnd|'s DPI.
|
| static int GetSystemMetricsForHwnd(HWND hwnd, int metric);
|
|
|
| + // Returns |hwnd|'s scale factor.
|
| + static float GetScaleFactorForHWND(HWND hwnd);
|
| +
|
| // Returns the HWND associated with the NativeView.
|
| virtual HWND GetHWNDFromNativeView(gfx::NativeView window) const;
|
|
|
| @@ -159,8 +162,6 @@ class DISPLAY_EXPORT ScreenWin : public display::Screen {
|
|
|
| ScreenWinDisplay GetScreenWinDisplay(const MONITORINFOEX& monitor_info) const;
|
|
|
| - static float GetScaleFactorForHWND(HWND hwnd);
|
| -
|
| // Returns the result of calling |getter| with |value| on the global
|
| // ScreenWin if it exists, otherwise return the default ScreenWinDisplay.
|
| template <typename Getter, typename GetterType>
|
|
|