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

Side by Side Diff: chrome/browser/resources/options2/password_manager.js

Issue 10391044: retry 136193 - convert localStrings to loadTimeData for options page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 7 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 | Annotate | Revision Log
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 /** @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 // PasswordManager class: 10 // PasswordManager class:
11 11
12 /** 12 /**
13 * Encapsulated handling of password and exceptions page. 13 * Encapsulated handling of password and exceptions page.
14 * @constructor 14 * @constructor
15 */ 15 */
16 function PasswordManager() { 16 function PasswordManager() {
17 this.activeNavTab = null; 17 this.activeNavTab = null;
18 OptionsPage.call(this, 18 OptionsPage.call(this,
19 'passwords', 19 'passwords',
20 templateData.passwordsPageTabTitle, 20 loadTimeData.getString('passwordsPageTabTitle'),
21 'password-manager'); 21 'password-manager');
22 } 22 }
23 23
24 cr.addSingletonGetter(PasswordManager); 24 cr.addSingletonGetter(PasswordManager);
25 25
26 PasswordManager.prototype = { 26 PasswordManager.prototype = {
27 __proto__: OptionsPage.prototype, 27 __proto__: OptionsPage.prototype,
28 28
29 /** 29 /**
30 * The saved passwords list. 30 * The saved passwords list.
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 PasswordManager.setPasswordExceptionsList = function(entries) { 221 PasswordManager.setPasswordExceptionsList = function(entries) {
222 PasswordManager.getInstance().setPasswordExceptionsList_(entries); 222 PasswordManager.getInstance().setPasswordExceptionsList_(entries);
223 }; 223 };
224 224
225 // Export 225 // Export
226 return { 226 return {
227 PasswordManager: PasswordManager 227 PasswordManager: PasswordManager
228 }; 228 };
229 229
230 }); 230 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options2/options_page.js ('k') | chrome/browser/resources/options2/password_manager_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698