Index: ui/gfx/display.h |
diff --git a/ui/gfx/display.h b/ui/gfx/display.h |
index 5abe1be2cbc8a78c16a33b5da44c9695a323ddc3..023ba99254b9e4aea035b29132fe0681b7aeced1 100644 |
--- a/ui/gfx/display.h |
+++ b/ui/gfx/display.h |
@@ -28,6 +28,10 @@ class UI_EXPORT Display { |
// "--force-device-scale-factor". |
static float GetForcedDeviceScaleFactor(); |
+ // Indicates if a device scale factor is being explicitly enforced from the |
+ // command line via "--force-device-scale-factor". |
+ static bool HasForceDeviceScaleFactor(); |
+ |
// Returns 64-bit persistent ID for the specified manufacturer's ID and |
// serial#. |
static int64 GetID(uint16 manufacturer_id, uint32 serial_number); |