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

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

Issue 3086017: Add tabs to passwords and exceptions subpage (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: add todo for mac Created 10 years, 4 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 OptionsPage = options.OptionsPage; 7 var OptionsPage = options.OptionsPage;
8 8
9 ///////////////////////////////////////////////////////////////////////////// 9 /////////////////////////////////////////////////////////////////////////////
10 // PasswordsExceptions class: 10 // PasswordsExceptions 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 PasswordsExceptions() { 16 function PasswordsExceptions() {
17 this.activeNavTab = null;
17 OptionsPage.call(this, 'passwordsExceptions', 18 OptionsPage.call(this, 'passwordsExceptions',
18 templateData.passwordsExceptionsTitle, 19 templateData.passwordsExceptionsTitle,
19 'passwordsExceptionsPage'); 20 'passwordsExceptionsPage');
20 } 21 }
21 22
22 cr.addSingletonGetter(PasswordsExceptions); 23 cr.addSingletonGetter(PasswordsExceptions);
23 24
24 PasswordsExceptions.prototype = { 25 PasswordsExceptions.prototype = {
25 __proto__: OptionsPage.prototype, 26 __proto__: OptionsPage.prototype,
26 27
27 initializePage: function() { 28 initializePage: function() {
28 OptionsPage.prototype.initializePage.call(this); 29 OptionsPage.prototype.initializePage.call(this);
29 30
30 // TODO(sargrass): Add initialization here. 31 // TODO(sargrass): Passwords filter page --------------------------
31 } 32
33 // TODO(sargrass): Exceptions filter page -------------------------
34
35 },
32 }; 36 };
33 37
34 // Export 38 // Export
35 return { 39 return {
36 PasswordsExceptions: PasswordsExceptions 40 PasswordsExceptions: PasswordsExceptions
37 }; 41 };
38 42
39 }); 43 });
40 44
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/passwords_exceptions.html ('k') | chrome/browser/resources/options/personal_options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698