// 96 then the scale factor is 1.0.
GFX_EXPORT float GetDPIScale();
-// Tests to see if the command line flag "--high-dpi-support" is set.
-GFX_EXPORT bool IsHighDPIEnabled();
-
-GFX_EXPORT bool IsInHighDPIMode();
-
-GFX_EXPORT void EnableHighDPISupport();
-
-GFX_EXPORT void ForceHighDPISupportForTesting(float scale);
-
-// TODO(kevers|girard): Move above methods into win namespace.
-
namespace win {
-GFX_EXPORT float GetDeviceScaleFactor();
-
GFX_EXPORT Point ScreenToDIPPoint(const Point& pixel_point);
GFX_EXPORT Point DIPToScreenPoint(const Point& dip_point);
// GetSystemMetrics for the given |metric|, then converts the result to DIP.
GFX_EXPORT int GetSystemMetricsInDIP(int metric);
-// Returns true if the global device scale factor has been explicitly set for
-// the process.
-GFX_EXPORT bool IsDeviceScaleFactorSet();
-
-GFX_EXPORT extern const wchar_t kRegistryProfilePath[];
-GFX_EXPORT extern const wchar_t kHighDPISupportW[];
-
} // namespace win
} // namespace gfx