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

Unified Diff: third_party/WebKit/public/platform/WebFrameScheduler.h

Issue 2109843003: Adds enableVirtualTime and setVirtualTimePolicy To Emulation domain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test crash 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: third_party/WebKit/public/platform/WebFrameScheduler.h
diff --git a/third_party/WebKit/public/platform/WebFrameScheduler.h b/third_party/WebKit/public/platform/WebFrameScheduler.h
index e1454b3b71cc5dac8317340bdff3aa996d4bfeb6..23f3da679c6c903f1f873c48455a4d9f56d5a366 100644
--- a/third_party/WebKit/public/platform/WebFrameScheduler.h
+++ b/third_party/WebKit/public/platform/WebFrameScheduler.h
@@ -13,6 +13,7 @@ namespace blink {
class WebSecurityOrigin;
class WebTaskRunner;
+class WebViewScheduler;
class BLINK_PLATFORM_EXPORT WebFrameScheduler {
public:
@@ -32,6 +33,9 @@ public:
// Returns the WebTaskRunner for timer tasks.
// WebFrameScheduler owns the returned WebTaskRunner.
virtual WebTaskRunner* timerTaskRunner() { return nullptr; }
+
+ // Returns the parent WebViewScheduler.
+ virtual WebViewScheduler* webViewScheduler() { return nullptr; }
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698