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

Issue 12989006: Move HiDPI-related Pepper interfaces to stable (Closed)

Created:
7 years, 9 months ago by Josh Horwich
Modified:
7 years, 8 months ago
CC:
chromium-reviews, piman+watch_chromium.org, raymes+watch_chromium.org, yusukes+watch_chromium.org, yzshen+watch_chromium.org, ihf+watch_chromium.org
Visibility:
Public.

Description

Move HiDPI-related Pepper interfaces to stable This adds the APIs provided in PPB_View_Dev_0_1 and PP_Graphics2D_Dev_0_1 to the public Pepper APIs for PPB_View and PPB_Graphics2D. Includes: - Change to IDL and generated C headers/shim - Change to PPAPI to export the 1_1 interfaces - C++ glue - Example PPAPI plugin for using HiDPI Pepper APIs BUG=144071 TEST=Existing (prebuilt) PDF plugin using 1.0 interfaces still works Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193110

Patch Set 1 #

Patch Set 2 : Fix Win build, add test #

Total comments: 11

Patch Set 3 : Edits based on review feedback #

Patch Set 4 : Rebase after spelling-correction CL #

Total comments: 3

Patch Set 5 : Clarify header. Change glue to try 1_1 first then fallback to 1_0 for all methods. #

Total comments: 2

Patch Set 6 : Fix pp::View::IsPageVisible #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+809 lines, -60 lines) Patch
M ppapi/api/ppb_graphics_2d.idl View 1 2 3 2 chunks +38 lines, -1 line 0 comments Download
M ppapi/api/ppb_view.idl View 1 2 2 chunks +35 lines, -1 line 0 comments Download
M ppapi/c/ppb_graphics_2d.h View 1 2 3 4 chunks +53 lines, -4 lines 0 comments Download
M ppapi/c/ppb_view.h View 1 2 4 chunks +43 lines, -4 lines 0 comments Download
M ppapi/cpp/graphics_2d.h View 1 2 3 4 3 chunks +26 lines, -2 lines 0 comments Download
M ppapi/cpp/graphics_2d.cc View 1 2 3 4 4 chunks +76 lines, -28 lines 0 comments Download
M ppapi/cpp/view.h View 1 chunk +20 lines, -0 lines 0 comments Download
M ppapi/cpp/view.cc View 1 2 3 4 5 2 chunks +53 lines, -18 lines 0 comments Download
A ppapi/examples/scaling/scaling.cc View 1 1 chunk +232 lines, -0 lines 0 comments Download
A ppapi/examples/scaling/scaling.html View 1 chunk +44 lines, -0 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 5 6 10 chunks +90 lines, -0 lines 0 comments Download
M ppapi/ppapi_tests.gypi View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M ppapi/tests/test_graphics_2d.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/tests/test_graphics_2d.cc View 1 2 chunks +39 lines, -0 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_public_stable.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_graphics_2d_thunk.cc View 3 chunks +18 lines, -2 lines 0 comments Download
M ppapi/thunk/ppb_view_thunk.cc View 1 2 3 4 2 chunks +29 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
dmichael (off chromium)
This looks great to me, overall... Would you be willing to tweak the NaCl SDK ...
7 years, 9 months ago (2013-03-28 21:38:29 UTC) #1
Josh Horwich
PTAL Also, yes I will modify pi_generator in a follow-on CL - should be straightforward. ...
7 years, 8 months ago (2013-03-29 20:54:23 UTC) #2
dmichael (off chromium)
https://chromiumcodereview.appspot.com/12989006/diff/2002/ppapi/cpp/graphics_2d.h File ppapi/cpp/graphics_2d.h (right): https://chromiumcodereview.appspot.com/12989006/diff/2002/ppapi/cpp/graphics_2d.h#newcode44 ppapi/cpp/graphics_2d.h:44: /// measured in device pixels. On 2013/03/29 20:54:23, Josh ...
7 years, 8 months ago (2013-04-04 17:15:59 UTC) #3
Josh Horwich
PTAL https://chromiumcodereview.appspot.com/12989006/diff/2002/ppapi/cpp/graphics_2d.h File ppapi/cpp/graphics_2d.h (right): https://chromiumcodereview.appspot.com/12989006/diff/2002/ppapi/cpp/graphics_2d.h#newcode44 ppapi/cpp/graphics_2d.h:44: /// measured in device pixels. On 2013/04/04 17:16:00, ...
7 years, 8 months ago (2013-04-08 21:08:14 UTC) #4
dmichael (off chromium)
https://codereview.chromium.org/12989006/diff/51001/ppapi/cpp/graphics_2d.cc File ppapi/cpp/graphics_2d.cc (right): https://codereview.chromium.org/12989006/diff/51001/ppapi/cpp/graphics_2d.cc#newcode45 ppapi/cpp/graphics_2d.cc:45: PassRefFromConstructor(get_interface<PPB_Graphics2D_1_0>()->Create( On 2013/04/08 21:08:15, Josh Horwich wrote: > On ...
7 years, 8 months ago (2013-04-08 21:29:36 UTC) #5
Josh Horwich
PTAL - ixed pp::View::IsPageVisible https://chromiumcodereview.appspot.com/12989006/diff/67001/ppapi/cpp/view.cc File ppapi/cpp/view.cc (right): https://chromiumcodereview.appspot.com/12989006/diff/67001/ppapi/cpp/view.cc#newcode62 ppapi/cpp/view.cc:62: if (!has_interface<PPB_View_1_1>()) { On 2013/04/08 ...
7 years, 8 months ago (2013-04-08 21:37:49 UTC) #6
dmichael (off chromium)
lgtm, thanks!
7 years, 8 months ago (2013-04-08 21:43:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jhorwich@chromium.org/12989006/74002
7 years, 8 months ago (2013-04-08 22:40:08 UTC) #8
commit-bot: I haz the power
Presubmit check for 12989006-74002 failed and returned exit status 1. INFO:root:Found 17 file(s). Running presubmit ...
7 years, 8 months ago (2013-04-08 22:40:27 UTC) #9
Josh Horwich
On 2013/04/08 22:40:27, I haz the power (commit-bot) wrote: > Presubmit check for 12989006-74002 failed ...
7 years, 8 months ago (2013-04-09 00:13:50 UTC) #10
Josh Horwich
7 years, 8 months ago (2013-04-09 15:40:54 UTC) #11
Message was sent while issue was closed.
Committed patchset #7 manually as r193110.

Powered by Google App Engine
This is Rietveld 408576698