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

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

Issue 1341463002: Add on_startup_page/compiled_resources.gyp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: currentRoute -> Object Created 5 years, 3 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 * 'cr-settings-internet-page' is the settings page containing internet 7 * 'cr-settings-internet-page' is the settings page containing internet
8 * settings. 8 * settings.
9 * 9 *
10 * Example: 10 * Example:
11 * 11 *
12 * <core-animated-pages> 12 * <core-animated-pages>
13 * <cr-settings-internet-page prefs='{{prefs}}'> 13 * <cr-settings-internet-page prefs='{{prefs}}'>
14 * </cr-settings-internet-page> 14 * </cr-settings-internet-page>
15 * ... other pages ... 15 * ... other pages ...
16 * </core-animated-pages> 16 * </core-animated-pages>
17 * 17 *
18 * @group Chrome Settings Elements 18 * @group Chrome Settings Elements
19 * @element cr-settings-internet-page 19 * @element cr-settings-internet-page
20 */ 20 */
21 Polymer({ 21 Polymer({
22 is: 'cr-settings-internet-page', 22 is: 'cr-settings-internet-page',
23 23
24 properties: { 24 properties: {
25 /** 25 /**
26 * The current active route. 26 * The current active route.
27 */ 27 */
28 currentRoute: { 28 currentRoute: {
29 type: Array, 29 type: Object,
30 notify: true, 30 notify: true,
31 }, 31 },
32 32
33 /** 33 /**
34 * The network GUID for the detail subpage. 34 * The network GUID for the detail subpage.
35 */ 35 */
36 detailGuid: { 36 detailGuid: {
37 type: String, 37 type: String,
38 value: '', 38 value: '',
39 }, 39 },
(...skipping 24 matching lines...) Expand all
64 /** 64 /**
65 * @param {!{detail: {type: string}}} event 65 * @param {!{detail: {type: string}}} event
66 * @private 66 * @private
67 */ 67 */
68 onShowKnownNetworks_: function(event) { 68 onShowKnownNetworks_: function(event) {
69 this.knownNetworksType = event.detail.type; 69 this.knownNetworksType = event.detail.type;
70 this.$.pages.setSubpageChain(['known-networks']); 70 this.$.pages.setSubpageChain(['known-networks']);
71 }, 71 },
72 72
73 }); 73 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698