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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 2118903002: scheduler: Move the Blink scheduler into Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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 | « third_party/WebKit/Source/web/WebRuntimeFeatures.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebViewImpl.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index f7f745c6f3c4721d9463e7da0722d41ac21b2694..c953b4119ff8a154165fc31d305f3a952e881562 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -46,6 +46,7 @@
#include "public/platform/WebLayer.h"
#include "public/platform/WebPoint.h"
#include "public/platform/WebRect.h"
+#include "public/platform/WebScheduler.h"
#include "public/platform/WebSize.h"
#include "public/platform/WebString.h"
#include "public/platform/WebVector.h"
@@ -99,7 +100,8 @@ class WebViewScheduler;
class WEB_EXPORT WebViewImpl final : WTF_NON_EXPORTED_BASE(public WebView)
, public RefCounted<WebViewImpl>
, WTF_NON_EXPORTED_BASE(public WebGestureCurveTarget)
- , public PageWidgetEventHandler {
+ , public PageWidgetEventHandler
+ , public WebScheduler::InterventionReporter {
public:
static WebViewImpl* create(WebViewClient*, WebPageVisibilityState);
static HashSet<WebViewImpl*>& allInstances();
@@ -282,6 +284,9 @@ public:
void setShowScrollBottleneckRects(bool) override;
void acceptLanguagesChanged() override;
+ // WebScheduler::InterventionReporter implementation:
+ void ReportIntervention(const WebString& message) override;
+
void didUpdateFullScreenSize();
float defaultMinimumPageScaleFactor() const;
« no previous file with comments | « third_party/WebKit/Source/web/WebRuntimeFeatures.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698