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

Unified Diff: public/web/WebView.h

Issue 1345023002: Expose WebPageImportanceSignals to embedder (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: public/web/WebView.h
diff --git a/public/web/WebView.h b/public/web/WebView.h
index fac145a15f400d014649846adafb399ad177a8bb..1bce1b29c1c406d455ed3a94ebe57392d755d3cd 100644
--- a/public/web/WebView.h
+++ b/public/web/WebView.h
@@ -50,6 +50,7 @@ class WebCredentialManagerClient;
class WebDragData;
class WebFrame;
class WebHitTestResult;
+class WebPageImportanceSignals;
class WebPageOverlay;
class WebPrerendererClient;
class WebSettings;
@@ -58,10 +59,10 @@ class WebString;
class WebViewClient;
struct WebActiveWheelFlingParameters;
struct WebDeviceEmulationParams;
+struct WebFloatPoint;
struct WebMediaPlayerAction;
struct WebPluginAction;
struct WebPoint;
-struct WebFloatPoint;
struct WebWindowFeatures;
class WebView : public WebWidget {
@@ -455,6 +456,9 @@ public:
// Overlay this WebView with a solid color.
virtual void setPageOverlayColor(WebColor) = 0;
+ // Page Importance Signals ----------------------------------------------
+
+ virtual WebPageImportanceSignals* pageImportanceSignals() { return nullptr; }
// i18n -----------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698