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

Unified Diff: ui/base/ui_base_switches.cc

Issue 699333003: Support InputMethodManager#updateCursorAnchorInfo for Android 5.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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: ui/base/ui_base_switches.cc
diff --git a/ui/base/ui_base_switches.cc b/ui/base/ui_base_switches.cc
index 5ff396a49253c03cb92cfaed0be3164654862425..6997c3c45e3b2424bc71a936935c224c0ae42f52 100644
--- a/ui/base/ui_base_switches.cc
+++ b/ui/base/ui_base_switches.cc
@@ -57,4 +57,9 @@ const char kViewerConnect[] = "connect-to-metro-viewer";
const char kEnableRobotoFontUI[] = "enable-roboto-font-ui";
#endif
+#if defined(OS_ANDROID)
+// Enable CursorAnchorInfo API that is added in Android 5.0.
+const char kEnableCursorAnchorInfo[] = "enable-cursor-anchor-info";
+#endif
+
} // namespace switches

Powered by Google App Engine
This is Rietveld 408576698