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

Side by Side Diff: chrome/browser/resources/options/chromeos/preferred_networks.js

Issue 553573003: Compile chrome://settings, part 3: 167 proper errors left (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@G_options_errors_1
Patch Set: rebase Created 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 cr.define('options', function() { 5 cr.define('options', function() {
6 6
7 var Page = cr.ui.pageManager.Page; 7 var Page = cr.ui.pageManager.Page;
8 var PageManager = cr.ui.pageManager.PageManager; 8 var PageManager = cr.ui.pageManager.PageManager;
9 var ArrayDataModel = cr.ui.ArrayDataModel; 9 var ArrayDataModel = cr.ui.ArrayDataModel;
10 var DeletableItem = options.DeletableItem; 10 var DeletableItem = options.DeletableItem;
11 var DeletableItemList = options.DeletableItemList; 11 var DeletableItemList = options.DeletableItemList;
12 12
13 ///////////////////////////////////////////////////////////////////////////// 13 /////////////////////////////////////////////////////////////////////////////
14 // NetworkPreferences class: 14 // NetworkPreferences class:
15 15
16 /** 16 /**
17 * Encapsulated handling of ChromeOS network preferences page. 17 * Encapsulated handling of ChromeOS network preferences page.
18 * @constructor 18 * @constructor
19 * @extends {cr.ui.pageManager.Page}
19 */ 20 */
20 function PreferredNetworks(model) { 21 function PreferredNetworks(model) {
21 Page.call(this, 'preferredNetworksPage', null, 'preferredNetworksPage'); 22 Page.call(this, 'preferredNetworksPage', null, 'preferredNetworksPage');
22 } 23 }
23 24
24 cr.addSingletonGetter(PreferredNetworks); 25 cr.addSingletonGetter(PreferredNetworks);
25 26
26 PreferredNetworks.prototype = { 27 PreferredNetworks.prototype = {
27 __proto__: Page.prototype, 28 __proto__: Page.prototype,
28 29
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 this.dataModel.push(data); 147 this.dataModel.push(data);
147 } 148 }
148 }; 149 };
149 150
150 // Export 151 // Export
151 return { 152 return {
152 PreferredNetworks: PreferredNetworks 153 PreferredNetworks: PreferredNetworks
153 }; 154 };
154 155
155 }); 156 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/chromeos/onc_data.js ('k') | chrome/browser/resources/options/chromeos/proxy_rules_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698