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

Unified Diff: chrome/browser/resources/settings/certificate_manager_page/ca_trust_edit_dialog.js

Issue 2114663004: [MD settings] cast elements to cr_dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/certificate_manager_page/certificate_delete_confirmation_dialog.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/certificate_manager_page/ca_trust_edit_dialog.js
diff --git a/chrome/browser/resources/settings/certificate_manager_page/ca_trust_edit_dialog.js b/chrome/browser/resources/settings/certificate_manager_page/ca_trust_edit_dialog.js
index a7071316ccca947a7383236491b38c03bd52b514..08de7fa22f40107586c5e7665192649b8cabac23 100644
--- a/chrome/browser/resources/settings/certificate_manager_page/ca_trust_edit_dialog.js
+++ b/chrome/browser/resources/settings/certificate_manager_page/ca_trust_edit_dialog.js
@@ -46,13 +46,13 @@ Polymer({
this.$.dialog.open();
}.bind(this));
} else {
- this.$.dialog.open();
+ /** @type {!CrDialogElement} */ (this.$.dialog).open();
}
},
/** @private */
onCancelTap_: function() {
- this.$.dialog.close();
+ /** @type {!CrDialogElement} */ (this.$.dialog).close();
},
/** @private */
@@ -68,11 +68,11 @@ Polymer({
whenDone.then(function() {
this.$.spinner.active = false;
- this.$.dialog.close();
+ /** @type {!CrDialogElement} */ (this.$.dialog).close();
}.bind(this),
/** @param {!CertificatesError} error */
function(error) {
- this.$.dialog.close();
+ /** @type {!CrDialogElement} */ (this.$.dialog).close();
this.fire('certificates-error', error);
}.bind(this));
},
« no previous file with comments | « no previous file | chrome/browser/resources/settings/certificate_manager_page/certificate_delete_confirmation_dialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698