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

Unified Diff: chrome/browser/resources/settings/settings_page/settings_section.html

Issue 1241363002: Settings Rewrite: Make a common settings-section component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0300-webui-settings-structure
Patch Set: Created 5 years, 5 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/settings/settings_page/settings_section.html
diff --git a/chrome/browser/resources/settings/settings_page/settings_section.html b/chrome/browser/resources/settings/settings_page/settings_section.html
new file mode 100644
index 0000000000000000000000000000000000000000..21daf2247373d0cca7ff3782ebc1ce41ea130395
--- /dev/null
+++ b/chrome/browser/resources/settings/settings_page/settings_section.html
@@ -0,0 +1,19 @@
+<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-material.html">
+
+<dom-module id="cr-settings-section">
+ <link rel="import" type="css" href="settings_section.css">
+ <template>
+ <paper-material>
+ <div header>
+ <iron-icon icon="[[icon]]"></iron-icon>
+ <div class="title">[[pageTitle]]</div>
michaelpg 2015/07/21 22:04:01 wat
tommycli 2015/07/22 19:06:42 Done.
+ </div>
+ <div class="content">
+ <content></content>
+ </div>
+ </paper-material>
+ </template>
+ <script src="settings_section.js"></script>
+</dom-module>

Powered by Google App Engine
This is Rietveld 408576698