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

Unified Diff: third_party/WebKit/public/web/WebLocalFrame.h

Issue 2535483002: Plumb site engagement to the renderer process. (Closed)
Patch Set: Rebase Created 4 years 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 | « third_party/WebKit/public/platform/site_engagement.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebLocalFrame.h
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h
index a6dde3392cbe5b8a92c421cd9e0039f87d35108b..d0ea1220b29a82ae9b612382c20005102f4da124 100644
--- a/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -11,6 +11,7 @@
#include "WebHistoryItem.h"
#include "public/platform/WebCachePolicy.h"
#include "public/platform/WebURLError.h"
+#include "public/platform/site_engagement.mojom-shared.h"
namespace base {
class SingleThreadTaskRunner;
@@ -437,6 +438,11 @@ class WebLocalFrame : public WebFrame {
// coordinates.
virtual void saveImageAt(const WebPoint&) = 0;
+ // Site engagement --------------------------------------------------------
+
+ // Sets the site engagement level for this frame's document.
+ virtual void setEngagementLevel(mojom::EngagementLevel) = 0;
+
// TEMP: Usage count for chrome.loadtimes deprecation.
// This will be removed following the deprecation.
virtual void usageCountChromeLoadTimes(const WebString& metric) = 0;
« no previous file with comments | « third_party/WebKit/public/platform/site_engagement.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698