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

Unified Diff: chrome/browser/resources/print_preview/previewarea/margin_control.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/previewarea/margin_control.js
diff --git a/chrome/browser/resources/print_preview/previewarea/margin_control.js b/chrome/browser/resources/print_preview/previewarea/margin_control.js
index 476371a1805ab2f93fdd890dd9f7cc772c9b09cf..3f3c78d5c63a540f0855576395b1549e3ec7bc31 100644
--- a/chrome/browser/resources/print_preview/previewarea/margin_control.js
+++ b/chrome/browser/resources/print_preview/previewarea/margin_control.js
@@ -7,7 +7,7 @@ cr.define('print_preview', function() {
/**
* Draggable control for setting a page margin.
- * @param {print_preview.ticket_items.CustomMargins.Orientation} orientation
+ * @param {!print_preview.ticket_items.CustomMargins.Orientation} orientation
* Orientation of the margin control that determines where the margin
* textbox will be placed.
* @constructor
@@ -18,7 +18,7 @@ cr.define('print_preview', function() {
/**
* Determines where the margin textbox will be placed.
- * @type {print_preview.ticket_items.CustomMargins.Orientation}
+ * @type {!print_preview.ticket_items.CustomMargins.Orientation}
* @private
*/
this.orientation_ = orientation;
@@ -67,7 +67,7 @@ cr.define('print_preview', function() {
/**
* Processing timeout for the textbox.
- * @type {Object}
+ * @type {?number}
* @private
*/
this.textTimeout_ = null;
@@ -140,9 +140,9 @@ cr.define('print_preview', function() {
/**
* Map from orientation to CSS class name.
- * @type {object.<
- * print_preview.ticket_items.CustomMargins.Orientation,
- * MarginControl.Classes_>}
+ * @type {!Object.<
+ * !print_preview.ticket_items.CustomMargins.Orientation,
+ * !MarginControl.Classes_>}
* @private
*/
MarginControl.OrientationToClass_ = {};
@@ -185,7 +185,7 @@ cr.define('print_preview', function() {
},
/**
- * @return {print_preview.ticket_items.CustomMargins.Orientation}
+ * @return {!print_preview.ticket_items.CustomMargins.Orientation}
* Orientation of the margin control.
*/
getOrientation: function() {

Powered by Google App Engine
This is Rietveld 408576698