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

Issue 7628019: Print preview page selection should not require a rerendering of draft pages. (Closed)

Created:
9 years, 4 months ago by kmadhusu
Modified:
9 years, 4 months ago
CC:
chromium-reviews, Paweł Hajdan Jr., arv (Not doing code reviews), darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Reland 96406 - Print preview page selection should not require a rerendering of draft pages. On page selection, regenerate the complete document with the selection, but preserve the existing draft pages and simply display a subset of them. 1. Added a new param |clear all preview data| to |PrintHostMsg_DidGetPreviewPageCount|. 2. Removed |requested_preview_page_index| from |PrintMsg_ContinuePreview| Review URL: http://codereview.chromium.org/7544018 Original Commit: http://src.chromium.org/viewvc/chrome?view=rev&revision=96406 Revert Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96414 BUG=84383 TEST=print preview works after code changes. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96567

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+410 lines, -177 lines) Patch
M chrome/browser/printing/print_preview_message_handler.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/printing/print_preview_message_handler.cc View 5 chunks +13 lines, -15 lines 0 comments Download
M chrome/browser/resources/print_preview/page_settings.js View 4 chunks +11 lines, -5 lines 0 comments Download
M chrome/browser/resources/print_preview/print_preview.js View 8 chunks +65 lines, -12 lines 0 comments Download
M chrome/common/print_messages.h View 3 chunks +5 lines, -8 lines 0 comments Download
M chrome/renderer/mock_printer.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/renderer/mock_printer.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/renderer/mock_render_thread.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/mock_render_thread.cc View 3 chunks +26 lines, -3 lines 0 comments Download
M chrome/renderer/print_web_view_helper.h View 7 chunks +27 lines, -17 lines 0 comments Download
M chrome/renderer/print_web_view_helper.cc View 15 chunks +88 lines, -55 lines 0 comments Download
M chrome/renderer/print_web_view_helper_browsertest.cc View 4 chunks +70 lines, -7 lines 0 comments Download
M chrome/renderer/print_web_view_helper_linux.cc View 2 chunks +17 lines, -7 lines 0 comments Download
M chrome/renderer/print_web_view_helper_mac.mm View 3 chunks +53 lines, -34 lines 0 comments Download
M chrome/renderer/print_web_view_helper_win.cc View 2 chunks +22 lines, -9 lines 0 comments Download
M printing/print_job_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M printing/print_job_constants.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Powered by Google App Engine
This is Rietveld 408576698