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

Unified Diff: chrome/browser/resources/print_preview/native_layer.js

Issue 595153003: Compile print_preview, part 5: reduce down to 104 errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@I_print_preview_4
Patch Set: revert movement of enums: now handle in compiler pass Created 6 years, 3 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/print_preview/native_layer.js
diff --git a/chrome/browser/resources/print_preview/native_layer.js b/chrome/browser/resources/print_preview/native_layer.js
index 7fc53facab09edae98570e83b7330901f663539e..0598c6aa3afc6340142c702be238559651e8110b 100644
--- a/chrome/browser/resources/print_preview/native_layer.js
+++ b/chrome/browser/resources/print_preview/native_layer.js
@@ -209,7 +209,7 @@ cr.define('print_preview', function() {
* - PAGE_PREVIEW_READY
* - PREVIEW_GENERATION_DONE
* - PREVIEW_GENERATION_FAIL
- * @param {print_preview.Destination} destination Destination to print to.
+ * @param {!print_preview.Destination} destination Destination to print to.
* @param {!print_preview.PrintTicketStore} printTicketStore Used to get the
* state of the print ticket.
* @param {!print_preview.DocumentInfo} documentInfo Document data model.
@@ -835,7 +835,7 @@ cr.define('print_preview', function() {
/**
* Unit type of local machine's measurement system.
- * @type {string}
+ * @type {print_preview.MeasurementSystem.UnitType}
* @private
*/
this.unitType_ = unitType;
@@ -856,14 +856,14 @@ cr.define('print_preview', function() {
/**
* Whether the document has selection.
- * @type {string}
+ * @type {boolean}
* @private
*/
this.documentHasSelection_ = documentHasSelection;
/**
* Whether selection only should be printed.
- * @type {string}
+ * @type {boolean}
* @private
*/
this.selectionOnly_ = selectionOnly;

Powered by Google App Engine
This is Rietveld 408576698