|
Gracefully support Navigator Gamepad methods in a detached state.
If the frame and window of a Navigator has been detached (closed), the
Navigator Gamepad methods must still continue to be available. Arrange
for that to happen by allowing the Gamepad Navigator supplement to
be creatable without a frame.
R=
BUG= 355783
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172920
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+94 lines, -63 lines) |
Patch |
|
A + |
LayoutTests/gamepad/gamepad-detached-no-crash.html
|
View
|
|
1 chunk |
+22 lines, -31 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/gamepad/gamepad-detached-no-crash-expected.txt
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
A + |
LayoutTests/gamepad/resources/gamepad-detached-no-crash-new-window.html
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/DeviceSensorEventController.h
|
View
|
1
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/DeviceSensorEventController.cpp
|
View
|
1
2
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/modules/battery/BatteryManager.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/modules/battery/BatteryManager.cpp
|
View
|
1
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/device_orientation/DeviceMotionController.h
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/modules/device_orientation/DeviceMotionController.cpp
|
View
|
1
2
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/device_orientation/DeviceOrientationController.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/modules/device_orientation/DeviceOrientationController.cpp
|
View
|
1
2
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/gamepad/NavigatorGamepad.h
|
View
|
1
|
1 chunk |
+12 lines, -11 lines |
0 comments
|
Download
|
|
M |
Source/modules/gamepad/NavigatorGamepad.cpp
|
View
|
1
|
5 chunks |
+25 lines, -11 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|