| 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 5b78a5602e4b4c3669e318e37eb0d71a938c8a15..4c8d350fbe0c302af3634a83dc6ec6b6cc3f8e56 100644
|
| --- a/content/public/test/text_input_test_utils.h
|
| +++ b/content/public/test/text_input_test_utils.h
|
| @@ -49,6 +49,10 @@ class TextInputManagerTester {
|
| // on the TextInputManager which is being observed.
|
| void SetUpdateTextInputStateCalledCallback(const Callback& callback);
|
|
|
| + // Sets a callback which is invoked when a RWHV calls SelectionBoundsChanged
|
| + // on the TextInputManager which is being observed.
|
| + void SetOnSelectionBoundsChangedCallback(const Callback& callback);
|
| +
|
| // Returns true if there is a focused <input> and populates |type| with
|
| // |TextInputState.type| of the TextInputManager.
|
| bool GetTextInputType(ui::TextInputType* type);
|
| @@ -61,8 +65,8 @@ class TextInputManagerTester {
|
| // if none exists.
|
| const RenderWidgetHostView* GetActiveView();
|
|
|
| - // Returns the RenderWidgetHostView which has most recently called
|
| - // TextInputManager::UpdateTextInputState on the TextInputManager which is
|
| + // Returns the RenderWidgetHostView which has most recently updated its state,
|
| + // i.e., selection bonuds or TextInputState, with the TextInputManager that is
|
| // being observed.
|
| const RenderWidgetHostView* GetUpdatedView();
|
|
|
|
|