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

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

Issue 1589953005: Support InputMethodManager#updateCursorAnchorInfo for Android 5.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Findbugs warning / Simplify the state transition. Created 4 years, 10 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/ContentSwitches.java
diff --git a/content/public/android/java/src/org/chromium/content/common/ContentSwitches.java b/content/public/android/java/src/org/chromium/content/common/ContentSwitches.java
index 899d48f072ced99e76a03463830e5941a44f99fe..9ecfbad9b457745f1e4c4eebfe2d4217f1e9b888 100644
--- a/content/public/android/java/src/org/chromium/content/common/ContentSwitches.java
+++ b/content/public/android/java/src/org/chromium/content/common/ContentSwitches.java
@@ -87,6 +87,10 @@ public abstract class ContentSwitches {
// Native switch kDownloadProcess
public static final String SWITCH_DOWNLOAD_PROCESS = "download";
+ // Enable CursorAnchorInfo API that is added in Android 5.0.
+ public static final String ENABLE_CURSOR_ANCHOR_INFO =
+ "enable-cursor-anchor-info";
+
// Prevent instantiation.
private ContentSwitches() {}

Powered by Google App Engine
This is Rietveld 408576698