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

Issue 10108001: Refactor print preview web ui (Closed)

Created:
8 years, 8 months ago by Albert Bodenhamer
Modified:
8 years, 7 months ago
CC:
battre, scr
Visibility:
Public.

Description

I've separated out the model from the UI widgets into a separate "data" folder. Some of the classes in the "data" folder are event targets that dispatch events when their state changes. UI widgets listen to these state changes and update their UI accordingly. The two most important "data" classes are PrintTicketStore and DestinationStore. These two manage the state of the print ticket (aka print settings) and the list of all of the print destinations respectively. The UI widgets are divided into top-level components, settings components, and previewarea components. Top-level components just include the outer most container widget (called PrintPreview) which handles global events and PrintHeader which renders the print and cancel buttons and some statistics on the document. If you were to start reviewing, PrintPreview is where I would start. Settings components include all of the UI widgets that can be used to change the state of the PrintTicketStore. They live in the "settings" folder and include "CopiesSettings" and "PageSettings". Preview area components include all of the UI widgets involved on the main part of the preview UI. PreviewArea and CustomMargins are the two main widgets in the "previewarea" folder. It's important to note that almost all of the UI widgets have a dependency on PrintTicketStore. Crucially, this allows all UI widgets to be independent from each other and just depend on a common object. Previously, the state of the print ticket (aka print settings) were distributed in the various UI controls. For example, custom margins were stored both in the preview area and in the margin settings and when it came time to print, these UI components had to be queried for that information, or the question on whether to show the header-footer setting depended on the state of the preview area. Now the state is consolidated into PrintTicketStore. This allows modification of each of the UI widgets without the worry of breaking other widgets. BUG=114206 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=138737

Patch Set 1 #

Total comments: 1

Patch Set 2 : Cleanup and updates #

Patch Set 3 : Remove new widget #

Total comments: 18

Patch Set 4 : Remove extra files #

Total comments: 12

Patch Set 5 : Rebase #

Patch Set 6 : Review feedback #

Total comments: 40

Patch Set 7 : More review feedback #

Patch Set 8 : Review feedback #

Patch Set 9 : Completed all functionality #

Patch Set 10 : Fixes broken tests #

Total comments: 12

Patch Set 11 : Address reviewer comments #

Total comments: 3

Patch Set 12 : Addressed reviewer comments #

Patch Set 13 : Address reviewer comments #

Patch Set 14 : Fix preview reload bug. #

Patch Set 15 : round 7 #

Patch Set 16 : Round 8 #

Patch Set 17 : Round 9 #

Patch Set 18 : round 9 - attempt 2 #

Patch Set 19 : rebase #

Patch Set 20 : Temp remove fit-to-page #

Patch Set 21 : Fix tests #

Patch Set 22 : Rebase #

Patch Set 23 : Re-add fit-to-page #

Patch Set 24 : Fix fit-to-page tests #

Total comments: 12

Patch Set 25 : Round 10 and fixes #

Patch Set 26 : Rebase and partial collision resolution #

Patch Set 27 : Conflict resolution #

Patch Set 28 : Conflict resolution #

Patch Set 29 : Conflict resolution #

Patch Set 30 : Conflict resolution #

Patch Set 31 : Whitespace #

Total comments: 2

Patch Set 32 : Sync changes that were lost in the shuffle #

Total comments: 1

Patch Set 33 : Try to fix base files issue #

