Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(735)

Unified Diff: content/public/test/text_input_test_utils.h

Issue 2054163003: Fix SitePerProcessTextInputManagerTest.StopTrackingCrashedChildFrame on CFI Bots. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed the added code to RenderWidgetHostViewChildFrame::Destroy(). Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698