| Index: ui/android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java
|
| diff --git a/ui/android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java b/ui/android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java
|
| index 088c9c2476e7f2781572be7a56e1482965716dd3..895d3472ca7bc446f0d3363b0e9d512c1a359433 100644
|
| --- a/ui/android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java
|
| +++ b/ui/android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java
|
| @@ -115,6 +115,15 @@ public class DeviceDisplayInfo {
|
| return getMetrics().density;
|
| }
|
|
|
| + /**
|
| + * @return Smallest screen size in density-independent pixels that the
|
| + * application will see, regardless of orientation.
|
| + */
|
| + @CalledByNative
|
| + private int getSmallestDIPWidth() {
|
| + return mAppContext.getResources().getConfiguration().smallestScreenWidthDp;
|
| + }
|
| +
|
| private Display getDisplay() {
|
| return mWinManager.getDefaultDisplay();
|
| }
|
|
|