Patch Set 34 : Resolve conflicts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10141 lines, -5945 lines) Patch
A chrome/browser/resources/print_preview/cloud_print_interface.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +304 lines, -0 lines 0 comments Download
D chrome/browser/resources/print_preview/color_settings.html View 1 chunk +0 lines, -14 lines 0 comments Download
D chrome/browser/resources/print_preview/color_settings.js View 1 chunk +0 lines, -108 lines 0 comments Download
A chrome/browser/resources/print_preview/component.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +192 lines, -0 lines 0 comments Download
D chrome/browser/resources/print_preview/copies_settings.html View 1 chunk +0 lines, -27 lines 0 comments Download
D chrome/browser/resources/print_preview/copies_settings.js View 1 chunk +0 lines, -248 lines 0 comments Download
A chrome/browser/resources/print_preview/data/capabilities_holder.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/chromium_capabilities.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +180 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/cloud_capabilities.js View 1 2 3 4 5 6 1 chunk +413 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/cloud_parsers.js View 1 2 3 4 5 6 7 1 chunk +207 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/coordinate2d.js View 1 2 3 4 5 6 1 chunk +76 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/destination.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +188 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/destination_store.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +192 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/document_info.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +55 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/local_parsers.js View 1 2 3 4 5 6 7 8 9 1 chunk +70 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/margins.js View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +86 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/measurement_system.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +159 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/measurement_system_unittest.gtestjs View 1 2 3 4 5 6 7 8 9 1 chunk +68 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/page_number_set.js View 1 2 3 4 5 6 7 1 chunk +105 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/print_ticket_store.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +629 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/printable_area.js View 1 2 3 4 5 6 1 chunk +64 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/size.js View 1 2 3 4 5 6 1 chunk +56 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/ticket_items/collate.js View 1 2 3 4 5 6 7 8 1 chunk +57 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/ticket_items/color.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +71 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/ticket_items/copies.js View 1 2 3 4 5 6 7 8 1 chunk +70 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/ticket_items/custom_margins.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +171 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/ticket_items/duplex.js View 1 2 3 4 5 6 7 8 1 chunk +57 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/ticket_items/fit_to_page.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +69 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/ticket_items/header_footer.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +95 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/ticket_items/landscape.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +72 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/ticket_items/margins_type.js View 1 2 3 4 5 6 7 8 1 chunk +68 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/ticket_items/page_range.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +70 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/data/ticket_items/ticket_item.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +95 lines, -0 lines 0 comments Download
D chrome/browser/resources/print_preview/fit_to_page_settings.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +0 lines, -114 lines 0 comments Download
D chrome/browser/resources/print_preview/header_footer_settings.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +0 lines, -128 lines 0 comments Download
D chrome/browser/resources/print_preview/layout_settings.html View 1 chunk +0 lines, -13 lines 0 comments Download
D chrome/browser/resources/print_preview/layout_settings.js View 1 chunk +0 lines, -120 lines 0 comments Download
D chrome/browser/resources/print_preview/margin_settings.html View 1 chunk +0 lines, -11 lines 0 comments Download
D chrome/browser/resources/print_preview/margin_settings.js View 1 chunk +0 lines, -705 lines 0 comments Download
D chrome/browser/resources/print_preview/margin_textbox.js View 1 chunk +0 lines, -217 lines 0 comments Download
D chrome/browser/resources/print_preview/margin_utils.js View 1 chunk +0 lines, -187 lines 0 comments Download
D chrome/browser/resources/print_preview/margins.css View 1 chunk +0 lines, -100 lines 0 comments Download
D chrome/browser/resources/print_preview/margins_ui.js View 1 chunk +0 lines, -213 lines 0 comments Download
D chrome/browser/resources/print_preview/margins_ui_pair.js View 1 chunk +0 lines, -296 lines 0 comments Download
D chrome/browser/resources/print_preview/more_options.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +0 lines, -17 lines 0 comments Download
D chrome/browser/resources/print_preview/more_options.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +0 lines, -93 lines 0 comments Download
A chrome/browser/resources/print_preview/native_layer.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +727 lines, -0 lines 0 comments Download
D chrome/browser/resources/print_preview/page_settings.html View 1 chunk +0 lines, -21 lines 0 comments Download
D chrome/browser/resources/print_preview/page_settings.js View 1 chunk +0 lines, -378 lines 0 comments Download
D chrome/browser/resources/print_preview/preview_area.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +0 lines, -299 lines 0 comments Download
A chrome/browser/resources/print_preview/preview_generator.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +392 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/previewarea/margin_control.css View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +91 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/previewarea/margin_control.html View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/previewarea/margin_control.js View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +467 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/previewarea/margin_control_container.css View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/previewarea/margin_control_container.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +446 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/previewarea/preview_area.css View 1 2 3 4 5 6 7 8 1 chunk +75 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/previewarea/preview_area.html View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +41 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/previewarea/preview_area.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +592 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/print_header.css View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +15 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/print_header.html View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/resources/print_preview/print_header.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +168 lines, -112 lines 0 comments Download
M chrome/browser/resources/print_preview/print_preview.css View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 8 chunks +19 lines, -175 lines 0 comments Download
M chrome/browser/resources/print_preview/print_preview.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +58 lines, -73 lines 0 comments Download
M chrome/browser/resources/print_preview/print_preview.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +903 lines, -1254 lines 0 comments Download
D chrome/browser/resources/print_preview/print_preview_cloud.js View 1 1 chunk +0 lines, -455 lines 0 comments Download
M chrome/browser/resources/print_preview/print_preview_utils.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +10 lines, -72 lines 0 comments Download
M chrome/browser/resources/print_preview/print_preview_utils_unittest.gtestjs View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -20 lines 0 comments Download
A chrome/browser/resources/print_preview/settings/color_settings.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +17 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/settings/color_settings.js View 1 2 3 4 5 6 7 1 chunk +133 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/settings/copies_settings.css View 1 chunk +56 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/settings/copies_settings.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +31 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/settings/copies_settings.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +327 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/settings/destination_settings.html View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/settings/destination_settings.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +199 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/settings/layout_settings.html View 1 chunk +18 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/settings/layout_settings.js View 1 2 3 4 5 6 7 1 chunk +124 lines, -0 lines 0 comments Download
A + chrome/browser/resources/print_preview/settings/margin_settings.html View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -2 lines 0 comments Download
A chrome/browser/resources/print_preview/settings/margin_settings.js View 1 2 3 4 5 6 7 8 1 chunk +112 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/settings/other_options_settings.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +20 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/settings/other_options_settings.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +172 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/settings/page_settings.css View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +13 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/settings/page_settings.html View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +23 lines, -0 lines 0 comments Download
A chrome/browser/resources/print_preview/settings/page_settings.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +247 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/webui/print_preview.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 4 chunks +618 lines, -473 lines 0 comments Download

