| Index: ui/display/win/dpi.h
|
| diff --git a/ui/display/win/dpi.h b/ui/display/win/dpi.h
|
| index 66bb6d61d6ff1ca114f727eccb57b8a3550bfb18..074eacadd5ec895ce902a3993f19c8bee992f98f 100644
|
| --- a/ui/display/win/dpi.h
|
| +++ b/ui/display/win/dpi.h
|
| @@ -26,6 +26,9 @@ DISPLAY_EXPORT float GetDPIScale();
|
| // Returns the equivalent DPI for |device_scaling_factor|.
|
| DISPLAY_EXPORT int GetDPIFromScalingFactor(float device_scaling_factor);
|
|
|
| +// Returns the equivalent scaling factor for |dpi|.
|
| +DISPLAY_EXPORT float GetScalingFactorFromDPI(int dpi);
|
| +
|
| // Win32's GetSystemMetrics uses pixel measures. This function calls
|
| // GetSystemMetrics for the given |metric|, then converts the result to DIP.
|
| DISPLAY_EXPORT int GetSystemMetricsInDIP(int metric);
|
|
|