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

Side by Side Diff: chrome/browser/resources/settings/settings_ui/settings_ui.js

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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 /**
6 * @fileoverview
7 * 'cr-settings-ui' implements the UI for the Settings page.
8 *
9 * Example:
10 *
11 * <cr-settings-ui prefs="{{prefs}}"></cr-settings-ui>
12 *
13 * @group Chrome Settings Elements
14 * @element cr-settings-ui
15 */
16 Polymer('cr-settings-ui', {
17 publish: {
18 /**
19 * Preferences state.
20 *
21 * @attribute prefs
22 * @type CrSettingsPrefsElement
23 * @default null
24 */
25 prefs: null,
26
27 /**
28 * Ordered list of settings pages available to the user.
29 *
30 * To avoid unnecessary DOM manipulation, prefer using Array.prototype
Jeremy Klein 2015/03/12 02:11:18 Is this comment still applicable if we add the pag
michaelpg 2015/03/12 06:29:37 Done.
31 * functions on this attribute rather than replacing it with a new array
32 * after setting the attribute initially.
33 *
34 * @attribute pages
35 * @type Array<!Object>
36 * @default null
37 */
38 pages: null,
39 },
40
41 /** @override */
42 created: function() {
43 this.pages = [];
44 },
45 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698