Chromium Code Reviews| Index: ui/gfx/display.h |
| diff --git a/ui/gfx/display.h b/ui/gfx/display.h |
| index 9054d7c7efef1d024f0dae00ce086591ee3684ad..b63b8410a441ed7981ad8daa63a6556a382d2178 100644 |
| --- a/ui/gfx/display.h |
| +++ b/ui/gfx/display.h |
| @@ -51,6 +51,11 @@ class GFX_EXPORT Display { |
| // command line via "--force-device-scale-factor". |
| static bool HasForceDeviceScaleFactor(); |
| + // Resets the flag used to determine if a device scale factor is being forced |
| + // from the command line via "--force-device-scale-factor", and thus ensures |
| + // that the command line is reevaluated. |
| + static void ResetForceDeviceScaleFactor(); |
|
scottmg
2015/03/10 23:02:01
I think this should have a "ForTesting" suffix.
ananta
2015/03/10 23:31:57
Done.
|
| + |
| // Sets/Gets unique identifier associated with the display. |
| // -1 means invalid display and it doesn't not exit. |
| int64 id() const { return id_; } |