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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/certificate_manager_page/certificate_manager_types.js
diff --git a/chrome/browser/resources/settings/certificate_manager_page/certificate_manager_types.js b/chrome/browser/resources/settings/certificate_manager_page/certificate_manager_types.js
index 44c397c5a18d174a0ebe71e398974cc2d72f689a..6063848b6a08e94d584b8f52845f1a5f737576e4 100644
--- a/chrome/browser/resources/settings/certificate_manager_page/certificate_manager_types.js
+++ b/chrome/browser/resources/settings/certificate_manager_page/certificate_manager_types.js
@@ -7,17 +7,26 @@
*/
/**
- * The payload of the certificate-action event that is emitted from this
- * component.
+ * The payload of the 'certificate-action' event.
* @typedef {{
* action: !CertificateAction,
* subnode: (null|CertificateSubnode|NewCertificateSubNode),
- * certificateType: !CertificateType
+ * certificateType: !CertificateType,
+ * anchor: !HTMLElement
* }}
*/
var CertificateActionEventDetail;
/**
+ * The payload of the 'certificates-error' event.
+ * @typedef {{
+ * error: (null|CertificatesError|CertificatesImportError),
+ * anchor: ?HTMLElement
+ * }}
+ */
+var CertificatesErrorEventDetail;
+
+/**
* Enumeration of actions that require a popup menu to be shown to the user.
* @enum {number}
*/

Powered by Google App Engine
This is Rietveld 408576698