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

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: add missing null check 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
« no previous file with comments | « content/common/frame_messages.h ('k') | content/public/common/page_importance_signals.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..08c5ba9b8f2f01c84cede287381a1c8f718d165b 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;
noyau (Ping after 24h) 2015/09/28 15:36:10 Please add comments to methods in interfaces: We h
+
// Tab navigation state ------------------------------------------------------
// Returns the current navigation properties, which if a navigation is
« no previous file with comments | « content/common/frame_messages.h ('k') | content/public/common/page_importance_signals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698