Index: content/public/test/text_input_test_utils.h |
diff --git a/content/public/test/text_input_test_utils.h b/content/public/test/text_input_test_utils.h |
index ec3f13499d090105c445427ac26efc3dc8e3fc59..bdf6f41f496962f9d09ece2db51496c005df6046 100644 |
--- a/content/public/test/text_input_test_utils.h |
+++ b/content/public/test/text_input_test_utils.h |
@@ -143,6 +143,12 @@ class TextInputManagerTester { |
// created). |
bool IsTextInputStateChanged(); |
+ // Returns true if there is a focused <input> and populates |user_initiated| |
+ // with the information whether it was triggered by user interaction in the |
+ // given view. |
+ bool GetTextSelectionUserInitiatedForView(RenderWidgetHostView* view, |
+ bool* user_initiated); |
+ |
private: |
// The actual internal observer of the TextInputManager. |
class InternalObserver; |