Chromium Code Reviews| Index: ui/gfx/win/dpi.h |
| diff --git a/ui/gfx/win/dpi.h b/ui/gfx/win/dpi.h |
| index 2664eceb5f755b34c0c4bfb60fdacdb61cfaa332..78889be8de4447ed2374d6100a545640f582e950 100644 |
| --- a/ui/gfx/win/dpi.h |
| +++ b/ui/gfx/win/dpi.h |
| @@ -69,6 +69,10 @@ GFX_EXPORT double GetUndocumentedDPIScale(); |
| // This function returns the appropriate scaling factor for touch events. |
| GFX_EXPORT double GetUndocumentedDPITouchScale(); |
| +// Returns true if the global device scale factor has been explicitly set for |
| +// the process. |
| +GFX_EXPORT bool IsDeviceScaleFactorSet(); |
| + |
| } // namespace win |
| } // namespace gfx |