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

Unified Diff: chrome/test/data/webui/print_preview.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
« no previous file with comments | « chrome/browser/resources/print_preview/settings/settings_section_select.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/print_preview.js
diff --git a/chrome/test/data/webui/print_preview.js b/chrome/test/data/webui/print_preview.js
index aadcac048d2433344019916e748308b5c0f1c51d..7d64f2e42b9a485728d405cba2aec18c546b4556 100644
--- a/chrome/test/data/webui/print_preview.js
+++ b/chrome/test/data/webui/print_preview.js
@@ -771,7 +771,7 @@ TEST_F('PrintPreviewWebUITest', 'CustomMarginsControlsCheck', function() {
this.setCapabilities(getCddTemplate("FooDevice"));
printPreview.printTicketStore_.marginsType.updateValue(
- print_preview.ticket_items.MarginsType.Value.CUSTOM);
+ print_preview.ticket_items.MarginsTypeValue.CUSTOM);
['left', 'top', 'right', 'bottom'].forEach(function(margin) {
var control = $('preview-area').querySelector('.margin-control-' + margin);
@@ -803,7 +803,7 @@ TEST_F('PrintPreviewWebUITest', 'PageLayoutHasNoMarginsHideHeaderFooter',
checkElementDisplayed(headerFooter, true);
printPreview.printTicketStore_.marginsType.updateValue(
- print_preview.ticket_items.MarginsType.Value.CUSTOM);
+ print_preview.ticket_items.MarginsTypeValue.CUSTOM);
printPreview.printTicketStore_.customMargins.updateValue(
new print_preview.Margins(0, 0, 0, 0));
@@ -832,7 +832,7 @@ TEST_F('PrintPreviewWebUITest', 'PageLayoutHasMarginsShowHeaderFooter',
checkElementDisplayed(headerFooter, true);
printPreview.printTicketStore_.marginsType.updateValue(
- print_preview.ticket_items.MarginsType.Value.CUSTOM);
+ print_preview.ticket_items.MarginsTypeValue.CUSTOM);
printPreview.printTicketStore_.customMargins.updateValue(
new print_preview.Margins(36, 36, 36, 36));
@@ -862,7 +862,7 @@ TEST_F('PrintPreviewWebUITest',
checkElementDisplayed(headerFooter, true);
printPreview.printTicketStore_.marginsType.updateValue(
- print_preview.ticket_items.MarginsType.Value.CUSTOM);
+ print_preview.ticket_items.MarginsTypeValue.CUSTOM);
printPreview.printTicketStore_.customMargins.updateValue(
new print_preview.Margins(0, 36, 0, 36));
@@ -893,7 +893,7 @@ TEST_F('PrintPreviewWebUITest',
checkElementDisplayed(headerFooter, true);
printPreview.printTicketStore_.marginsType.updateValue(
- print_preview.ticket_items.MarginsType.Value.CUSTOM);
+ print_preview.ticket_items.MarginsTypeValue.CUSTOM);
printPreview.printTicketStore_.customMargins.updateValue(
new print_preview.Margins(0, 36, 36, 36));
« no previous file with comments | « chrome/browser/resources/print_preview/settings/settings_section_select.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698