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

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

Issue 1775803002: MD Settings: add a semi-functional System page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v2-md_history
Patch Set: stevenjb@ review Created 4 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
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 * Example: 10 * Example:
(...skipping 21 matching lines...) Expand all
32 32
33 /** 33 /**
34 * The current active route. 34 * The current active route.
35 */ 35 */
36 currentRoute: { 36 currentRoute: {
37 type: Object, 37 type: Object,
38 notify: true, 38 notify: true,
39 }, 39 },
40 }, 40 },
41 41
42 <if expr="not chromeos">
43 listeners: {
44 'dom-change': 'onDomChange_',
45 },
46
47 /** @private */
48 onDomChange_: function() {
49 var systemPage = /** @type {?SystemPageElement} */(
50 this.$$('settings-system-page'));
51 if (systemPage && !systemPage.delegate)
52 systemPage.delegate = new settings.SystemPageDelegateImpl;
53 },
54 </if>
55
42 behaviors: [I18nBehavior, SettingsPageVisibility], 56 behaviors: [I18nBehavior, SettingsPageVisibility],
43 }); 57 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698