Chromium Code Reviews| Index: content/public/android/java/src/org/chromium/content/browser/DeviceUtils.java |
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/DeviceUtils.java b/content/public/android/java/src/org/chromium/content/browser/DeviceUtils.java |
| similarity index 80% |
| rename from chrome/android/java/src/org/chromium/chrome/browser/DeviceUtils.java |
| rename to content/public/android/java/src/org/chromium/content/browser/DeviceUtils.java |
| index bfba7ccddcc3bff6aa02d1c1119cfe8379d6f312..0439ebd04b8e6cb6db30caff6577fcd3d2106959 100644 |
| --- a/chrome/android/java/src/org/chromium/chrome/browser/DeviceUtils.java |
| +++ b/content/public/android/java/src/org/chromium/content/browser/DeviceUtils.java |
| @@ -2,7 +2,7 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -package org.chromium.chrome.browser; |
| +package org.chromium.content.browser; |
| import android.content.Context; |
| @@ -16,6 +16,12 @@ public class DeviceUtils { |
| */ |
| private static final int MINIMUM_TABLET_WIDTH_DP = 600; |
| + |
| + /** Use tablet specific UI components. |
| + * Native switch - chrome_switches::kTabletUI |
| + */ |
| + public static final String TABLET_UI = "tablet-ui"; |
|
Yaron
2012/10/09 21:38:53
We've been putting all of these switches in Comman
Yusuf
2012/10/10 00:06:08
Moved to CommandLine.
On 2012/10/09 21:38:53, Yaro
|
| + |
| /** |
| * @param context Android's context |
| * @return Whether the app is should treat the device as a tablet for layout. |