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

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

Issue 2792663002: MD Settings: Restore focus after closing dialogs, for certificate page. (Closed)
Patch Set: Add better explanation for |anchor| parameter in openDialog_ Created 3 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 Closure compiler typedefs. 6 * @fileoverview Closure compiler typedefs.
7 */ 7 */
8 8
9 /** 9 /**
10 * The payload of the certificate-action event that is emitted from this 10 * The payload of the 'certificate-action' event.
11 * component.
12 * @typedef {{ 11 * @typedef {{
13 * action: !CertificateAction, 12 * action: !CertificateAction,
14 * subnode: (null|CertificateSubnode|NewCertificateSubNode), 13 * subnode: (null|CertificateSubnode|NewCertificateSubNode),
15 * certificateType: !CertificateType 14 * certificateType: !CertificateType,
15 * anchor: !HTMLElement
16 * }} 16 * }}
17 */ 17 */
18 var CertificateActionEventDetail; 18 var CertificateActionEventDetail;
19 19
20 /** 20 /**
21 * The payload of the 'certificates-error' event.
22 * @typedef {{
23 * error: (null|CertificatesError|CertificatesImportError),
24 * anchor: ?HTMLElement
25 * }}
26 */
27 var CertificatesErrorEventDetail;
28
29 /**
21 * Enumeration of actions that require a popup menu to be shown to the user. 30 * Enumeration of actions that require a popup menu to be shown to the user.
22 * @enum {number} 31 * @enum {number}
23 */ 32 */
24 var CertificateAction = { 33 var CertificateAction = {
25 DELETE: 0, 34 DELETE: 0,
26 EDIT: 1, 35 EDIT: 1,
27 EXPORT_PERSONAL: 2, 36 EXPORT_PERSONAL: 2,
28 IMPORT: 3, 37 IMPORT: 3,
29 }; 38 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698