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

Issue 2861713004: Print Preview: Fix compile errors in settings/ directory (Closed)

Created:
3 years, 7 months ago by rbpotter
Modified:
3 years, 7 months ago
Reviewers:
dpapad
CC:
arv+watch_chromium.org, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix the print preview closure compiler errors from files in chrome/browser/resources/print_preview/settings/* After this CL, there are 2 warnings and 222 errors when running the closure compiler. BUG=717620 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2861713004 Cr-Commit-Position: refs/heads/master@{#469456} Committed: https://chromium.googlesource.com/chromium/src/+/63120f6b07e2315545b80732bb94aa1930ae58cb

Patch Set 1 #

Patch Set 2 : Fix remaining errors #

Patch Set 3 : Fix issues with MarginsTypeValue #

Patch Set 4 : Remove extra semis #

Total comments: 12

Patch Set 5 : Address comments and fix remaining lint errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -132 lines) Patch
M chrome/browser/resources/print_preview/common/overlay.js View 1 chunk +1 line, -11 lines 0 comments Download
M chrome/browser/resources/print_preview/data/print_ticket_store.js View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/print_preview/data/ticket_items/header_footer.js View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/print_preview/data/ticket_items/landscape.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/print_preview/data/ticket_items/margins_type.js View 1 2 3 4 4 chunks +19 lines, -16 lines 0 comments Download
M chrome/browser/resources/print_preview/data/ticket_items/media_size.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/print_preview/data/ticket_items/ticket_item.js View 1 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/resources/print_preview/native_layer.js View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/print_preview/preview_generator.js View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/print_preview/previewarea/margin_control_container.js View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/print_preview/settings/advanced_options_settings.js View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/print_preview/settings/advanced_settings/advanced_settings.js View 1 2 3 4 5 chunks +15 lines, -12 lines 0 comments Download
M chrome/browser/resources/print_preview/settings/advanced_settings/advanced_settings_item.js View 1 2 3 4 7 chunks +33 lines, -22 lines 0 comments Download
M chrome/browser/resources/print_preview/settings/color_settings.js View 1 2 3 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/resources/print_preview/settings/copies_settings.js View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/print_preview/settings/destination_settings.js View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/print_preview/settings/dpi_settings.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/print_preview/settings/layout_settings.js View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/resources/print_preview/settings/margin_settings.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/print_preview/settings/margin_settings.js View 1 2 3 4 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/resources/print_preview/settings/media_size_settings.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/print_preview/settings/more_settings.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/print_preview/settings/other_options_settings.js View 1 2 3 6 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/resources/print_preview/settings/page_settings.js View 1 2 3 2 chunks +18 lines, -7 lines 0 comments Download
M chrome/browser/resources/print_preview/settings/scaling_settings.js View 1 2 3 4 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/resources/print_preview/settings/settings_section.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/print_preview/settings/settings_section_select.js View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/data/webui/print_preview.js View 1 2 5 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
rbpotter
3 years, 7 months ago (2017-05-04 00:41:35 UTC) #4
dpapad
https://codereview.chromium.org/2861713004/diff/60001/chrome/browser/resources/print_preview/data/ticket_items/margins_type.js File chrome/browser/resources/print_preview/data/ticket_items/margins_type.js (right): https://codereview.chromium.org/2861713004/diff/60001/chrome/browser/resources/print_preview/data/ticket_items/margins_type.js#newcode10 chrome/browser/resources/print_preview/data/ticket_items/margins_type.js:10: print_preview.ticket_items.MarginsTypeValue = { This relies on the fact that ...
3 years, 7 months ago (2017-05-04 01:20:04 UTC) #5
rbpotter
https://codereview.chromium.org/2861713004/diff/60001/chrome/browser/resources/print_preview/data/ticket_items/margins_type.js File chrome/browser/resources/print_preview/data/ticket_items/margins_type.js (right): https://codereview.chromium.org/2861713004/diff/60001/chrome/browser/resources/print_preview/data/ticket_items/margins_type.js#newcode10 chrome/browser/resources/print_preview/data/ticket_items/margins_type.js:10: print_preview.ticket_items.MarginsTypeValue = { On 2017/05/04 01:20:03, dpapad wrote: > ...
3 years, 7 months ago (2017-05-04 01:43:07 UTC) #6
dpapad
LGTM. Can you mention the number of errors remaining after this CL in the description? ...
3 years, 7 months ago (2017-05-04 02:21:31 UTC) #9
rbpotter
On 2017/05/04 02:21:31, dpapad wrote: > LGTM. Can you mention the number of errors remaining ...
3 years, 7 months ago (2017-05-04 20:36:39 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2861713004/80001
3 years, 7 months ago (2017-05-04 20:37:29 UTC) #16
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 20:44:49 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/63120f6b07e2315545b80732bb94...

Powered by Google App Engine
This is Rietveld 408576698