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

Unified Diff: content/public/browser/web_contents.h

Issue 1345873003: Expose PageImportanceSignals via WebContents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 47decf4c6ea90c6e5f2cc716adf666cc9073014b..19f5a222fed870174de5b81b1bced9fff4d1676d 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -58,6 +58,7 @@ class WebContentsDelegate;
struct CustomContextMenuContext;
struct DropData;
struct Manifest;
+struct PageImportanceSignals;
struct RendererPreferences;
// WebContents is the core class in content/. A WebContents renders web content
@@ -278,6 +279,8 @@ class WebContents : public PageNavigator,
gfx::NativeViewAccessible accessible_parent) = 0;
#endif
+ virtual const PageImportanceSignals* GetPageImportanceSignals() const = 0;
+
// Tab navigation state ------------------------------------------------------
// Returns the current navigation properties, which if a navigation is

Powered by Google App Engine
This is Rietveld 408576698