OLD | NEW |
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 /** @const */ var OptionsPage = options.OptionsPage; | 6 /** @const */ var OptionsPage = options.OptionsPage; |
7 /** @const */ var ArrayDataModel = cr.ui.ArrayDataModel; | 7 /** @const */ var ArrayDataModel = cr.ui.ArrayDataModel; |
8 | 8 |
9 /** | 9 /** |
10 * Encapsulated handling of search engine management page. | 10 * Encapsulated handling of search engine management page. |
(...skipping 22 matching lines...) Expand all Loading... |
33 * @private | 33 * @private |
34 */ | 34 */ |
35 othersList_: null, | 35 othersList_: null, |
36 | 36 |
37 /** | 37 /** |
38 * List for extension keywords. | 38 * List for extension keywords. |
39 * @private | 39 * @private |
40 */ | 40 */ |
41 extensionList_: null, | 41 extensionList_: null, |
42 | 42 |
43 /** inheritDoc */ | 43 /** @override */ |
44 initializePage: function() { | 44 initializePage: function() { |
45 OptionsPage.prototype.initializePage.call(this); | 45 OptionsPage.prototype.initializePage.call(this); |
46 | 46 |
47 this.defaultsList_ = $('default-search-engine-list'); | 47 this.defaultsList_ = $('default-search-engine-list'); |
48 this.setUpList_(this.defaultsList_); | 48 this.setUpList_(this.defaultsList_); |
49 | 49 |
50 this.othersList_ = $('other-search-engine-list'); | 50 this.othersList_ = $('other-search-engine-list'); |
51 this.setUpList_(this.othersList_); | 51 this.setUpList_(this.othersList_); |
52 | 52 |
53 this.extensionList_ = $('extension-keyword-list'); | 53 this.extensionList_ = $('extension-keyword-list'); |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 validity, modelIndex); | 122 validity, modelIndex); |
123 }; | 123 }; |
124 | 124 |
125 // Export | 125 // Export |
126 return { | 126 return { |
127 SearchEngineManager: SearchEngineManager | 127 SearchEngineManager: SearchEngineManager |
128 }; | 128 }; |
129 | 129 |
130 }); | 130 }); |
131 | 131 |
OLD | NEW |