Messages

Total messages: 58 (0 generated)
Albert Bodenhamer
Here's the initial patch you sent me uploaded to the code review server. Please skim ...
8 years, 8 months ago (2012-04-16 19:15:01 UTC) #1
Albert Bodenhamer
http://codereview.chromium.org/10108001/diff/1/chrome/browser/browser_resources.grd File chrome/browser/browser_resources.grd (right): http://codereview.chromium.org/10108001/diff/1/chrome/browser/browser_resources.grd#newcode107 chrome/browser/browser_resources.grd:107: <include name="IDR_PRINT_PREVIEW_IMAGES_CLASSIC_PRINTER_24" Why 2 different color depths? Keep in ...
8 years, 8 months ago (2012-04-16 19:25:06 UTC) #2
Albert Bodenhamer
Hey folks, Robert has been working hard on the new print preview UI. The CL ...
8 years, 8 months ago (2012-04-17 22:02:49 UTC) #3
kmadhusu
You also need to update the corresponding WebUI tests. Ref: src/chrome/test/data/webui/print_preview.js.
8 years, 8 months ago (2012-04-17 22:13:25 UTC) #4
Robert Toscano
On 2012/04/17 22:13:25, kmadhusu wrote: > You also need to update the corresponding WebUI tests. ...
8 years, 8 months ago (2012-04-17 22:15:19 UTC) #5
dpapad1
On 2012/04/17 22:13:25, kmadhusu wrote: > You also need to update the corresponding WebUI tests. ...
8 years, 8 months ago (2012-04-17 22:16:21 UTC) #6
Robert Toscano
I've uploaded a new patch which has removed the new search functionality. Now this CL ...
8 years, 8 months ago (2012-04-19 21:28:45 UTC) #7
Robert Toscano
Hey Albert, I see there are two files: chrome/browser/ui/webui/print_preview/base.html and chrome/browser/ui/webui/print_preview/popup.html that have snuck into ...
8 years, 8 months ago (2012-04-19 22:23:38 UTC) #8
dpapad1
Hey Robert, I have started looking through the code, sending some initial comments (mostly nits ...
8 years, 8 months ago (2012-04-19 22:45:00 UTC) #9
Robert Toscano
http://codereview.chromium.org/10108001/diff/12001/chrome/browser/resources/print_preview/data/chromium_capabilities.js File chrome/browser/resources/print_preview/data/chromium_capabilities.js (right): http://codereview.chromium.org/10108001/diff/12001/chrome/browser/resources/print_preview/data/chromium_capabilities.js#newcode8 chrome/browser/resources/print_preview/data/chromium_capabilities.js:8: function ChromiumPrintTicket(capabilities) { On 2012/04/19 22:45:01, dpapad1 wrote: > ...
8 years, 8 months ago (2012-04-23 23:00:09 UTC) #10
dpapad
Posting some more comments, mostly nits, but also some questions. http://codereview.chromium.org/10108001/diff/25001/chrome/browser/resources/print_preview/cloud_print_interface.js File chrome/browser/resources/print_preview/cloud_print_interface.js (right): http://codereview.chromium.org/10108001/diff/25001/chrome/browser/resources/print_preview/cloud_print_interface.js#newcode166 ...
8 years, 8 months ago (2012-04-24 01:24:56 UTC) #11
Robert Toscano
Here are my comment responses. I'm still waiting on Albert to upload my new patch, ...
8 years, 8 months ago (2012-04-24 22:29:55 UTC) #12
dpapad
FYI, I am sheriffing today and tomorrow, will try to take a look at the ...
8 years, 8 months ago (2012-04-24 22:50:19 UTC) #13
dpapad1
Some of the comments might be outdated (they were made from another account and forgot ...
8 years, 8 months ago (2012-04-26 16:04:44 UTC) #14
Robert Toscano
Here are the responses to your latest comments. I've also sent abodenha@ my patch, so ...
8 years, 8 months ago (2012-04-28 01:41:36 UTC) #15
dpapad
http://codereview.chromium.org/10108001/diff/16001/chrome/browser/resources/print_preview/settings/margin_settings.js File chrome/browser/resources/print_preview/settings/margin_settings.js (right): http://codereview.chromium.org/10108001/diff/16001/chrome/browser/resources/print_preview/settings/margin_settings.js#newcode135 chrome/browser/resources/print_preview/settings/margin_settings.js:135: get select_() { On 2012/04/28 01:41:37, rltoscano wrote: > ...
8 years, 7 months ago (2012-04-30 16:19:25 UTC) #16
Robert Toscano
With this latest patch, all functionality is back up and running. Only thing that's left ...
8 years, 7 months ago (2012-05-05 00:01:33 UTC) #17
Robert Toscano
http://codereview.chromium.org/10108001/diff/16001/chrome/browser/resources/print_preview/settings/margin_settings.js File chrome/browser/resources/print_preview/settings/margin_settings.js (right): http://codereview.chromium.org/10108001/diff/16001/chrome/browser/resources/print_preview/settings/margin_settings.js#newcode135 chrome/browser/resources/print_preview/settings/margin_settings.js:135: get select_() { On 2012/04/30 16:19:25, dpapad wrote: > ...
8 years, 7 months ago (2012-05-05 00:02:50 UTC) #18
Robert Toscano
All unit tests should be working now.
8 years, 7 months ago (2012-05-08 21:33:35 UTC) #19
dpapad
Besides the margins code (as discussed per email), I noticed that the "Loading preview..." message ...
8 years, 7 months ago (2012-05-09 15:48:56 UTC) #20
dpapad
One more behavioral change I noticed is the way the settings on the left are ...
8 years, 7 months ago (2012-05-09 22:34:18 UTC) #21
Robert Toscano
On 2012/05/09 22:34:18, dpapad wrote: > One more behavioral change I noticed is the way ...
8 years, 7 months ago (2012-05-09 22:35:42 UTC) #22
dpapad
On 2012/05/09 22:35:42, rltoscano wrote: > On 2012/05/09 22:34:18, dpapad wrote: > > One more ...
8 years, 7 months ago (2012-05-09 22:37:18 UTC) #23
dpapad
http://codereview.chromium.org/10108001/diff/61004/chrome/browser/resources/print_preview/data/print_ticket_store.js File chrome/browser/resources/print_preview/data/print_ticket_store.js (right): http://codereview.chromium.org/10108001/diff/61004/chrome/browser/resources/print_preview/data/print_ticket_store.js#newcode21 chrome/browser/resources/print_preview/data/print_ticket_store.js:21: function PrintTicketStore() { It seems that all classes under ...
8 years, 7 months ago (2012-05-09 23:18:09 UTC) #24
Robert Toscano
http://codereview.chromium.org/10108001/diff/61004/chrome/browser/resources/print_preview/data/print_ticket_store.js File chrome/browser/resources/print_preview/data/print_ticket_store.js (right): http://codereview.chromium.org/10108001/diff/61004/chrome/browser/resources/print_preview/data/print_ticket_store.js#newcode21 chrome/browser/resources/print_preview/data/print_ticket_store.js:21: function PrintTicketStore() { You're right there is a singleton ...
8 years, 7 months ago (2012-05-10 00:12:05 UTC) #25
dpapad
http://codereview.chromium.org/10108001/diff/61004/chrome/browser/resources/print_preview/data/print_ticket_store.js File chrome/browser/resources/print_preview/data/print_ticket_store.js (right): http://codereview.chromium.org/10108001/diff/61004/chrome/browser/resources/print_preview/data/print_ticket_store.js#newcode21 chrome/browser/resources/print_preview/data/print_ticket_store.js:21: function PrintTicketStore() { On 2012/05/10 00:12:05, rltoscano wrote: > ...
8 years, 7 months ago (2012-05-10 00:15:32 UTC) #26
Robert Toscano
Albert will upload a patch with the changes soon. I've addressed all but one of ...
8 years, 7 months ago (2012-05-10 00:23:27 UTC) #27
Robert Toscano
Ah I forgot to mention: I moved some code around regarding the invalid offsetting of ...
8 years, 7 months ago (2012-05-10 00:25:32 UTC) #28
Robert Toscano
Patch is uploaded.
8 years, 7 months ago (2012-05-10 00:26:15 UTC) #29
dpapad
Yes the margin lines are still wrongly positioned (seems like an offset and also wrong ...
8 years, 7 months ago (2012-05-10 02:15:02 UTC) #30
Robert Toscano
On 2012/05/10 02:15:02, dpapad wrote: > Yes the margin lines are still wrongly positioned (seems ...
8 years, 7 months ago (2012-05-10 03:36:55 UTC) #31
Robert Toscano
Patch on its way for latest fixes.
8 years, 7 months ago (2012-05-10 03:37:18 UTC) #32
Robert Toscano
http://codereview.chromium.org/10108001/diff/61004/chrome/browser/resources/print_preview/data/print_ticket_store.js File chrome/browser/resources/print_preview/data/print_ticket_store.js (right): http://codereview.chromium.org/10108001/diff/61004/chrome/browser/resources/print_preview/data/print_ticket_store.js#newcode21 chrome/browser/resources/print_preview/data/print_ticket_store.js:21: function PrintTicketStore() { No prob. http://codereview.chromium.org/10108001/diff/69005/chrome/browser/resources/print_preview/native_layer.js File chrome/browser/resources/print_preview/native_layer.js (right): ...
8 years, 7 months ago (2012-05-10 03:37:41 UTC) #33
dpapad
http://codereview.chromium.org/10108001/diff/69005/chrome/browser/resources/print_preview/native_layer.js File chrome/browser/resources/print_preview/native_layer.js (right): http://codereview.chromium.org/10108001/diff/69005/chrome/browser/resources/print_preview/native_layer.js#newcode188 chrome/browser/resources/print_preview/native_layer.js:188: chrome.send('saveLastPrinter', [destination.id, '' /*TODO*/); On 2012/05/10 03:37:41, rltoscano wrote: ...
8 years, 7 months ago (2012-05-10 15:49:26 UTC) #34
Robert Toscano
Patch 12 just uploaded
8 years, 7 months ago (2012-05-10 16:21:43 UTC) #35
dpapad
On 2012/05/10 16:21:43, rltoscano wrote: > Patch 12 just uploaded While testing for answering to ...
8 years, 7 months ago (2012-05-10 16:37:51 UTC) #36
Robert Toscano
This latest patch (13) reverts the margins to their old behavior and does a little ...
8 years, 7 months ago (2012-05-10 23:55:46 UTC) #37
dpapad
On 2012/05/10 23:55:46, rltoscano wrote: > This latest patch (13) reverts the margins to their ...
8 years, 7 months ago (2012-05-11 01:55:17 UTC) #38
Robert Toscano
Ok issues should be fixed with latest patch.
8 years, 7 months ago (2012-05-15 18:01:35 UTC) #39
dpapad
On 2012/05/15 18:01:35, rltoscano wrote: > Ok issues should be fixed with latest patch. I ...
8 years, 7 months ago (2012-05-15 20:09:33 UTC) #40
Robert Toscano
Latest patch should fix these issues. The custom margins behavior is subtle. Should be reverted ...
8 years, 7 months ago (2012-05-15 22:20:43 UTC) #41
dpapad
On 2012/05/15 22:20:43, rltoscano wrote: > Latest patch should fix these issues. The custom margins ...
8 years, 7 months ago (2012-05-16 15:46:09 UTC) #42
Robert Toscano
Addressed. Please take another look.
8 years, 7 months ago (2012-05-16 16:45:19 UTC) #43
Robert Toscano
Ok Albert uploaded latest patch that fixes margin textbox issues.
8 years, 7 months ago (2012-05-16 18:18:24 UTC) #44
dpapad
On 2012/05/16 18:18:24, rltoscano wrote: > Ok Albert uploaded latest patch that fixes margin textbox ...
8 years, 7 months ago (2012-05-16 20:41:28 UTC) #45
Albert Bodenhamer
Thanks Demetrios. It looks like we have a couple of issues with browser_tests and https://chromiumcodereview.appspot.com/10083060 ...
8 years, 7 months ago (2012-05-16 20:44:03 UTC) #46
kmadhusu
On 2012/05/16 20:41:28, dpapad wrote: > On 2012/05/16 18:18:24, rltoscano wrote: > > Ok Albert ...
8 years, 7 months ago (2012-05-16 20:45:17 UTC) #47
kmadhusu
rltoscano: I found some regressions in the refactored code. As I said in our chat ...
8 years, 7 months ago (2012-05-18 02:50:21 UTC) #48
Robert Toscano
On 2012/05/18 02:50:21, kmadhusu wrote: > rltoscano: I found some regressions in the refactored code. ...
8 years, 7 months ago (2012-05-18 18:45:01 UTC) #49
kmadhusu
rltoscano: I reviewed the code and most of my comments are just style nits. I ...
8 years, 7 months ago (2012-05-18 20:13:46 UTC) #50
kmadhusu
rltoscano: I found some more regressions and the test cases are as follows: Case 1 ...
8 years, 7 months ago (2012-05-18 20:58:10 UTC) #51
kmadhusu
rtloscano: Found a regression with your latest test patch. Repro steps: 1. Preview http://www.corp.google.com/~kmadhusu/no_crawl/test_html/css_4_4.html 2. ...
8 years, 7 months ago (2012-05-19 01:44:02 UTC) #52
kmadhusu
rltoscano: Found 3 more regressions. Thanks for fixing the previous regressions. Case 1: 1. Preview ...
8 years, 7 months ago (2012-05-22 19:22:52 UTC) #53
kmadhusu
LGTM. Thanks for refactoring print preview code. http://codereview.chromium.org/10108001/diff/81009/chrome/browser/resources/print_preview/settings/color_settings.html File chrome/browser/resources/print_preview/settings/color_settings.html (right): http://codereview.chromium.org/10108001/diff/81009/chrome/browser/resources/print_preview/settings/color_settings.html#newcode13 chrome/browser/resources/print_preview/settings/color_settings.html:13: type="radio" style ...
8 years, 7 months ago (2012-05-22 23:17:25 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abodenha@chromium.org/10108001/90009
8 years, 7 months ago (2012-05-23 19:42:43 UTC) #55
commit-bot: I haz the power
Failed to apply patch for chrome/browser/resources/print_preview/print_preview.css: While running patch -p1 --forward --force; patching file chrome/browser/resources/print_preview/print_preview.css ...
8 years, 7 months ago (2012-05-23 23:01:17 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abodenha@chromium.org/10108001/109004
8 years, 7 months ago (2012-05-24 02:03:09 UTC) #57
commit-bot: I haz the power
8 years, 7 months ago (2012-05-24 04:46:27 UTC) #58
Change committed as 138737

Powered by Google App Engine
This is Rietveld 408576698