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

Issue 280713004: Update Gamepad API to match the latest specification (Closed)

Created:
6 years, 7 months ago by Inactive
Modified:
6 years, 7 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, tzik, binji+watch_chromium.org, raymes+watch_chromium.org, teravest+watch_chromium.org, nfullagar1, piman+watch_chromium.org, noelallen1, ihf+watch_chromium.org, bajones
Visibility:
Public.

Description

Update Gamepad API to match the latest specification Update Gamepad API to match the latest specification: https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html#widl-Gamepad-axes https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html#widl-GamepadButton-value Namely, Gamepad.axes / GamepadButton.value should be of type double, not float. R=bbudge@chromium.org, jam@chromium.org, scottmg@chromium.org BUG=344556 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271775

Patch Set 1 #

Total comments: 2

Patch Set 2 : Version the IDL #

Total comments: 1

Patch Set 3 : Stop patching ppapi #

Total comments: 2

Patch Set 4 : Add static cast #

Patch Set 5 : Add second static cast #

Total comments: 2

Patch Set 6 : Apply comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -7 lines) Patch
M ppapi/shared_impl/ppb_gamepad_shared.h View 1 2 3 4 5 3 chunks +11 lines, -2 lines 0 comments Download
M ppapi/shared_impl/ppb_gamepad_shared.cc View 1 2 3 4 1 chunk +3 lines, -5 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
scottmg
+bajones, but lgtm
6 years, 7 months ago (2014-05-13 18:16:49 UTC) #1
scottmg
https://codereview.chromium.org/280713004/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/280713004/diff/1/build/common.gypi#newcode2424 build/common.gypi:2424: 'defines': ['ENABLE_NEW_GAMEPAD_API=1'], Er, were these intended to be guarded ...
6 years, 7 months ago (2014-05-13 18:18:17 UTC) #2
Inactive
https://codereview.chromium.org/280713004/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/280713004/diff/1/build/common.gypi#newcode2424 build/common.gypi:2424: 'defines': ['ENABLE_NEW_GAMEPAD_API=1'], On 2014/05/13 18:18:18, scottmg wrote: > Er, ...
6 years, 7 months ago (2014-05-13 18:21:45 UTC) #3
bbudge
Since you're changing a stable Pepper interface, and this changes the size and layout of ...
6 years, 7 months ago (2014-05-13 18:35:43 UTC) #4
jam
Not sure why I got added as a reviewer, since I'm not an owner in ...
6 years, 7 months ago (2014-05-13 21:05:47 UTC) #5
Inactive
On 2014/05/13 21:05:47, jam wrote: > Not sure why I got added as a reviewer, ...
6 years, 7 months ago (2014-05-13 21:21:52 UTC) #6
jam
On 2014/05/13 21:21:52, Chris Dumez wrote: > On 2014/05/13 21:05:47, jam wrote: > > Not ...
6 years, 7 months ago (2014-05-13 23:32:44 UTC) #7
Inactive
On 2014/05/13 23:32:44, jam wrote: > On 2014/05/13 21:21:52, Chris Dumez wrote: > > On ...
6 years, 7 months ago (2014-05-14 13:50:47 UTC) #8
Inactive
On 2014/05/13 18:35:43, bbudge wrote: > Since you're changing a stable Pepper interface, and this ...
6 years, 7 months ago (2014-05-14 14:33:10 UTC) #9
dmichael (off chromium)
I'm fine with the idea of updating the API to match the spec, but I ...
6 years, 7 months ago (2014-05-14 15:14:03 UTC) #10
dmichael (off chromium)
On 2014/05/14 15:14:03, dmichael wrote: > I'm fine with the idea of updating the API ...
6 years, 7 months ago (2014-05-14 15:28:45 UTC) #11
Inactive
On 2014/05/14 15:28:45, dmichael wrote: > On 2014/05/14 15:14:03, dmichael wrote: > > I'm fine ...
6 years, 7 months ago (2014-05-14 17:26:23 UTC) #12
jam
On 2014/05/14 13:50:47, Chris Dumez wrote: > On 2014/05/13 23:32:44, jam wrote: > > On ...
6 years, 7 months ago (2014-05-14 17:31:55 UTC) #13
Inactive
The latest version of the patch addresses the comments: - I am no longer changing ...
6 years, 7 months ago (2014-05-14 17:34:48 UTC) #14
dmichael (off chromium)
Are you able to do a manual test of this? E.g., you can plug in ...
6 years, 7 months ago (2014-05-14 17:39:01 UTC) #15
Inactive
https://codereview.chromium.org/280713004/diff/40001/ppapi/shared_impl/ppb_gamepad_shared.cc File ppapi/shared_impl/ppb_gamepad_shared.cc (right): https://codereview.chromium.org/280713004/diff/40001/ppapi/shared_impl/ppb_gamepad_shared.cc#newcode25 ppapi/shared_impl/ppb_gamepad_shared.cc:25: output_pad.axes[j] = webkit_pad.axes[j]; On 2014/05/14 17:39:02, dmichael wrote: > ...
6 years, 7 months ago (2014-05-14 17:49:50 UTC) #16
Inactive
On 2014/05/14 17:39:01, dmichael wrote: > Are you able to do a manual test of ...
6 years, 7 months ago (2014-05-14 17:50:57 UTC) #17
Inactive
scottmg@, could you please review the corresponding Blink side patch (https://codereview.chromium.org/280393004/)? All this is to ...
6 years, 7 months ago (2014-05-14 17:54:37 UTC) #18
dmichael (off chromium)
lgtm
6 years, 7 months ago (2014-05-14 18:00:10 UTC) #19
Inactive
I tested AirMech and my patch seems to break Gamepad support with the Blink-side patch ...
6 years, 7 months ago (2014-05-14 18:30:31 UTC) #20
Inactive
On 2014/05/14 18:30:31, Chris Dumez wrote: > I tested AirMech and my patch seems to ...
6 years, 7 months ago (2014-05-14 19:04:35 UTC) #21
bbudge
LGTM w/comment https://codereview.chromium.org/280713004/diff/80001/ppapi/shared_impl/ppb_gamepad_shared.h File ppapi/shared_impl/ppb_gamepad_shared.h (right): https://codereview.chromium.org/280713004/diff/80001/ppapi/shared_impl/ppb_gamepad_shared.h#newcode23 ppapi/shared_impl/ppb_gamepad_shared.h:23: #if defined(ENABLE_NEW_GAMEPAD_API) You could reduce the # ...
6 years, 7 months ago (2014-05-14 20:21:33 UTC) #22
Inactive
https://codereview.chromium.org/280713004/diff/80001/ppapi/shared_impl/ppb_gamepad_shared.h File ppapi/shared_impl/ppb_gamepad_shared.h (right): https://codereview.chromium.org/280713004/diff/80001/ppapi/shared_impl/ppb_gamepad_shared.h#newcode23 ppapi/shared_impl/ppb_gamepad_shared.h:23: #if defined(ENABLE_NEW_GAMEPAD_API) On 2014/05/14 20:21:34, bbudge wrote: > You ...
6 years, 7 months ago (2014-05-20 18:34:46 UTC) #23
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 7 months ago (2014-05-20 18:35:07 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/280713004/100001
6 years, 7 months ago (2014-05-20 18:35:43 UTC) #25
commit-bot: I haz the power
Change committed as 271775
6 years, 7 months ago (2014-05-20 22:04:14 UTC) #26
Inactive
I am having trouble landing the blink-side change (https://codereview.chromium.org/280393004/) because the win bot is hitting ...
6 years, 7 months ago (2014-05-21 15:53:22 UTC) #27
chromium-reviews
6 years, 7 months ago (2014-05-21 16:49:48 UTC) #28
I added a comment here explaining what I think is happening:
https://codereview.chromium.org/280393004/diff/60001/public/platform/WebGamep...


On Wed, May 21, 2014 at 9:53 AM, <ch.dumez@samsung.com> wrote:

> I am having trouble landing the blink-side change
> (https://codereview.chromium.org/280393004/) because the win  bot is
> hitting a
> compile assertion and supposedly blink::Gamepads and ppapi::WebKitGamepads
> have
> different sizes:
> http://build.chromium.org/p/tryserver.chromium/builders/
> win/builds/160697/steps/compile/logs/stdio
>
> I currently have no idea why this is happening with msvc (only). If anyone
> has
> any insight on this, please let me know.
>
>
> https://codereview.chromium.org/280713004/
>
> To unsubscribe from this group and stop receiving emails from it, send an
> email to chromium-reviews+unsubscribe@chromium.org.
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698