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

Unified Diff: ui/display/win/dpi.h

Issue 2157243003: Allow Chrome on Windows to draw at 1.25 device scale factor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix GetDisplayNearestPoint Created 4 years, 5 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 | « no previous file | ui/display/win/dpi.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/win/dpi.h
diff --git a/ui/display/win/dpi.h b/ui/display/win/dpi.h
index 074eacadd5ec895ce902a3993f19c8bee992f98f..23ec954c259a7faa00f96171f0ca960ab0186896 100644
--- a/ui/display/win/dpi.h
+++ b/ui/display/win/dpi.h
@@ -18,9 +18,7 @@ namespace win {
DISPLAY_EXPORT void SetDefaultDeviceScaleFactor(float scale);
// Gets the scale factor of the display. For example, if the display DPI is
-// 96 then the scale factor is 1.0. This clamps scale factors <= 1.25 to 1.0 to
-// maintain previous (non-DPI-aware) behavior where only the font size was
-// boosted.
+// 96 then the scale factor is 1.0.
DISPLAY_EXPORT float GetDPIScale();
// Returns the equivalent DPI for |device_scaling_factor|.
« no previous file with comments | « no previous file | ui/display/win/dpi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698