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

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

Issue 2156413002: Settings Router Refactor: Migrate to settings.Route.navigateTo calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update for route rename Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * 'settings-advanced-page' is the settings page containing the advanced 7 * 'settings-advanced-page' is the settings page containing the advanced
8 * settings. 8 * settings.
9 */ 9 */
10 Polymer({ 10 Polymer({
11 is: 'settings-advanced-page', 11 is: 'settings-advanced-page',
12 12
13 behaviors: [SettingsPageVisibility, RoutableBehavior], 13 behaviors: [SettingsPageVisibility, RoutableBehavior],
14 14
15 properties: { 15 properties: {
16 /** 16 /**
17 * Preferences state. 17 * Preferences state.
18 */ 18 */
19 prefs: { 19 prefs: {
20 type: Object, 20 type: Object,
21 notify: true, 21 notify: true,
22 }, 22 },
23 23
24 /** 24 /**
25 * The current active route. 25 * The current active route.
26 * @type {SettingsRoute} 26 * @type {settings.Route}
27 */ 27 */
28 currentRoute: { 28 currentRoute: {
29 type: Object, 29 type: Object,
30 notify: true, 30 notify: true,
31 }, 31 },
32 }, 32 },
33 33
34 /** 34 /**
35 * @type {string} Selector to get the sections. 35 * @type {string} Selector to get the sections.
36 * TODO(michaelpg): replace duplicate docs with @override once b/24294625 36 * TODO(michaelpg): replace duplicate docs with @override once b/24294625
37 * is fixed. 37 * is fixed.
38 */ 38 */
39 sectionSelector: 'settings-section', 39 sectionSelector: 'settings-section',
40 }); 40 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698