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

Unified Diff: chrome/browser/resources/md_flags/flags_table.html

Issue 1223793018: Fake MD Flags sample WebUI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, update to GYP v2 Created 4 years, 10 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
« no previous file with comments | « chrome/browser/resources/md_flags/flags_table.css ('k') | chrome/browser/resources/md_flags/flags_table.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_flags/flags_table.html
diff --git a/chrome/browser/resources/md_flags/flags_table.html b/chrome/browser/resources/md_flags/flags_table.html
new file mode 100644
index 0000000000000000000000000000000000000000..e2b33cd1bb88dd46aabd67748f52293529d78560
--- /dev/null
+++ b/chrome/browser/resources/md_flags/flags_table.html
@@ -0,0 +1,17 @@
+<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classes/iron-flex-layout.html">
+<link rel="import" href="flag.html">
+
+<dom-module id="flags-table">
+ <!-- TODO(dschuyler): fix deprecated style import -->
+ <link rel="import" type="css" href="flags_table.css">
+ <template>
+ <div class="layout vertical">
+ <template is="dom-repeat" items="{{flags}}">
+ <flags-flag flag-id="[[item.id]]" displayName="[[item.name]]"
+ description="[[item.description]]" enabled="{{item.enabled}}">
+ </flags-flag>
+ </template>
+ </template>
+ <script src="flags_table.js"></script>
+</dom-module>
« no previous file with comments | « chrome/browser/resources/md_flags/flags_table.css ('k') | chrome/browser/resources/md_flags/flags_table.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698