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

Unified Diff: chrome/browser/resources/print_preview/data/ticket_items/custom_margins.js

Issue 10450022: Print Preview Print Destination Search Widget (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Set --bary flag Created 8 years, 7 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/data/ticket_items/custom_margins.js
diff --git a/chrome/browser/resources/print_preview/data/ticket_items/custom_margins.js b/chrome/browser/resources/print_preview/data/ticket_items/custom_margins.js
index 774e35b9d3bc08f69b500e305b037cd8e0454c59..a9a0f07ee0dff7f6d7bfcb11abdb744be2f96932 100644
--- a/chrome/browser/resources/print_preview/data/ticket_items/custom_margins.js
+++ b/chrome/browser/resources/print_preview/data/ticket_items/custom_margins.js
@@ -46,7 +46,7 @@ cr.define('print_preview.ticket_items', function() {
/**
* Mapping of a margin orientation to its opposite.
- * @type {object.<CustomMargins.Orientation, CustomMargins.Orientation>}
+ * @type {!Object.<!CustomMargins.Orientation, !CustomMargins.Orientation>}
* @private
*/
CustomMargins.OppositeOrientation_ = {};
@@ -90,8 +90,8 @@ cr.define('print_preview.ticket_items', function() {
},
/**
- * @param {print_preview.ticket_items.CustomMargins.Orientation} orientation
- * Specifies the margin to get the maximum value for.
+ * @param {!print_preview.ticket_items.CustomMargins.Orientation}
+ * orientation Specifies the margin to get the maximum value for.
* @return {number} Maximum value in points of the specified margin.
*/
getMarginMax: function(orientation) {
@@ -117,8 +117,8 @@ cr.define('print_preview.ticket_items', function() {
/**
* Updates the specified margin in points while keeping the value within
* a maximum and minimum.
- * @param {print_preview.ticket_items.CustomMargins.Orientation} orientation
- * Specifies the margin to update.
+ * @param {!print_preview.ticket_items.CustomMargins.Orientation}
+ * orientation Specifies the margin to update.
* @param {number} value Updated margin value in points.
*/
updateMargin: function(orientation, value) {
@@ -143,8 +143,8 @@ cr.define('print_preview.ticket_items', function() {
},
/**
- * @param {print_preview.ticket_items.CustomMargins.Orientation} orientation
- * Specifies which margin to get the maximum value of.
+ * @param {!print_preview.ticket_items.CustomMargins.Orientation}
+ * orientation Specifies which margin to get the maximum value of.
* @param {number} oppositeMargin Value of the margin in points
* opposite the specified margin.
* @return {number} Maximum value in points of the specified margin.

Powered by Google App Engine
This is Rietveld 408576698