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

Issue 7313035: Print Preview: Associating preview requests and responses using an identifier (Closed)

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

Description

Print Preview: Associating preview requests and responses using an identifier BUG=88807, 89106 TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=92402

Patch Set 1 #

Patch Set 2 : Sending a response id when no rerender is needed. #

Patch Set 3 : Sending response on Linux #

Patch Set 4 : Fixed for win and mac (tested only on win), ignoring obsolete responses. #

Total comments: 6

Patch Set 5 : Addressing comments #

Total comments: 9

Patch Set 6 : Addressing comments #

Patch Set 7 : Addressing comment #

Patch Set 8 : Fixing unittests #

Patch Set 9 : Rebasing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -22 lines) Patch
M chrome/browser/printing/print_preview_message_handler.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/resources/print_preview/print_preview.js View 1 2 3 4 5 6 7 8 5 chunks +38 lines, -17 lines 0 comments Download
M chrome/browser/ui/webui/print_preview_ui.h View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/print_preview_ui.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/common/print_messages.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/renderer/print_web_view_helper.cc View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/renderer/print_web_view_helper_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/print_web_view_helper_linux.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/print_web_view_helper_mac.mm View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/print_web_view_helper_win.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M printing/print_job_constants.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M printing/print_job_constants.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
dpapad
9 years, 5 months ago (2011-07-12 22:15:28 UTC) #1
Lei Zhang
http://codereview.chromium.org/7313035/diff/8002/chrome/renderer/print_web_view_helper.cc File chrome/renderer/print_web_view_helper.cc (right): http://codereview.chromium.org/7313035/diff/8002/chrome/renderer/print_web_view_helper.cc#newcode381 chrome/renderer/print_web_view_helper.cc:381: settings.GetInteger("requestID", &preview_params.preview_request_id); can you put requestID in printing/print_job_constants.h? http://codereview.chromium.org/7313035/diff/8002/chrome/renderer/print_web_view_helper.cc#newcode658 ...
9 years, 5 months ago (2011-07-12 22:36:31 UTC) #2
dpapad
http://codereview.chromium.org/7313035/diff/8002/chrome/renderer/print_web_view_helper.cc File chrome/renderer/print_web_view_helper.cc (right): http://codereview.chromium.org/7313035/diff/8002/chrome/renderer/print_web_view_helper.cc#newcode381 chrome/renderer/print_web_view_helper.cc:381: settings.GetInteger("requestID", &preview_params.preview_request_id); On 2011/07/12 22:36:31, Lei Zhang wrote: > ...
9 years, 5 months ago (2011-07-12 23:02:11 UTC) #3
Lei Zhang
http://codereview.chromium.org/7313035/diff/12008/chrome/renderer/print_web_view_helper.cc File chrome/renderer/print_web_view_helper.cc (right): http://codereview.chromium.org/7313035/diff/12008/chrome/renderer/print_web_view_helper.cc#newcode382 chrome/renderer/print_web_view_helper.cc:382: settings.GetInteger(printing::kPreviewRequestID, Actually, why do we have to do this ...
9 years, 5 months ago (2011-07-12 23:19:25 UTC) #4
dpapad
http://codereview.chromium.org/7313035/diff/12008/chrome/renderer/print_web_view_helper.cc File chrome/renderer/print_web_view_helper.cc (right): http://codereview.chromium.org/7313035/diff/12008/chrome/renderer/print_web_view_helper.cc#newcode382 chrome/renderer/print_web_view_helper.cc:382: settings.GetInteger(printing::kPreviewRequestID, On 2011/07/12 23:19:30, Lei Zhang wrote: > Actually, ...
9 years, 5 months ago (2011-07-12 23:42:29 UTC) #5
Lei Zhang
http://codereview.chromium.org/7313035/diff/12008/chrome/renderer/print_web_view_helper.cc File chrome/renderer/print_web_view_helper.cc (right): http://codereview.chromium.org/7313035/diff/12008/chrome/renderer/print_web_view_helper.cc#newcode382 chrome/renderer/print_web_view_helper.cc:382: settings.GetInteger(printing::kPreviewRequestID, On 2011/07/12 23:42:29, dpapad wrote: > On 2011/07/12 ...
9 years, 5 months ago (2011-07-12 23:58:40 UTC) #6
dpapad
I still need to rebase because of revision 92275. http://codereview.chromium.org/7313035/diff/12008/chrome/renderer/print_web_view_helper.cc File chrome/renderer/print_web_view_helper.cc (right): http://codereview.chromium.org/7313035/diff/12008/chrome/renderer/print_web_view_helper.cc#newcode382 chrome/renderer/print_web_view_helper.cc:382: ...
9 years, 5 months ago (2011-07-13 00:15:45 UTC) #7
Lei Zhang
LGTM
9 years, 5 months ago (2011-07-13 00:24:08 UTC) #8
dpapad
Fixed unit tests failures and resolved conflicts with http://codereview.chromium.org/7038028.
9 years, 5 months ago (2011-07-13 15:59:00 UTC) #9
Lei Zhang
LGTM still.
9 years, 5 months ago (2011-07-13 16:06:14 UTC) #10
commit-bot: I haz the power
9 years, 5 months ago (2011-07-13 20:16:27 UTC) #11
Change committed as 92402

Powered by Google App Engine
This is Rietveld 408576698