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

Issue 8041052: Add IsScalingDisabled and PP_PRINTOUTPUTFORMAT_EMF to pepper printing interface. (Closed)

Created:
9 years, 2 months ago by vandebo (ex-Chrome)
Modified:
9 years, 2 months ago
CC:
chromium-reviews, piman+watch_chromium.org, darin-cc_chromium.org, Lei Zhang, jam
Visibility:
Public.

Description

Add IsScalingDisabled and PP_PRINTOUTPUTFORMAT_EMF to pepper printing interface. IsScalingDisabled will let us handle PDFS that don't want to be scaled. PP_PRINTOUTPUTFORMAT_EMF is to simply the printing flow on Windows. BUG=67091, 92045, 91880, 92000, 92218, 95905 TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103177

Patch Set 1 #

Total comments: 17

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -17 lines) Patch
M ppapi/c/dev/ppp_printing_dev.h View 1 3 chunks +10 lines, -3 lines 0 comments Download
M ppapi/cpp/dev/printing_dev.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/cpp/dev/printing_dev.cc View 1 1 chunk +12 lines, -1 line 0 comments Download
M ppapi/example/example.cc View 1 2 chunks +6 lines, -10 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/browser_ppp_printing.cc View 1 4 chunks +20 lines, -3 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/plugin_ppp_printing_rpc_server.cc View 1 1 chunk +19 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/ppp_printing.srpc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/ppp_rpc_client.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/ppp_rpc_server.cc View 1 2 chunks +15 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/ppp_rpc.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/ppp_rpc.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
vandebo (ex-Chrome)
Lei has the PDF plugin changes for this ready to go. http://codereview.chromium.org/8041052/diff/1/ppapi/native_client/src/shared/ppapi_proxy/ppp_rpc_client.cc File ppapi/native_client/src/shared/ppapi_proxy/ppp_rpc_client.cc (right): ...
9 years, 2 months ago (2011-09-26 23:41:33 UTC) #1
vandebo (ex-Chrome)
+jam to reviewers for webkit/plugins/ changes
9 years, 2 months ago (2011-09-26 23:54:54 UTC) #2
dmichael (off chromium)
Is it intentional that you're not using the new EMF format yet? It probably does ...
9 years, 2 months ago (2011-09-27 15:28:38 UTC) #3
dmichael (off chromium)
One more thing... I think we should consider keeping backwards compatibility. I know the normal ...
9 years, 2 months ago (2011-09-27 15:30:09 UTC) #4
vandebo (ex-Chrome)
On 2011/09/27 15:28:38, dmichael wrote: > Is it intentional that you're not using the new ...
9 years, 2 months ago (2011-09-27 20:02:24 UTC) #5
dmichael (off chromium)
> > One more thing... I think we should consider keeping backwards compatibility. > I ...
9 years, 2 months ago (2011-09-27 20:49:22 UTC) #6
elijahtaylor (use chromium)
On Tue, Sep 27, 2011 at 1:49 PM, <dmichael@chromium.org> wrote: > > One more thing... ...
9 years, 2 months ago (2011-09-27 20:56:03 UTC) #7
dmichael (off chromium)
Given what Elijah said, LGTM Feel free to move the function back to the middle ...
9 years, 2 months ago (2011-09-27 21:12:41 UTC) #8
vandebo (ex-Chrome)
As you said, putting the new method at the end makes it easier to do ...
9 years, 2 months ago (2011-09-27 22:23:00 UTC) #9
vandebo (ex-Chrome)
9 years, 2 months ago (2011-09-28 20:50:23 UTC) #10
On 2011/09/27 22:23:00, vandebo wrote:
> As you said, putting the new method at the end makes it easier to do backward
> compatibility.  This way wasn't too hard.  If you don't like the general
> approach, I'll just undo it.

In IM David thought it was too much of a hack.  Deleting patch set 3.

Powered by Google App Engine
This is Rietveld 408576698