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; |