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

Issue 12568010: Cleanup: Make gamepad API consistent. (Closed)

Created:
7 years, 9 months ago by teravest
Modified:
7 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Cleanup: Make gamepad API consistent. In the "old proxy model", using EnterInstance<>, code always passed the instance as the first argument. In the "new proxy model", using EnterInstanceAPI<>, code is inconsistent, making it hard to automatically generate thunk files from IDL. This change updates the gamepad API to be consistent with many other interfaces and the old proxy model. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=189169

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comment out unused parameters. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -6 lines) Patch
M ppapi/proxy/gamepad_resource.h View 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/proxy/gamepad_resource.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/thunk/ppb_gamepad_api.h View 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/thunk/ppb_gamepad_thunk.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.h View 1 chunk +2 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
teravest
7 years, 9 months ago (2013-03-19 18:15:46 UTC) #1
raymes
lgtm thanks!
7 years, 9 months ago (2013-03-19 18:17:39 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/12568010/1
7 years, 9 months ago (2013-03-19 18:22:11 UTC) #3
commit-bot: I haz the power
Presubmit check for 12568010-1 failed and returned exit status 1. INFO:root:Found 6 file(s). Running presubmit ...
7 years, 9 months ago (2013-03-19 18:22:14 UTC) #4
teravest
7 years, 9 months ago (2013-03-19 18:57:11 UTC) #5
dmichael (off chromium)
lgtm https://codereview.chromium.org/12568010/diff/1/ppapi/proxy/gamepad_resource.cc File ppapi/proxy/gamepad_resource.cc (right): https://codereview.chromium.org/12568010/diff/1/ppapi/proxy/gamepad_resource.cc#newcode65 ppapi/proxy/gamepad_resource.cc:65: void GamepadResource::Sample(PP_Instance instance, see other nit https://codereview.chromium.org/12568010/diff/1/webkit/plugins/ppapi/ppapi_plugin_instance.cc File ...
7 years, 9 months ago (2013-03-19 19:01:06 UTC) #6
teravest
https://codereview.chromium.org/12568010/diff/1/ppapi/proxy/gamepad_resource.cc File ppapi/proxy/gamepad_resource.cc (right): https://codereview.chromium.org/12568010/diff/1/ppapi/proxy/gamepad_resource.cc#newcode65 ppapi/proxy/gamepad_resource.cc:65: void GamepadResource::Sample(PP_Instance instance, On 2013/03/19 19:01:06, dmichael wrote: > ...
7 years, 9 months ago (2013-03-19 19:39:33 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/12568010/7001
7 years, 9 months ago (2013-03-19 19:54:41 UTC) #8
commit-bot: I haz the power
7 years, 9 months ago (2013-03-20 00:17:38 UTC) #9
Message was sent while issue was closed.
Change committed as 189169

Powered by Google App Engine
This is Rietveld 408576698