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..6df772df258abc96786bcc85725174e7e65df144 100644 |
--- a/content/public/test/browser_test_utils.h |
+++ b/content/public/test/browser_test_utils.h |
@@ -57,6 +57,11 @@ 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. 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); |