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

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: some fixes 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..b4686e0ae6e2750007a1e32aab1ac6f27eab4031
--- /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">
+<link rel="import" href="chrome://resources/polymer/paper-shadow/paper-shadow.html">
+
+<polymer-element name="cr-settings-main">
+ <template>
+ <link rel="stylesheet" href="settings_main.css">
+ <div id="container">
+ <paper-shadow>
+ <core-animated-pages id="pages" selected="{{selectedPageId}}"
Kyle Horimoto 2015/03/12 18:57:35 nit: Do you think it would be better to give this
michaelpg 2015/03/13 00:47:01 Good idea. I used 'pageContainer'.
+ valueattr="PAGE_ID" transitions="cross-fade">
Jeremy Klein 2015/03/12 06:46:36 For the cross-fade, are you just thinking we'll ad
michaelpg 2015/03/13 00:47:01 No, we'll wrap the entire page in a <section cross
Jeremy Klein 2015/03/13 00:49:31 Cool, that works too. Thanks.
+ <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