Index: content/public/test/browser_test_utils.h |
diff --git a/content/public/test/browser_test_utils.h b/content/public/test/browser_test_utils.h |
index b074fb4ef2dc2530894c7e95bbaa104d4c235832..64264b236c6316e28c5ad4a639a8ad2df742d705 100644 |
--- a/content/public/test/browser_test_utils.h |
+++ b/content/public/test/browser_test_utils.h |
@@ -57,6 +57,12 @@ GURL GetFileUrlWithQuery(const base::FilePath& path, |
// tab is currently web_contents. Otherwise returns immediately. |
void WaitForLoadStop(WebContents* web_contents); |
+// If WebContent's view is currently being resized, this will wait for the ack |
+// from the renderer that the resize is complete and for the |
+// WindowEventDispatcher to release the pointer moves. If there's no resize in |
+// progress, the method will return right away. |
+void WaitForResizeComplete(WebContents* web_contents); |
+ |
// Causes the specified web_contents to crash. Blocks until it is crashed. |
void CrashTab(WebContents* web_contents); |