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

Unified Diff: content/public/android/java/src/org/chromium/content/common/CommandLine.java

Issue 10808052: Tidy up Android's is-tablet functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: content/public/android/java/src/org/chromium/content/common/CommandLine.java
diff --git a/content/public/android/java/src/org/chromium/content/common/CommandLine.java b/content/public/android/java/src/org/chromium/content/common/CommandLine.java
index b6fcdbd09d14c83d0073db4c8834f1ecd67f867b..deadb2870a1adbfce230812dc201d82b9e4b9747 100644
--- a/content/public/android/java/src/org/chromium/content/common/CommandLine.java
+++ b/content/public/android/java/src/org/chromium/content/common/CommandLine.java
@@ -43,6 +43,12 @@ public abstract class CommandLine {
// Dump frames-per-second to the log
public static final String LOG_FPS = "log-fps";
+ // Use tablet specific UI components.
+ public static final String TABLET_UI = "tablet-ui";
+
+ // Whether Chromium should use a mobile user agent.
+ public static final String USE_MOBILE_UA = "use-mobile-user-agent";
+
// Public abstract interface, implemented in derived classes.
// All these methods reflect their native-side counterparts.
/**

Powered by Google App Engine
This is Rietveld 408576698