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

Issue 9085027: Pepper gamepad support (Closed)

Created:
8 years, 11 months ago by scottmg
Modified:
8 years, 11 months ago
Reviewers:
brettw
CC:
chromium-reviews, piman+watch_chromium.org, darin-cc_chromium.org, yzshen+watch_chromium.org, ihf+watch_chromium.org
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : fake data for testing #

Patch Set 3 : plumb through via shared memory reader #

Patch Set 4 : make standalone example #

Patch Set 5 : comments on interface, example fixup #

Patch Set 6 : remove dead code #

Patch Set 7 : fix example #

Total comments: 12

Patch Set 8 : review fixes #

Patch Set 9 : remove unnecessary include #

Total comments: 3

Patch Set 10 : example tidying, idl regen #

Patch Set 11 : fix merge, example tidying #

Patch Set 12 : fix unittest, tweak example #

Patch Set 13 : fix include #

Patch Set 14 : compile fix #

Patch Set 15 : another test fix #

Patch Set 16 : remove hardcoded size assert in favour of matching webkit size assert #

Unified diffs Side-by-side diffs Delta from patch set Stats (+497 lines, -0 lines) Patch
M content/renderer/pepper_plugin_delegate_impl.h View 1 2 3 4 5 6 7 8 9 4 chunks +8 lines, -0 lines 0 comments Download
M content/renderer/pepper_plugin_delegate_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -0 lines 0 comments Download
A ppapi/api/dev/ppb_gamepad_dev.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +87 lines, -0 lines 0 comments Download
A ppapi/c/dev/ppb_gamepad_dev.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +106 lines, -0 lines 0 comments Download
A ppapi/examples/gamepad/gamepad.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +151 lines, -0 lines 0 comments Download
A ppapi/examples/gamepad/gamepad.html View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/ppapi_sources.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/ppapi_tests.gypi View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_instance_proxy.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_instance_proxy.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M ppapi/tests/all_c_includes.h View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_public_dev.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
A ppapi/thunk/ppb_gamepad_thunk.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +34 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_instance_api.h View 2 chunks +5 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +5 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_delegate.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.h View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 4 5 6 7 8 9 4 chunks +45 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
scottmg
First attempt at plumbing a gamepad interface. Brett, do you have time to take a ...
8 years, 11 months ago (2012-01-05 20:33:54 UTC) #1
brettw
Looks good overall. http://codereview.chromium.org/9085027/diff/4020/ppapi/api/dev/ppb_gamepad_dev.idl File ppapi/api/dev/ppb_gamepad_dev.idl (right): http://codereview.chromium.org/9085027/diff/4020/ppapi/api/dev/ppb_gamepad_dev.idl#newcode29 ppapi/api/dev/ppb_gamepad_dev.idl:29: uint16_t[128] id; This is the same ...
8 years, 11 months ago (2012-01-05 22:50:03 UTC) #2
scottmg
Thanks! http://codereview.chromium.org/9085027/diff/4020/ppapi/api/dev/ppb_gamepad_dev.idl File ppapi/api/dev/ppb_gamepad_dev.idl (right): http://codereview.chromium.org/9085027/diff/4020/ppapi/api/dev/ppb_gamepad_dev.idl#newcode29 ppapi/api/dev/ppb_gamepad_dev.idl:29: uint16_t[128] id; On 2012/01/05 22:50:04, brettw wrote: > ...
8 years, 11 months ago (2012-01-06 00:54:21 UTC) #3
brettw
LGTM, just some example suggestions. http://codereview.chromium.org/9085027/diff/8026/ppapi/examples/gamepad/gamepad.cc File ppapi/examples/gamepad/gamepad.cc (right): http://codereview.chromium.org/9085027/diff/8026/ppapi/examples/gamepad/gamepad.cc#newcode61 ppapi/examples/gamepad/gamepad.cc:61: RequestInputEvents(PP_INPUTEVENT_CLASS_MOUSE | It looks ...
8 years, 11 months ago (2012-01-06 23:36:43 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/9085027/22006
8 years, 11 months ago (2012-01-10 18:04:49 UTC) #5
commit-bot: I haz the power
8 years, 11 months ago (2012-01-10 19:24:30 UTC) #6
Change committed as 117077

Powered by Google App Engine
This is Rietveld 408576698