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

Issue 10802004: Experimental flag for HiDPI-aware PDF Viewer (Closed)

Created:
8 years, 5 months ago by Josh Horwich
Modified:
8 years, 5 months ago
Reviewers:
brettw
CC:
chromium-reviews, nkostylev+watch_chromium.org, yzshen+watch_chromium.org, darin-cc_chromium.org, oshima+watch_chromium.org, brettw-cc_chromium.org, piman+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, ihf+watch_chromium.org
Visibility:
Public.

Description

Experimental flag for HiDPI-aware PDF Viewer Adds a flag --enable-hidpi-pdf-plugin so HiDPI rendering in the PDF Viewer can be controlled by this flag. Add a pepper priv interface to query the flag. BUG=114674 TEST=Manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=148567

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -1 line) Patch
M chrome/app/generated_resources.grd View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/pepper/ppb_pdf_impl.cc View 3 chunks +16 lines, -1 line 0 comments Download
M ppapi/c/private/ppb_pdf.h View 3 chunks +7 lines, -0 lines 2 comments Download

Messages

Total messages: 8 (0 generated)
Josh Horwich
Please take a look. Also, note I did not go through the effort of version-bumping ...
8 years, 5 months ago (2012-07-18 01:49:58 UTC) #1
Josh Horwich
Gentle ping - I'd like to move this one forward so I can land experimental ...
8 years, 5 months ago (2012-07-20 02:27:49 UTC) #2
Josh Horwich
Ping - Brett, are you the right one to review this or should I find ...
8 years, 5 months ago (2012-07-24 17:59:22 UTC) #3
brettw
Sorry for the delay, LGTM http://codereview.chromium.org/10802004/diff/1/ppapi/c/private/ppb_pdf.h File ppapi/c/private/ppb_pdf.h (right): http://codereview.chromium.org/10802004/diff/1/ppapi/c/private/ppb_pdf.h#newcode14 ppapi/c/private/ppb_pdf.h:14: #define PPB_PDF_INTERFACE "PPB_PDF;1" Can ...
8 years, 5 months ago (2012-07-25 17:50:37 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jhorwich@chromium.org/10802004/1
8 years, 5 months ago (2012-07-25 21:56:36 UTC) #5
commit-bot: I haz the power
Presubmit check for 10802004-1 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-07-25 21:56:42 UTC) #6
Josh Horwich
Note for posterity on why version number isn't rev'd here. https://chromiumcodereview.appspot.com/10802004/diff/1/ppapi/c/private/ppb_pdf.h File ppapi/c/private/ppb_pdf.h (right): https://chromiumcodereview.appspot.com/10802004/diff/1/ppapi/c/private/ppb_pdf.h#newcode14 ...
8 years, 5 months ago (2012-07-25 22:00:43 UTC) #7
Josh Horwich
8 years, 5 months ago (2012-07-25 22:33:06 UTC) #8
On 2012/07/25 22:00:43, Josh Horwich wrote:
> Note for posterity on why version number isn't rev'd here.
> 
>
https://chromiumcodereview.appspot.com/10802004/diff/1/ppapi/c/private/ppb_pdf.h
> File ppapi/c/private/ppb_pdf.h (right):
> 
>
https://chromiumcodereview.appspot.com/10802004/diff/1/ppapi/c/private/ppb_pd...
> ppapi/c/private/ppb_pdf.h:14: #define PPB_PDF_INTERFACE "PPB_PDF;1"
> On 2012/07/25 17:50:37, brettw wrote:
> > Can you rev the version number since you changed this interface?
> 
> Based on offline conversation, I'll leave the version number the same as we
are
> appending a method and leaving the rest of the struct alone - this isn't ideal
> since consumers of this API (PDF viewer) won't be able to disambiguate
> older/newer, however this lets us avoid adding multiple versions for things
like
> pepper_flash_component_installer.cc  .

Also, there was a similar discussion apparently last time we added a function to
the interface - see comments #19 and up in
http://codereview.chromium.org/9139024

Powered by Google App Engine
This is Rietveld 408576698