Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index 2f0ef5a8cac2bda91820c17d6b19b53358bd142f..91c19730c7d22e8a07849db833a07140c468aadd 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -32,6 +32,7 @@ |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
#include "content/public/browser/web_contents.h" |
+#include "content/public/common/page_importance_signals.h" |
#include "content/public/common/renderer_preferences.h" |
#include "content/public/common/resource_type.h" |
#include "content/public/common/three_d_api_types.h" |
@@ -250,6 +251,7 @@ class CONTENT_EXPORT WebContentsImpl |
void SetParentNativeViewAccessible( |
gfx::NativeViewAccessible accessible_parent) override; |
#endif |
+ const PageImportanceSignals& GetPageImportanceSignals() const override; |
const base::string16& GetTitle() const override; |
int32 GetMaxPageID() override; |
int32 GetMaxPageIDForSiteInstance(SiteInstance* site_instance) override; |
@@ -861,6 +863,7 @@ class CONTENT_EXPORT WebContentsImpl |
void OnWebUISend(const GURL& source_url, |
const std::string& name, |
const base::ListValue& args); |
+ void OnUpdatePageImportanceSignals(const PageImportanceSignals& signals); |
#if defined(ENABLE_PLUGINS) |
void OnPepperInstanceCreated(); |
void OnPepperInstanceDeleted(); |
@@ -1307,6 +1310,8 @@ class CONTENT_EXPORT WebContentsImpl |
scoped_ptr<RenderWidgetHostInputEventRouter> rwh_input_event_router_; |
+ PageImportanceSignals page_importance_signals_; |
+ |
base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |