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

Unified Diff: components/test_runner/web_test_runner.h

Issue 2352813004: Force-generate a frame before the end of a layout test. (Closed)
Patch Set: Created 4 years, 3 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: components/test_runner/web_test_runner.h
diff --git a/components/test_runner/web_test_runner.h b/components/test_runner/web_test_runner.h
index b7efae1ed720dc663c4b96c03598c716f7d5688d..97acef95f9274efa35f43ae0fd6871f2b2600726 100644
--- a/components/test_runner/web_test_runner.h
+++ b/components/test_runner/web_test_runner.h
@@ -43,6 +43,9 @@ class WebTestRunner {
// (i.e. by calling testRunner.dumpChildFramesAsText() from javascript).
virtual bool IsRecursiveLayoutDumpRequested() = 0;
+ // Runs any pending animations on existing widgets.
+ virtual void RunPendingAnimations();
+
// Dumps layout of |frame| using the mode requested by the current test
// (i.e. text mode if testRunner.dumpAsText() was called from javascript).
virtual std::string DumpLayout(blink::WebLocalFrame* frame) = 0;

Powered by Google App Engine
This is Rietveld 408576698