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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/DeviceUtils.java

Issue 11066087: Upstream BrowserChildProcessHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: 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.

Powered by Google App Engine
This is Rietveld 408576698