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

Unified Diff: chrome/browser/resources/engagement/engagement_table.html

Issue 1316043003: Add chrome://site-engagement WebUI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@navigation_smarter
Patch Set: namespace Created 5 years, 3 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/resources/engagement/engagement_table.html
diff --git a/chrome/browser/resources/engagement/engagement_table.html b/chrome/browser/resources/engagement/engagement_table.html
new file mode 100644
index 0000000000000000000000000000000000000000..434ee3d53db56949e048b1ee20c75ae89f9f904e
--- /dev/null
+++ b/chrome/browser/resources/engagement/engagement_table.html
@@ -0,0 +1,24 @@
+<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
+
+<dom-module id="engagement-table">
+ <link rel="import" type="css" href="engagement_table.css">
+ <template>
+ <table>
+ <thead>
+ <tr>
+ <th>Origin</th>
+ <th>Points</th>
+ </tr>
+ </thead>
+ <tbody>
+ <template is="dom-repeat" items="{{engagementInfo}}" as="info">
+ <tr>
+ <td class="origin-cell">{{info.origin}}</td>
+ <td>{{info.score}}</td>
+ </tr>
+ </template>
+ </tbody>
+ </table>
+ </template>
+</dom-module>
+<script src="engagement_table.js"></script>

Powered by Google App Engine
This is Rietveld 408576698