Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(182)

Issue 4657087: Changed Skia backend code to add support to print in the margins (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 2 months ago by aayushkumar
Modified:
13 years, 2 months ago
Reviewers:
Chris Guillory, reed1
CC:
skia-review_googlegroups.com, kmadhusu_chromium.org, bungeman, aayushkumar_google.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Modified to add support to print in the margins of pdf documents

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 28

Patch Set 4 : '' #

Total comments: 23

Patch Set 5 : Made stylistic changes based on Chris and Reed's feedback #

Patch Set 6 : Removed redundant brackets #

Total comments: 6

Patch Set 7 : Added braces and fixed style nits #

Total comments: 4

Patch Set 8 : Changed param type and added documentation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -36 lines) Patch
M include/pdf/SkPDFDevice.h View 1 2 3 4 5 6 7 3 chunks +26 lines, -0 lines 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 3 4 5 6 7 10 chunks +85 lines, -36 lines 0 comments Download

Messages

Total messages: 18
aayushkumar
13 years, 2 months ago (2011-07-08 19:54:04 UTC) #1
Chris Guillory
Looking good! I have mostly style comments. I'm not seeing why we need to modify ...
13 years, 2 months ago (2011-07-08 21:11:54 UTC) #2
reed1
What is the background on why we need a new virtual on device? Is it ...
13 years, 2 months ago (2011-07-08 21:16:18 UTC) #3
reed1
adding Ben
13 years, 2 months ago (2011-07-08 21:17:13 UTC) #4
Chris Guillory
On 2011/07/08 21:16:18, reed1 wrote: > What is the background on why we need a ...
13 years, 2 months ago (2011-07-08 21:22:04 UTC) #5
aayushkumar
Removed changes from SkDevice On 2011/07/08 21:22:04, Chris Guillory wrote: > On 2011/07/08 21:16:18, reed1 ...
13 years, 2 months ago (2011-07-09 00:46:19 UTC) #6
aayushkumar
http://codereview.appspot.com/4657087/diff/5001/include/core/SkDevice.h File include/core/SkDevice.h (right): http://codereview.appspot.com/4657087/diff/5001/include/core/SkDevice.h#newcode235 include/core/SkDevice.h:235: MARGIN_DA, On 2011/07/08 21:11:54, Chris Guillory wrote: > The ...
13 years, 2 months ago (2011-07-09 00:46:29 UTC) #7
Chris Guillory
http://codereview.appspot.com/4657087/diff/4002/include/pdf/SkPDFDevice.h File include/pdf/SkPDFDevice.h (right): http://codereview.appspot.com/4657087/diff/4002/include/pdf/SkPDFDevice.h#newcode114 include/pdf/SkPDFDevice.h:114: kContent_DrawingArea, Optional: Comments here. e.g. // Drawing area for ...
13 years, 2 months ago (2011-07-09 01:23:39 UTC) #8
reed1
http://codereview.appspot.com/4657087/diff/4002/include/pdf/SkPDFDevice.h File include/pdf/SkPDFDevice.h (right): http://codereview.appspot.com/4657087/diff/4002/include/pdf/SkPDFDevice.h#newcode117 include/pdf/SkPDFDevice.h:117: +1 needs comment/documentation (as does the enum values) why ...
13 years, 2 months ago (2011-07-11 12:20:31 UTC) #9
aayushkumar
http://codereview.appspot.com/4657087/diff/4002/include/pdf/SkPDFDevice.h File include/pdf/SkPDFDevice.h (right): http://codereview.appspot.com/4657087/diff/4002/include/pdf/SkPDFDevice.h#newcode114 include/pdf/SkPDFDevice.h:114: kContent_DrawingArea, On 2011/07/09 01:23:39, Chris Guillory wrote: > Optional: ...
13 years, 2 months ago (2011-07-11 21:50:19 UTC) #10
Chris Guillory
LGTM, just two nits. http://codereview.appspot.com/4657087/diff/12002/include/pdf/SkPDFDevice.h File include/pdf/SkPDFDevice.h (right): http://codereview.appspot.com/4657087/diff/12002/include/pdf/SkPDFDevice.h#newcode114 include/pdf/SkPDFDevice.h:114: kContent_DrawingArea, // Drawing area for ...
13 years, 2 months ago (2011-07-11 23:16:11 UTC) #11
Chris Guillory
http://codereview.appspot.com/4657087/diff/12002/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): http://codereview.appspot.com/4657087/diff/12002/src/pdf/SkPDFDevice.cpp#newcode958 src/pdf/SkPDFDevice.cpp:958: if (fDrawingArea == kContent_DrawingArea) Per skia code guidelines braces ...
13 years, 2 months ago (2011-07-11 23:18:17 UTC) #12
aayushkumar
http://codereview.appspot.com/4657087/diff/12002/include/pdf/SkPDFDevice.h File include/pdf/SkPDFDevice.h (right): http://codereview.appspot.com/4657087/diff/12002/include/pdf/SkPDFDevice.h#newcode114 include/pdf/SkPDFDevice.h:114: kContent_DrawingArea, // Drawing area for the page content On ...
13 years, 2 months ago (2011-07-11 23:38:29 UTC) #13
Chris Guillory
I can commit this if needed. Let's let Mike have a chance for another look.
13 years, 2 months ago (2011-07-11 23:54:37 UTC) #14
aayushkumar_google.com
Yeah, that'll be great. Thanks! :) On Mon, Jul 11, 2011 at 4:54 PM, <ctguil@chromium.org> ...
13 years, 2 months ago (2011-07-12 00:29:32 UTC) #15
reed1
Just a documentation question and a parameter type. LGTM after those are addressed. http://codereview.appspot.com/4657087/diff/18001/include/pdf/SkPDFDevice.h File ...
13 years, 2 months ago (2011-07-12 12:31:26 UTC) #16
aayushkumar
http://codereview.appspot.com/4657087/diff/18001/include/pdf/SkPDFDevice.h File include/pdf/SkPDFDevice.h (right): http://codereview.appspot.com/4657087/diff/18001/include/pdf/SkPDFDevice.h#newcode119 include/pdf/SkPDFDevice.h:119: * directed to the specific drawing area (margin or ...
13 years, 2 months ago (2011-07-12 21:04:24 UTC) #17
Chris Guillory
13 years, 2 months ago (2011-07-12 21:57:48 UTC) #18
I reformatted some of the comments and added a TODO in
SkPDFDevice::setDrawingArea.

Committed as revision 1843. You can close this issue now.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b