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

Issue 6879098: Fix print preview clipping issues due to scaling. (Closed)

Created:
9 years, 8 months ago by Chris Guillory
Modified:
9 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Fix print preview clipping issues due to scaling. BUG=79941 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=83657

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : Proposed modification to metafile interface. #

Total comments: 8

Patch Set 4 : Updated with comments from Steve. #

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : Updated with comments from Steve. #

Patch Set 7 : Adding skia deps roll. #

Patch Set 8 : Updating unittest files. #

Patch Set 9 : Fix mac build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -67 lines) Patch
M DEPS View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/print_web_view_helper.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/print_web_view_helper_linux.cc View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/renderer/print_web_view_helper_mac.mm View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -8 lines 0 comments Download
M chrome/renderer/print_web_view_helper_win.cc View 1 2 3 4 5 6 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/utility/utility_thread.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M printing/emf_win.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M printing/emf_win.cc View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M printing/emf_win_unittest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M printing/metafile.h View 1 2 3 4 5 6 1 chunk +6 lines, -5 lines 0 comments Download
M printing/pdf_metafile_cairo_linux.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M printing/pdf_metafile_cairo_linux.cc View 1 2 3 4 5 6 3 chunks +5 lines, -5 lines 0 comments Download
M printing/pdf_metafile_cairo_linux_unittest.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M printing/pdf_metafile_cg_mac.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M printing/pdf_metafile_cg_mac.cc View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
M printing/pdf_metafile_cg_mac_unittest.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -6 lines 0 comments Download
M printing/pdf_metafile_skia.h View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M printing/pdf_metafile_skia.cc View 1 2 3 4 5 6 1 chunk +12 lines, -6 lines 0 comments Download
M skia/ext/vector_platform_device_skia.h View 1 2 3 4 5 6 1 chunk +1 line, -3 lines 0 comments Download
M skia/ext/vector_platform_device_skia.cc View 1 2 3 4 5 6 2 chunks +8 lines, -6 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Chris Guillory
Proposal.
9 years, 8 months ago (2011-04-20 23:42:12 UTC) #1
Chris Guillory
9 years, 8 months ago (2011-04-25 21:20:05 UTC) #2
vandebo (ex-Chrome)
It looks like this CL is incomplete, right? I concentrated on the interface changes. http://codereview.chromium.org/6879098/diff/6001/printing/metafile.h ...
9 years, 8 months ago (2011-04-25 22:11:47 UTC) #3
Chris Guillory
On 2011/04/25 22:11:47, vandebo wrote: > It looks like this CL is incomplete, right? I ...
9 years, 8 months ago (2011-04-25 23:47:08 UTC) #4
Chris Guillory
http://codereview.chromium.org/6879098/diff/6001/printing/metafile.h File printing/metafile.h (right): http://codereview.chromium.org/6879098/diff/6001/printing/metafile.h#newcode61 printing/metafile.h:61: const gfx::Size& content_size, On 2011/04/25 22:11:47, vandebo wrote: > ...
9 years, 8 months ago (2011-04-25 23:47:12 UTC) #5
vandebo (ex-Chrome)
LG after a quick look. But as we discussed you want to change the content ...
9 years, 8 months ago (2011-04-26 02:42:30 UTC) #6
Chris Guillory
On 2011/04/26 02:42:30, vandebo wrote: > LG after a quick look. But as we discussed ...
9 years, 8 months ago (2011-04-27 03:03:43 UTC) #7
vandebo (ex-Chrome)
LGTM with one comment. http://codereview.chromium.org/6879098/diff/6010/printing/pdf_metafile_skia.cc File printing/pdf_metafile_skia.cc (right): http://codereview.chromium.org/6879098/diff/6010/printing/pdf_metafile_skia.cc#newcode52 printing/pdf_metafile_skia.cc:52: SkRefPtr<SkPDFDevice> pdf_device = This could ...
9 years, 8 months ago (2011-04-27 22:11:34 UTC) #8
Chris Guillory
http://codereview.chromium.org/6879098/diff/6010/printing/pdf_metafile_skia.cc File printing/pdf_metafile_skia.cc (right): http://codereview.chromium.org/6879098/diff/6010/printing/pdf_metafile_skia.cc#newcode52 printing/pdf_metafile_skia.cc:52: SkRefPtr<SkPDFDevice> pdf_device = On 2011/04/27 22:11:34, vandebo wrote: > ...
9 years, 7 months ago (2011-04-29 18:25:44 UTC) #9
vandebo (ex-Chrome)
LG
9 years, 7 months ago (2011-04-29 18:30:14 UTC) #10
Chris Guillory
Adding skia deps roll.
9 years, 7 months ago (2011-04-29 18:43:39 UTC) #11
reed1
LGTM
9 years, 7 months ago (2011-04-29 18:55:28 UTC) #12
Chris Guillory
9 years, 7 months ago (2011-04-29 21:54:13 UTC) #13

          

Powered by Google App Engine
This is Rietveld 408576698