|
Deduplicate DeviceEvent* classes
r175792 did a good job on refactoring this for the most parts, but it didn't do
so well by leaving behind the old classes only for NavigatorGamepad. This CL
trasitions NavigatorGamepad to the new base classes and and removes the code
duplication.
Also removeEventListener fixed not to assume that it was the last listener.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176482
Total comments: 10
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+84 lines, -410 lines) |
Patch |
|
A |
LayoutTests/gamepad/multiple-event-listeners.html
|
View
|
1
2
3
4
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/gamepad/multiple-event-listeners-expected.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/core.gypi
|
View
|
1
2
3
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
D |
Source/core/frame/DeviceSensorEventController.h
|
View
|
2
|
1 chunk |
+0 lines, -71 lines |
0 comments
|
Download
|
|
D |
Source/core/frame/DeviceSensorEventController.cpp
|
View
|
2
|
1 chunk |
+0 lines, -113 lines |
0 comments
|
Download
|
|
D |
Source/core/frame/DeviceSensorEventDispatcher.h
|
View
|
2
|
1 chunk |
+0 lines, -58 lines |
0 comments
|
Download
|
|
D |
Source/core/frame/DeviceSensorEventDispatcher.cpp
|
View
|
2
|
1 chunk |
+0 lines, -95 lines |
0 comments
|
Download
|
|
M |
Source/modules/device_light/DeviceLightDispatcher.cpp
|
View
|
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/gamepad/GamepadDispatcher.h
|
View
|
1
2
3
|
2 chunks |
+17 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/modules/gamepad/GamepadDispatcher.cpp
|
View
|
1
2
3
|
2 chunks |
+5 lines, -22 lines |
0 comments
|
Download
|
|
M |
Source/modules/gamepad/NavigatorGamepad.h
|
View
|
1
2
3
|
3 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/modules/gamepad/NavigatorGamepad.cpp
|
View
|
1
2
3
4
|
5 chunks |
+16 lines, -34 lines |
0 comments
|
Download
|
Total messages: 16 (0 generated)
|