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

Unified Diff: third_party/WebKit/public/platform/site_engagement.mojom

Issue 2535483002: Plumb site engagement to the renderer process. (Closed)
Patch Set: Rebase. Fix Win compile Created 4 years, 1 month 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: third_party/WebKit/public/platform/site_engagement.mojom
diff --git a/third_party/WebKit/public/platform/site_engagement.mojom b/third_party/WebKit/public/platform/site_engagement.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..2944e2b57e0a8adb9da5a95b8b4dcc17aaa339df
--- /dev/null
+++ b/third_party/WebKit/public/platform/site_engagement.mojom
@@ -0,0 +1,19 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module blink.mojom;
+
+enum EngagementLevel {
+ NONE,
+ MINIMAL,
+ LOW,
+ MEDIUM,
+ HIGH,
+ MAX,
+};
+
+interface EngagementClient {
+ // The browser tells the renderer the engagement level of the current URL.
+ SetEngagementLevel(EngagementLevel level);
nasko 2016/11/28 19:18:08 I would suggest adding the URL as an explicit para
dominickn 2016/11/29 07:41:22 Done.
+};

Powered by Google App Engine
This is Rietveld 408576698