|
Added non-prefixed navigator.getGamepads() with updated API
This CL splits the Gamepad API into prefixed and non-prefixed versions.
The prefixed version continues to operate in the same way as before, though
the types are now named WebKitGamepad and WebKitGamepadList. The non-prefixed
version uses the new GamepadButton type for its button values.
The GamepadEvent type has also been added but the events aren't yet wired up.
When added they will only apply to the the non-prefixed API.
BUG= 344556
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169148
Total comments: 1
Total comments: 17
Total comments: 4
Total comments: 2
Total comments: 4
Total comments: 7
Total comments: 1
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+421 lines, -59 lines) |
Patch |
|
M |
LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/gamepad/gamepad-api.html
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/gamepad/gamepad-api-expected.txt
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/gamepad/gamepad-polling-access.html
|
View
|
1
2
|
2 chunks |
+24 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/gamepad/gamepad-polling-access-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+23 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/virtual/stable/webexposed/global-constructors-listing-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/webexposed/global-constructors-listing-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/UseCounter.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/UseCounter.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/modules/gamepad/Gamepad.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+11 lines, -14 lines |
0 comments
|
Download
|
|
M |
Source/modules/gamepad/Gamepad.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+14 lines, -16 lines |
0 comments
|
Download
|
|
M |
Source/modules/gamepad/Gamepad.idl
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
|
A |
Source/modules/gamepad/GamepadButton.h
|
View
|
1
2
3
4
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
A |
Source/modules/gamepad/GamepadButton.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
A + |
Source/modules/gamepad/GamepadButton.idl
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/modules/gamepad/GamepadList.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/modules/gamepad/GamepadList.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/modules/gamepad/GamepadList.idl
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/gamepad/NavigatorGamepad.h
|
View
|
1
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/gamepad/NavigatorGamepad.cpp
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+33 lines, -14 lines |
0 comments
|
Download
|
|
M |
Source/modules/gamepad/NavigatorGamepad.idl
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
A |
Source/modules/gamepad/WebKitGamepad.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
|
A |
Source/modules/gamepad/WebKitGamepad.cpp
|
View
|
1
2
3
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
|
A |
Source/modules/gamepad/WebKitGamepad.idl
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
Source/modules/gamepad/WebKitGamepadList.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
|
A |
Source/modules/gamepad/WebKitGamepadList.cpp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
A |
Source/modules/gamepad/WebKitGamepadList.idl
|
View
|
1
2
3
4
5
6
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/modules/modules.gypi
|
View
|
1
2
3
4
5
6
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
Total messages: 53 (0 generated)
|