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

Unified Diff: chrome/browser/resources/md_policy/policy_group.html

Issue 1371073003: Display material design policies grouped by tags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Extracting PolicyUi + Renaming. Created 5 years, 2 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/md_policy/policy_group.html
diff --git a/chrome/browser/resources/md_policy/policy_group.html b/chrome/browser/resources/md_policy/policy_group.html
new file mode 100644
index 0000000000000000000000000000000000000000..ed307504dfda2350ab0edd91f92f5684b50fbb9d
--- /dev/null
+++ b/chrome/browser/resources/md_policy/policy_group.html
@@ -0,0 +1,15 @@
+
+<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
+
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-card/paper-card.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/typography.html">
+
+<dom-module id="policy-group">
+ <link rel="import" type="css" href="chrome://md-policy/policy_group.css">
+ <template>
+ <paper-card heading="[[riskTag]]" aria-label="[[riskTag]]">
+ <div id="content" class="card-content"></div>
stevenjb 2015/10/07 17:09:32 Is class needed here?
fhorschig 2015/10/08 09:35:45 It is. Otherwise, the paper-card won't recognize t
stevenjb 2015/10/08 17:12:39 Oh, I see, that's a Polymer class. Got it.
+ </paper-card>
+ </template>
+ <script src="chrome://md-policy/policy_group.js"></script>
+</dom-module>

Powered by Google App Engine
This is Rietveld 408576698