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

Unified Diff: ui/file_manager/file_manager/foreground/js/ui/conflict_dialog.js

Issue 651403002: Fix trivial type-check errors in file_manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and correct a comment. Created 6 years, 2 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: ui/file_manager/file_manager/foreground/js/ui/conflict_dialog.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/conflict_dialog.js b/ui/file_manager/file_manager/foreground/js/ui/conflict_dialog.js
index 90893943cf8ed0e2fafe73492920ce147f57d2a3..3c805300f32108a4e7528fc83542f29be9972a73 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/conflict_dialog.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/conflict_dialog.js
@@ -19,14 +19,14 @@ function ConflictDialog(parentNode) {
* argument is which button is pressed. The second argument is whether to
* apply all or not.
*
- * @type {function(ConflictDialog.Result, boolean)}
+ * @type {?function(ConflictDialog.Result, boolean)}
* @private
*/
this.callback_ = null;
/**
* Checkbox to specify whether to apply the selection to all entries or not.
- * @type {HTMLElement}
+ * @type {Element}
* @private
*/
this.applyAllCheckbox_ = parentNode.ownerDocument.createElement('input');
@@ -40,7 +40,7 @@ function ConflictDialog(parentNode) {
/**
* Element of the keep both button.
- * @type {HTMLElement}
+ * @type {Element}
* @private
*/
this.keepBothButton_ = parentNode.ownerDocument.createElement('button');
@@ -51,7 +51,7 @@ function ConflictDialog(parentNode) {
/**
* Element of the replace button.
- * @type {HTMLElement}
+ * @type {Element}
* @private
*/
this.replaceButton_ = parentNode.ownerDocument.createElement('button');

Powered by Google App Engine
This is Rietveld 408576698