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

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

Issue 2862203002: Print Preview: Fix data/ errors (Closed)
Patch Set: Fix destination resolver Created 3 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/header_footer.js
diff --git a/chrome/browser/resources/print_preview/data/ticket_items/header_footer.js b/chrome/browser/resources/print_preview/data/ticket_items/header_footer.js
index 84a608aaeab54160fc655c342b19ca84580b54ae..9cb9e9c7d6b6861fc178610fa6e540211d62653c 100644
--- a/chrome/browser/resources/print_preview/data/ticket_items/header_footer.js
+++ b/chrome/browser/resources/print_preview/data/ticket_items/header_footer.js
@@ -28,7 +28,7 @@ cr.define('print_preview.ticket_items', function() {
print_preview.ticket_items.TicketItem.call(
this,
appState,
- print_preview.AppState.Field.IS_HEADER_FOOTER_ENABLED,
+ print_preview.AppStateField.IS_HEADER_FOOTER_ENABLED,
null /*destinationStore*/,
documentInfo);
@@ -57,7 +57,7 @@ cr.define('print_preview.ticket_items', function() {
this.landscape_ = landscape;
this.addEventListeners_();
- };
+ }
/**
* Minimum height of page in microns to allow headers and footers. Should
@@ -107,7 +107,7 @@ cr.define('print_preview.ticket_items', function() {
} else {
margins = this.getDocumentInfoInternal().margins;
}
- var orientEnum = print_preview.ticket_items.CustomMargins.Orientation;
+ var orientEnum = print_preview.ticket_items.CustomMarginsOrientation;
return margins == null ||
margins.get(orientEnum.TOP) > 0 ||
margins.get(orientEnum.BOTTOM) > 0;

Powered by Google App Engine
This is Rietveld 408576698