Index: ui/base/ui_base_switches_util.cc |
diff --git a/ui/base/ui_base_switches_util.cc b/ui/base/ui_base_switches_util.cc |
index 6dcb9ef3b329794be58b6b11746623d9e0fc8f52..aec03bb4707be066778307439db9e4566280c55f 100644 |
--- a/ui/base/ui_base_switches_util.cc |
+++ b/ui/base/ui_base_switches_util.cc |
@@ -53,4 +53,11 @@ bool IsTouchFeedbackEnabled() { |
return touch_feedback_enabled; |
} |
+#if defined(OS_ANDROID) |
+bool IsCursorAnchorInfoEnabled() { |
+ return base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kEnableCursorAnchorInfo); |
+} |
+#endif |
+ |
} // namespace switches |