| Index: ui/gfx/win/dpi.h
|
| diff --git a/ui/gfx/win/dpi.h b/ui/gfx/win/dpi.h
|
| index 0193ac01b12a4b52fe3c3ebbda38695df94fb81d..724d1851e353d67d6ae3f5a097b2725bc6a2dae5 100644
|
| --- a/ui/gfx/win/dpi.h
|
| +++ b/ui/gfx/win/dpi.h
|
| @@ -22,9 +22,14 @@ GFX_EXPORT void InitDeviceScaleFactor(float scale);
|
| GFX_EXPORT Size GetDPI();
|
|
|
| // Gets the scale factor of the display. For example, if the display DPI is
|
| -// 96 then the scale factor is 1.0.
|
| +// 96 then the scale factor is 1.0. Note that this is the "desktop" scale, which
|
| +// may be differnt than GetModernUIScale().
|
| GFX_EXPORT float GetDPIScale();
|
|
|
| +// Gets the scale factor of the modern (metro) UI display. Returns 1.0 for
|
| +// unscaled or "not running on win8+"
|
| +GFX_EXPORT float GetModernUIScale();
|
| +
|
| // Tests to see if the command line flag "--high-dpi-support" is set.
|
| GFX_EXPORT bool IsHighDPIEnabled();
|
|
|
|
|