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 f377320e69d83d3b7911ee8ca2bb18584db48e57..31eec19709797d149e6beb59edbc052fd2f9e1b4 100644 |
--- a/content/public/test/text_input_test_utils.h |
+++ b/content/public/test/text_input_test_utils.h |
@@ -126,6 +126,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; |