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

Unified Diff: chrome/browser/resources/print_preview/data/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/margins.js
diff --git a/chrome/browser/resources/print_preview/data/margins.js b/chrome/browser/resources/print_preview/data/margins.js
index cf6a6f83abdb84449fdc86f9ee0a49a65c5da14a..18ed90aa141f56e4a1d4ca4190860ab23e15061f 100644
--- a/chrome/browser/resources/print_preview/data/margins.js
+++ b/chrome/browser/resources/print_preview/data/margins.js
@@ -16,9 +16,8 @@ cr.define('print_preview', function() {
function Margins(top, right, bottom, left) {
/**
* Backing store for the margin values in points.
- * @type {Object.<
- * print_preview.ticket_items.CustomMargins.Orientation,
- * number>}
+ * @type {!Object.<
+ * !print_preview.ticket_items.CustomMargins.Orientation, number>}
* @private
*/
this.value_ = {};
@@ -33,8 +32,8 @@ cr.define('print_preview', function() {
Margins.prototype = {
/**
- * @param {print_preview.ticket_items.CustomMargins.Orientation} orientation
- * Specifies the margin value to get.
+ * @param {!print_preview.ticket_items.CustomMargins.Orientation}
+ * orientation Specifies the margin value to get.
* @return {number} Value of the margin of the given orientation.
*/
get: function(orientation) {
@@ -42,8 +41,8 @@ cr.define('print_preview', function() {
},
/**
- * @param {print_preview.ticket_items.CustomMargins.Orientation} orientation
- * Specifies the margin to set.
+ * @param {!print_preview.ticket_items.CustomMargins.Orientation}
+ * orientation Specifies the margin to set.
* @param {number} value Updated value of the margin in points to modify.
* @return {!print_preview.Margins} A new copy of |this| with the
* modification made to the specified margin.

Powered by Google App Engine
This is Rietveld 408576698