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

Unified Diff: chrome/browser/resources/md_flags/flag.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/flag.css ('k') | chrome/browser/resources/md_flags/flag.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_flags/flag.html
diff --git a/chrome/browser/resources/md_flags/flag.html b/chrome/browser/resources/md_flags/flag.html
new file mode 100644
index 0000000000000000000000000000000000000000..cedcf50fc6323f05d7607b36c2670682f64f178e
--- /dev/null
+++ b/chrome/browser/resources/md_flags/flag.html
@@ -0,0 +1,20 @@
+<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="chrome://resources/polymer/v1_0/paper-toggle-button/paper-toggle-button.html">
+
+<dom-module id="flags-flag">
+ <!-- TODO(dschuyler): fix deprecated style import -->
+ <link rel="import" type="css" href="flag.css">
+ <template>
+ <div class="layout horizontal center">
+ <paper-toggle-button checked="{{enabled}}"></paper-toggle-button>
+ <div class="layout vertical">
+ <h1 class$="[[getTitleClass_(enabled)]]">
+ [[displayName]] <span class="flag-id">[[flagId]]</span>
+ </h1>
+ <div>[[description]]</div>
+ </div>
+ </div>
+ </template>
+ <script src="flag.js"></script>
+</dom-module>
« no previous file with comments | « chrome/browser/resources/md_flags/flag.css ('k') | chrome/browser/resources/md_flags/flag.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698