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

Unified Diff: ui/gfx/android/device_display_info.h

Issue 28053002: Add font_scale_factor_quirk pref. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master.pinned
Patch Set: Address review comments. Created 7 years, 2 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
Index: ui/gfx/android/device_display_info.h
diff --git a/ui/gfx/android/device_display_info.h b/ui/gfx/android/device_display_info.h
index c989b9849551c0a778b440c01d02cf5280535873..ace8569c73373ac1e83a83719d3f793798ba85d5 100644
--- a/ui/gfx/android/device_display_info.h
+++ b/ui/gfx/android/device_display_info.h
@@ -37,6 +37,9 @@ class GFX_EXPORT DeviceDisplayInfo {
// (1.0 is 160dpi, 0.75 is 120dpi, 2.0 is 320dpi).
double GetDIPScale();
+ // Smallest possible screen size in density-independent pixels.
+ int GetSmallestDIPWidth();
+
// Registers methods with JNI and returns true if succeeded.
static bool RegisterDeviceDisplayInfo(JNIEnv* env);
« no previous file with comments | « ui/android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java ('k') | ui/gfx/android/device_display_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698