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

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

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/BUILD.gn ('k') | third_party/WebKit/public/web/WebLocalFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f35f0ce373bf167d4662462cfca2f0bf666ce677
--- /dev/null
+++ b/third_party/WebKit/public/platform/site_engagement.mojom
@@ -0,0 +1,21 @@
+// 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;
+
+import "url/mojo/origin.mojom";
+
+enum EngagementLevel {
+ NONE,
+ MINIMAL,
+ LOW,
+ MEDIUM,
+ HIGH,
+ MAX,
+};
+
+interface EngagementClient {
+ // The browser tells the renderer the engagement level of the provided origin.
+ SetEngagementLevel(url.mojom.Origin origin, EngagementLevel level);
+};
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/web/WebLocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698