Chromium Code Reviews| 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..9c7b934a1909c3722e62e651ce7a925c350269be 100644 |
| --- a/content/public/test/text_input_test_utils.h |
| +++ b/content/public/test/text_input_test_utils.h |
| @@ -7,6 +7,7 @@ |
| #include <string> |
| #include <unordered_map> |
| +#include <unordered_set> |
|
Charlie Reis
2016/06/28 21:39:34
Is this stale? (Maybe it belongs in the .cc file?
EhsanK
2016/06/28 22:47:10
Thanks for pointing this out. This goes to cc and
|
| #include <vector> |
| #include "base/callback.h" |
| @@ -32,6 +33,10 @@ bool GetTextInputTypeForView(WebContents* web_contents, |
| RenderWidgetHostView* view, |
| ui::TextInputType* type); |
| +// This method returns the number of RenderWidgetHostViews which are currently |
| +// registered with the TextInputManager that is owned by |web_contents|. |
| +size_t GetRegisteredViewsCountFromTextInputManager(WebContents* web_contents); |
| + |
| // Returns the RWHV corresponding to the frame with a focused <input> within the |
| // given WebContents. |
| RenderWidgetHostView* GetActiveViewFromWebContents(WebContents* web_contents); |