OLD | NEW |
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 // CertificateManagerTab class: | 10 // CertificateManagerTab class: |
(...skipping 143 matching lines...) Loading... |
154 | 154 |
155 cr.addSingletonGetter(CertificateManager); | 155 cr.addSingletonGetter(CertificateManager); |
156 | 156 |
157 CertificateManager.prototype = { | 157 CertificateManager.prototype = { |
158 __proto__: OptionsPage.prototype, | 158 __proto__: OptionsPage.prototype, |
159 | 159 |
160 initializePage: function() { | 160 initializePage: function() { |
161 OptionsPage.prototype.initializePage.call(this); | 161 OptionsPage.prototype.initializePage.call(this); |
162 | 162 |
163 this.personalTab = new CertificateManagerTab('personalCertsTab'); | 163 this.personalTab = new CertificateManagerTab('personalCertsTab'); |
164 this.emailTab = new CertificateManagerTab('emailCertsTab'); | |
165 this.serverTab = new CertificateManagerTab('serverCertsTab'); | 164 this.serverTab = new CertificateManagerTab('serverCertsTab'); |
166 this.caTab = new CertificateManagerTab('caCertsTab'); | 165 this.caTab = new CertificateManagerTab('caCertsTab'); |
167 this.otherTab = new CertificateManagerTab('otherCertsTab'); | 166 this.otherTab = new CertificateManagerTab('otherCertsTab'); |
168 | 167 |
169 this.addEventListener('visibleChange', this.handleVisibleChange_); | 168 this.addEventListener('visibleChange', this.handleVisibleChange_); |
170 }, | 169 }, |
171 | 170 |
172 initalized_: false, | 171 initalized_: false, |
173 | 172 |
174 /** | 173 /** |
(...skipping 22 matching lines...) Loading... |
197 CertificateRestoreOverlay.show(); | 196 CertificateRestoreOverlay.show(); |
198 }; | 197 }; |
199 | 198 |
200 // Export | 199 // Export |
201 return { | 200 return { |
202 CertificateManagerTab: CertificateManagerTab, | 201 CertificateManagerTab: CertificateManagerTab, |
203 CertificateManager: CertificateManager | 202 CertificateManager: CertificateManager |
204 }; | 203 }; |
205 | 204 |
206 }); | 205 }); |
OLD | NEW |