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

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

Issue 699333003: Support InputMethodManager#updateCursorAnchorInfo for Android 5.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move the core logic into Java side Created 5 years, 11 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 b73d4799a6fadbd548f5f2604a265197c86f4710..6fca372f0afdfadb057d2112832a8f4674f9814c 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
@@ -67,6 +67,10 @@ public abstract class ContentSwitches {
// Enable mouse hover emulation by holding your finger just over the screen.
public static final String ENABLE_TOUCH_HOVER = "enable-touch-hover";
+ // 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