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

Issue 7003153: Print Preview: Refactoring/Cleaning up print_preview.js. (Closed)

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

Description

Print Preview: Refactoring/Cleaning up print_preview.js. Moving several functions to print_preview_utils.js. Also modifying signatures of these functions so that they dont depend on print_preview.js. This helps in testing those functions and it is much cleaner. BUG=NONE TEST=Behavior of print preview should be unchanged. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88938

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressing comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -171 lines) Patch
M chrome/browser/resources/print_preview.html View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/print_preview.js View 9 chunks +37 lines, -171 lines 0 comments Download
A chrome/browser/resources/print_preview_utils.js View 1 1 chunk +179 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
dpapad
9 years, 6 months ago (2011-06-13 18:46:54 UTC) #1
Lei Zhang
LGTM with nits http://codereview.chromium.org/7003153/diff/1/chrome/browser/resources/print_preview_utils.js File chrome/browser/resources/print_preview_utils.js (right): http://codereview.chromium.org/7003153/diff/1/chrome/browser/resources/print_preview_utils.js#newcode26 chrome/browser/resources/print_preview_utils.js:26: * Returns true if the contents ...
9 years, 6 months ago (2011-06-13 20:51:51 UTC) #2
dpapad
http://codereview.chromium.org/7003153/diff/1/chrome/browser/resources/print_preview_utils.js File chrome/browser/resources/print_preview_utils.js (right): http://codereview.chromium.org/7003153/diff/1/chrome/browser/resources/print_preview_utils.js#newcode26 chrome/browser/resources/print_preview_utils.js:26: * Returns true if the contents of the two ...
9 years, 6 months ago (2011-06-13 21:44:02 UTC) #3
commit-bot: I haz the power
9 years, 6 months ago (2011-06-14 01:14:58 UTC) #4
Change committed as 88938

Powered by Google App Engine
This is Rietveld 408576698