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

Issue 7719014: PrintPreview: Printing preview of a PDF on Mac with Skia only previews the last page of the PDF (Closed)

Created:
9 years, 4 months ago by kmadhusu
Modified:
9 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

PrintPreview: Printing preview of a PDF on Mac with Skia only previews the last page of the PDF BUG=93145 TEST=Please refer to bug report. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103021

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : Working code #

Patch Set 6 : Working code - 2 #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Total comments: 8

Patch Set 11 : addressed review comments #

Patch Set 12 : '' #

Patch Set 13 : fix compile errors #

Patch Set 14 : fix style nits #

Patch Set 15 : '' #

Patch Set 16 : '' #

Total comments: 10

Patch Set 17 : address review comments. #

Patch Set 18 : '' #

Patch Set 19 : '' #

Total comments: 6

Patch Set 20 : '' #

Patch Set 21 : '' #

Patch Set 22 : '' #

Patch Set 23 : '' #

Patch Set 24 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -65 lines) Patch
M chrome/renderer/print_web_view_helper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -1 line 0 comments Download
M chrome/renderer/print_web_view_helper_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/renderer/print_web_view_helper_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 5 chunks +7 lines, -6 lines 0 comments Download
M chrome/renderer/print_web_view_helper_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +3 lines, -3 lines 0 comments Download
M printing/metafile_skia_wrapper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -6 lines 0 comments Download
M printing/metafile_skia_wrapper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +5 lines, -29 lines 0 comments Download
M skia/ext/platform_device.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +12 lines, -0 lines 0 comments Download
M skia/ext/platform_device.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +45 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 22 1 chunk +8 lines, -8 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 5 chunks +14 lines, -9 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
kmadhusu
9 years, 2 months ago (2011-09-26 16:57:46 UTC) #1
vandebo (ex-Chrome)
http://codereview.chromium.org/7719014/diff/17008/chrome/renderer/print_web_view_helper.h File chrome/renderer/print_web_view_helper.h (right): http://codereview.chromium.org/7719014/diff/17008/chrome/renderer/print_web_view_helper.h#newcode238 chrome/renderer/print_web_view_helper.h:238: bool is_preview); metafile is effectively an output parameter, so ...
9 years, 2 months ago (2011-09-26 17:33:05 UTC) #2
kmadhusu
http://codereview.chromium.org/7719014/diff/17008/chrome/renderer/print_web_view_helper.h File chrome/renderer/print_web_view_helper.h (right): http://codereview.chromium.org/7719014/diff/17008/chrome/renderer/print_web_view_helper.h#newcode238 chrome/renderer/print_web_view_helper.h:238: bool is_preview); On 2011/09/26 17:33:05, vandebo wrote: > metafile ...
9 years, 2 months ago (2011-09-26 20:42:22 UTC) #3
vandebo (ex-Chrome)
LGTM with comments. http://codereview.chromium.org/7719014/diff/16007/skia/ext/platform_device.cc File skia/ext/platform_device.cc (right): http://codereview.chromium.org/7719014/diff/16007/skia/ext/platform_device.cc#newcode46 skia/ext/platform_device.cc:46: void SetDraftMode(SkCanvas* canvas, bool draft_mode) { ...
9 years, 2 months ago (2011-09-26 21:01:45 UTC) #4
kmadhusu
http://codereview.chromium.org/7719014/diff/16007/skia/ext/platform_device.cc File skia/ext/platform_device.cc (right): http://codereview.chromium.org/7719014/diff/16007/skia/ext/platform_device.cc#newcode46 skia/ext/platform_device.cc:46: void SetDraftMode(SkCanvas* canvas, bool draft_mode) { On 2011/09/26 21:01:45, ...
9 years, 2 months ago (2011-09-27 00:35:14 UTC) #5
vandebo (ex-Chrome)
LGTM w/ nits http://codereview.chromium.org/7719014/diff/25001/printing/metafile_skia_wrapper.h File printing/metafile_skia_wrapper.h (right): http://codereview.chromium.org/7719014/diff/25001/printing/metafile_skia_wrapper.h#newcode23 printing/metafile_skia_wrapper.h:23: static void SetMetafileOnCanvas(const SkCanvas* canvas, Metafile* ...
9 years, 2 months ago (2011-09-27 16:49:00 UTC) #6
kmadhusu
http://codereview.chromium.org/7719014/diff/25001/printing/metafile_skia_wrapper.h File printing/metafile_skia_wrapper.h (right): http://codereview.chromium.org/7719014/diff/25001/printing/metafile_skia_wrapper.h#newcode23 printing/metafile_skia_wrapper.h:23: static void SetMetafileOnCanvas(const SkCanvas* canvas, Metafile* metafile); On 2011/09/27 ...
9 years, 2 months ago (2011-09-27 18:15:01 UTC) #7
vandebo (ex-Chrome)
9 years, 2 months ago (2011-09-27 18:20:54 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698