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

Unified Diff: chrome/browser/resources/options/certificate_manager.js

Issue 780773002: Fix some closure compilation issues 8n order to update compiler.jar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: roll back *.jar Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/ntp4/dot_list.js ('k') | chrome/browser/resources/options/compiled_resources.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/certificate_manager.js
diff --git a/chrome/browser/resources/options/certificate_manager.js b/chrome/browser/resources/options/certificate_manager.js
index 8b8287a4d16538256dcd0d41dfcd6fe415a5d346..8e9cad6115881b57a0bb073a0f989b4e1b3045c5 100644
--- a/chrome/browser/resources/options/certificate_manager.js
+++ b/chrome/browser/resources/options/certificate_manager.js
@@ -172,7 +172,7 @@ cr.define('options', function() {
* @constructor
* @extends {cr.ui.pageManager.Page}
*/
- function CertificateManager(model) {
+ function CertificateManager() {
Page.call(this, 'certificates',
loadTimeData.getString('certificateManagerPageTabTitle'),
'certificateManagerPage');
@@ -183,15 +183,24 @@ cr.define('options', function() {
CertificateManager.prototype = {
__proto__: Page.prototype,
+ /** @private {boolean} */
+ isKiosk_: false,
+
+ /** @param {boolean} isKiosk */
+ setIsKiosk: function(isKiosk) {
+ this.isKiosk_ = isKiosk;
+ },
+
/** @override */
- initializePage: function(isKiosk) {
+ initializePage: function() {
Page.prototype.initializePage.call(this);
this.personalTab = new CertificateManagerTab('personalCertsTab',
- !!isKiosk);
- this.serverTab = new CertificateManagerTab('serverCertsTab', !!isKiosk);
- this.caTab = new CertificateManagerTab('caCertsTab', !!isKiosk);
- this.otherTab = new CertificateManagerTab('otherCertsTab', !!isKiosk);
+ this.isKiosk_);
+ this.serverTab = new CertificateManagerTab('serverCertsTab',
+ this.isKiosk_);
+ this.caTab = new CertificateManagerTab('caCertsTab', this.isKiosk_);
+ this.otherTab = new CertificateManagerTab('otherCertsTab', this.isKiosk_);
this.addEventListener('visibleChange', this.handleVisibleChange_);
« no previous file with comments | « chrome/browser/resources/ntp4/dot_list.js ('k') | chrome/browser/resources/options/compiled_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698