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

Unified Diff: chrome/browser/resources/print_preview/previewarea/margin_control_container.js

Issue 2861713004: Print Preview: Fix compile errors in settings/ directory (Closed)
Patch Set: Address comments and fix remaining lint errors Created 3 years, 8 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_container.js
diff --git a/chrome/browser/resources/print_preview/previewarea/margin_control_container.js b/chrome/browser/resources/print_preview/previewarea/margin_control_container.js
index 5615cddb93c7d6182efc9a9e785fa6a1494d46c8..d1341c65e02b0fe469db476116be3f367232c671 100644
--- a/chrome/browser/resources/print_preview/previewarea/margin_control_container.js
+++ b/chrome/browser/resources/print_preview/previewarea/margin_control_container.js
@@ -186,7 +186,7 @@ cr.define('print_preview', function() {
/** Shows the margin controls if the need to be shown. */
showMarginControlsIfNeeded: function() {
if (this.marginsTypeTicketItem_.getValue() ==
- print_preview.ticket_items.MarginsType.Value.CUSTOM) {
+ print_preview.ticket_items.MarginsTypeValue.CUSTOM) {
this.setIsMarginControlsVisible_(true);
}
},
@@ -381,7 +381,7 @@ cr.define('print_preview', function() {
}
if (this.marginsTypeTicketItem_.isCapabilityAvailable() &&
this.marginsTypeTicketItem_.getValue() ==
- print_preview.ticket_items.MarginsType.Value.CUSTOM) {
+ print_preview.ticket_items.MarginsTypeValue.CUSTOM) {
this.setIsMarginControlsVisible_(true);
}
},
@@ -429,7 +429,7 @@ cr.define('print_preview', function() {
}
this.updateClippingMask(this.clippingSize_);
if (this.marginsTypeTicketItem_.getValue() !=
- print_preview.ticket_items.MarginsType.Value.CUSTOM) {
+ print_preview.ticket_items.MarginsTypeValue.CUSTOM) {
this.setIsMarginControlsVisible_(false);
}
},

Powered by Google App Engine
This is Rietveld 408576698