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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.h

Issue 1832673002: Add testRunner.runIdleTasks() to force idle tasks to run. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase Created 4 years, 8 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
« no previous file with comments | « content/public/test/layouttest_support.h ('k') | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/layout_test/blink_test_runner.h
diff --git a/content/shell/renderer/layout_test/blink_test_runner.h b/content/shell/renderer/layout_test/blink_test_runner.h
index 2df5a6ca4679a6e28caaf306474c242afe8d8ab5..20b5e3696d7cc41519c7e53a52b907805fc2edd6 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.h
+++ b/content/shell/renderer/layout_test/blink_test_runner.h
@@ -155,6 +155,7 @@ class BlinkTestRunner : public RenderViewObserver,
blink::WebLocalFrame* frame,
const blink::WebPluginParams& params) override;
float GetDeviceScaleFactorForTest() const override;
+ void RunIdleTasks(const base::Closure& callback) override;
// Resets a RenderView to a known state for layout tests. It is used both when
// a RenderView is created and when reusing an existing RenderView for the
« no previous file with comments | « content/public/test/layouttest_support.h ('k') | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698