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

Unified Diff: chrome/browser/ui/webui/engagement/site_engagement.mojom

Issue 1316043003: Add chrome://site-engagement WebUI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@navigation_smarter
Patch Set: fix build more Created 5 years, 4 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
Index: chrome/browser/ui/webui/engagement/site_engagement.mojom
diff --git a/chrome/browser/ui/webui/engagement/site_engagement.mojom b/chrome/browser/ui/webui/engagement/site_engagement.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..b53e25d5e411f3e5809230185fe9be02d439a20a
--- /dev/null
+++ b/chrome/browser/ui/webui/engagement/site_engagement.mojom
@@ -0,0 +1,16 @@
+// Copyright 2015 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.
+
+struct SiteEngagementInfo {
+ string origin;
+ int32 score;
+};
+
+interface SiteEngagementUIHandlerMojo {
+ GetSiteEngagementInfo(SiteEngagementPage page);
+};
+
+interface SiteEngagementPage {
+ HandleSiteEngagementInfo(array<SiteEngagementInfo> info);
Sam McNally 2015/08/26 08:23:22 Is this called more than once? If not, you can ma
calamity 2015/09/08 07:30:06 It most likely will be at some point. We would wan
+};

Powered by Google App Engine
This is Rietveld 408576698