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

Unified Diff: chrome/browser/resources/settings/settings_main/settings_main.html

Issue 981203007: Scaffold for MD-Settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback. Update core-selected-pages usage. Created 5 years, 9 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_main/settings_main.html
diff --git a/chrome/browser/resources/settings/settings_main/settings_main.html b/chrome/browser/resources/settings/settings_main/settings_main.html
new file mode 100644
index 0000000000000000000000000000000000000000..11a57b9608bc4dc3675a6040003484ead69c7553
--- /dev/null
+++ b/chrome/browser/resources/settings/settings_main/settings_main.html
@@ -0,0 +1,19 @@
+<link rel="import" href="chrome://resources/polymer/polymer/polymer.html">
+<link rel="import" href="chrome://resources/polymer/core-animated-pages/core-animated-pages.html">
+<link rel="import" href="chrome://resources/polymer/core-transition/core-transition.html">
+
+<polymer-element name="cr-settings-main">
+ <template>
+ <link rel="stylesheet" href="settings_main.css">
+ <div id="container">
+ <paper-shadow flex>
Jeremy Klein 2015/03/12 02:11:18 Do we want flex or fit here? The container doesn't
michaelpg 2015/03/12 06:29:37 Spot on. Removed for now, thanks.
+ <core-animated-pages id="pages" selected="{{selectedPageId}}"
+ valueattr="PAGE_ID" excludeLocalNames="template"
Jeremy Klein 2015/03/12 02:11:18 nit: not sure you need the excludedLocalNames any
michaelpg 2015/03/12 06:29:37 Done.
+ transitions="cross-fade">
+ <cr-settings-a11y-page prefs="{{prefs}}"></cr-settings-a11y-page>
+ </core-animated-pages>
+ </paper-shadow>
+ </div>
+ </template>
+ <script src="settings_main.js"></script>
+</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698