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 7620de7ca4cfa76a93f10d8ff6286702b77aa77e..07d2dcc6ad8f75d7a99a814c7cfd5e231d8906a1 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.CustomMarginsOrientation} 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.CustomMarginsOrientation} |
* @private |
*/ |
this.orientation_ = orientation; |
@@ -150,7 +150,7 @@ cr.define('print_preview', function() { |
}, |
/** |
- * @return {!print_preview.ticket_items.CustomMargins.Orientation} |
+ * @return {!print_preview.ticket_items.CustomMarginsOrientation} |
* Orientation of the margin control. |
*/ |
getOrientation: function() { |
@@ -220,7 +220,7 @@ cr.define('print_preview', function() { |
setPositionInPts: function(posInPts) { |
this.positionInPts_ = posInPts; |
var orientationEnum = |
- print_preview.ticket_items.CustomMargins.Orientation; |
+ print_preview.ticket_items.CustomMarginsOrientation; |
var x = this.translateTransform_.x; |
var y = this.translateTransform_.y; |
var width = null, height = null; |
@@ -271,7 +271,7 @@ cr.define('print_preview', function() { |
convertPixelsToPts: function(pixels) { |
var pts; |
var orientationEnum = |
- print_preview.ticket_items.CustomMargins.Orientation; |
+ print_preview.ticket_items.CustomMarginsOrientation; |
if (this.orientation_ == orientationEnum.TOP) { |
pts = pixels - this.translateTransform_.y + MarginControl.RADIUS_; |
pts /= this.scaleTransform_; |