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

Side by Side Diff: chrome/browser/resources/options/extension_settings.js

Issue 8353022: [web-ui settings] Fixes and improvements for settings page searching. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Rebase for commit queue Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Used for observing function of the backend datasource for this page by 5 // Used for observing function of the backend datasource for this page by
6 // tests. 6 // tests.
7 var webui_responded_ = false; 7 var webui_responded_ = false;
8 8
9 cr.define('options', function() { 9 cr.define('options', function() {
10 var OptionsPage = options.OptionsPage; 10 var OptionsPage = options.OptionsPage;
11 var ExtensionsList = options.ExtensionsList; 11 var ExtensionsList = options.ExtensionsList;
12 12
13 /** 13 /**
14 * ExtensionSettings class 14 * ExtensionSettings class
15 * Encapsulated handling of the 'Manage Extensions' page. 15 * Encapsulated handling of the 'Manage Extensions' page.
16 * @class 16 * @class
17 */ 17 */
18 function ExtensionSettings() { 18 function ExtensionSettings() {
19 OptionsPage.call(this, 19 OptionsPage.call(this, 'extensions',
20 'extensions', 20 templateData.extensionSettingsTabTitle,
21 templateData.extensionSettingsTitle,
22 'extension-settings'); 21 'extension-settings');
23 } 22 }
24 23
25 cr.addSingletonGetter(ExtensionSettings); 24 cr.addSingletonGetter(ExtensionSettings);
26 25
27 ExtensionSettings.prototype = { 26 ExtensionSettings.prototype = {
28 __proto__: OptionsPage.prototype, 27 __proto__: OptionsPage.prototype,
29 28
30 /** 29 /**
31 * Initialize the page. 30 * Initialize the page.
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 175
177 var extensionList = $('extension-settings-list'); 176 var extensionList = $('extension-settings-list');
178 ExtensionsList.decorate(extensionList); 177 ExtensionsList.decorate(extensionList);
179 } 178 }
180 179
181 // Export 180 // Export
182 return { 181 return {
183 ExtensionSettings: ExtensionSettings 182 ExtensionSettings: ExtensionSettings
184 }; 183 };
185 }); 184 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/extension_settings.html ('k') | chrome/browser/resources/options/options_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698