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

Issue 7051040: Print Preview: Making the UI not block when preview is generated (Closed)

Created:
9 years, 7 months ago by dpapad
Modified:
9 years, 7 months ago
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

Print Preview: Making the UI not block when preview is generated Silently rerendering the preview when the user changes the settings. BUG=82961, 83442, 83660 TEST=Load a multi-page doc in the print preview tab. Change the settings. The displayed doc shuld reflect the latest changes. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86470

Patch Set 1 #

Patch Set 2 : Minor cleanups #

Total comments: 1

Patch Set 3 : Removing obsolete variable and logic #

Patch Set 4 : Removing another obsolete variable. #

Total comments: 5

Patch Set 5 : Addressing comments, disabling print button, rebasing. #

Patch Set 6 : Addressing comment. #

Total comments: 5

Patch Set 7 : Addressing comments #

Patch Set 8 : Updating print button state #

Patch Set 9 : Fixing page range validation while loading #

Patch Set 10 : Persisting selected pages #

Patch Set 11 : Rebasing, removing event listeners on print. #

Patch Set 12 : Making collate checkbox not clickable when hidden #

Patch Set 13 : Updating isCollated(), adding TODO comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -59 lines) Patch
M chrome/browser/resources/print_preview.css View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/print_preview.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/print_preview.js View 1 2 3 4 5 6 7 8 9 10 11 12 17 chunks +122 lines, -57 lines 1 comment Download

Messages

Total messages: 12 (0 generated)
dpapad
http://codereview.chromium.org/7051040/diff/1002/chrome/browser/resources/print_preview.js File chrome/browser/resources/print_preview.js (right): http://codereview.chromium.org/7051040/diff/1002/chrome/browser/resources/print_preview.js#newcode953 chrome/browser/resources/print_preview.js:953: this.isLandscape = ''; I think that more state variables ...
9 years, 7 months ago (2011-05-23 18:00:58 UTC) #1
James Hawkins
http://codereview.chromium.org/7051040/diff/6001/chrome/browser/resources/print_preview.js File chrome/browser/resources/print_preview.js (right): http://codereview.chromium.org/7051040/diff/6001/chrome/browser/resources/print_preview.js#newcode471 chrome/browser/resources/print_preview.js:471: return; You have returns on three of these cases, ...
9 years, 7 months ago (2011-05-23 20:49:45 UTC) #2
dpapad
http://codereview.chromium.org/7051040/diff/6001/chrome/browser/resources/print_preview.js File chrome/browser/resources/print_preview.js (right): http://codereview.chromium.org/7051040/diff/6001/chrome/browser/resources/print_preview.js#newcode471 chrome/browser/resources/print_preview.js:471: return; On 2011/05/23 20:49:45, James Hawkins wrote: > You ...
9 years, 7 months ago (2011-05-23 21:05:50 UTC) #3
James Hawkins
http://codereview.chromium.org/7051040/diff/6001/chrome/browser/resources/print_preview.js File chrome/browser/resources/print_preview.js (right): http://codereview.chromium.org/7051040/diff/6001/chrome/browser/resources/print_preview.js#newcode471 chrome/browser/resources/print_preview.js:471: return; On 2011/05/23 21:05:50, dpapad wrote: > On 2011/05/23 ...
9 years, 7 months ago (2011-05-23 21:12:30 UTC) #4
dpapad
http://codereview.chromium.org/7051040/diff/7003/chrome/browser/resources/print_preview.js File chrome/browser/resources/print_preview.js (right): http://codereview.chromium.org/7051040/diff/7003/chrome/browser/resources/print_preview.js#newcode496 chrome/browser/resources/print_preview.js:496: pageRangesFieldChanged(); I think it is more readable now.
9 years, 7 months ago (2011-05-23 21:17:05 UTC) #5
James Hawkins
LGTM http://codereview.chromium.org/7051040/diff/7003/chrome/browser/resources/print_preview.js File chrome/browser/resources/print_preview.js (right): http://codereview.chromium.org/7051040/diff/7003/chrome/browser/resources/print_preview.js#newcode59 chrome/browser/resources/print_preview.js:59: var individualPages = $('individual-pages'); Move this var to ...
9 years, 7 months ago (2011-05-23 21:24:06 UTC) #6
Lei Zhang
LGTM
9 years, 7 months ago (2011-05-23 22:04:44 UTC) #7
dpapad
Fixed some issues (updating print button state, validating page ranges while preview is loading). http://codereview.chromium.org/7051040/diff/7003/chrome/browser/resources/print_preview.js ...
9 years, 7 months ago (2011-05-23 23:04:07 UTC) #8
dpapad
There have been a couple of minor fixes since last LGTMs.
9 years, 7 months ago (2011-05-24 17:16:19 UTC) #9
dpapad
http://codereview.chromium.org/7051040/diff/6014/chrome/browser/resources/print_preview.js File chrome/browser/resources/print_preview.js (right): http://codereview.chromium.org/7051040/diff/6014/chrome/browser/resources/print_preview.js#newcode609 chrome/browser/resources/print_preview.js:609: // span to 0x0. I left it as a ...
9 years, 7 months ago (2011-05-24 18:04:57 UTC) #10
James Hawkins
LGTM
9 years, 7 months ago (2011-05-24 18:09:08 UTC) #11
commit-bot: I haz the power
9 years, 7 months ago (2011-05-24 19:49:43 UTC) #12
Change committed as 86470

Powered by Google App Engine
This is Rietveld 408576698