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

Side by Side Diff: chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.js

Issue 1863733003: MD Settings: Certificate manager, implement importing CA certificate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove hasOwnProperty. Created 4 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 /** 5 /**
6 * @fileoverview settings-certificate-subentry represents an SSL certificate 6 * @fileoverview settings-certificate-subentry represents an SSL certificate
7 * sub-entry. 7 * sub-entry.
8 */ 8 */
9 9
10 /** 10 /**
11 * The payload of the certificate-action event that is emitted from this 11 * The payload of the certificate-action event that is emitted from this
12 * component. 12 * component.
13 * @typedef {{ 13 * @typedef {{
14 * action: !settings.CertificateAction, 14 * action: !settings.CertificateAction,
15 * subnode: ?CertificateSubnode, 15 * subnode: null|CertificateSubnode|NewCertificateSubNode,
16 * certificateType: !settings.CertificateType 16 * certificateType: !settings.CertificateType
17 * }} 17 * }}
18 */ 18 */
19 var CertificateActionEventDetail; 19 var CertificateActionEventDetail;
20 20
21 cr.define('settings', function() { 21 cr.define('settings', function() {
22 /** 22 /**
23 * Enumeration of actions that require a popup menu to be shown to the user. 23 * Enumeration of actions that require a popup menu to be shown to the user.
24 * @enum {number} 24 * @enum {number}
25 */ 25 */
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 */ 147 */
148 canEdit_: function(certificateType) { 148 canEdit_: function(certificateType) {
149 return this.certificateType == settings.CertificateType.CA; 149 return this.certificateType == settings.CertificateType.CA;
150 }, 150 },
151 151
152 /** @private */ 152 /** @private */
153 closePopupMenu_: function() { 153 closePopupMenu_: function() {
154 this.$$('iron-dropdown').close(); 154 this.$$('iron-dropdown').close();
155 }, 155 },
156 }); 156 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698