Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Unified Diff: ui/gfx/display.h

Issue 11953054: Fix high-DPI on Windows to make use of DIP scaling in WebKit. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove redundant comments. Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/win/dpi.cc ('k') | ui/gfx/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/display.h
diff --git a/ui/gfx/display.h b/ui/gfx/display.h
index 805d22f7c88fc60590423d620a49e0d4e30d754b..8b3f346902b7b9501fd2acf3ca7d662486c2c95c 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
// product_code, and the index of the output it is connected to.
// |output_index| is used to distinguish the displays of the same type. For
« no previous file with comments | « ui/base/win/dpi.cc ('k') | ui/gfx/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698