|
Refactoring gamepad polling to support dynamically added sources
Also reduces duplicate code between platform data fetchers by having things like
sanitation happen in the provider, and makes the data fetchers themselves more
modular.
BUG= 577414
Committed: https://crrev.com/618039679323b6fc09e2146768f121661b0cdd41
Cr-Commit-Position: refs/heads/master@{#371083}
Total comments: 22
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+892 lines, -1606 lines) |
Patch |
|
M |
content/browser/gamepad/gamepad_data_fetcher.h
|
View
|
1
|
1 chunk |
+18 lines, -37 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/gamepad_data_fetcher.cc
|
View
|
|
1 chunk |
+6 lines, -72 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/gamepad_platform_data_fetcher.h
|
View
|
|
1 chunk |
+18 lines, -18 lines |
0 comments
|
Download
|
|
D |
content/browser/gamepad/gamepad_platform_data_fetcher.cc
|
View
|
|
1 chunk |
+0 lines, -19 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/gamepad_platform_data_fetcher_android.h
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/gamepad_platform_data_fetcher_android.cc
|
View
|
|
3 chunks |
+40 lines, -40 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/gamepad_platform_data_fetcher_linux.h
|
View
|
|
2 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/gamepad_platform_data_fetcher_linux.cc
|
View
|
|
8 chunks |
+27 lines, -26 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/gamepad_platform_data_fetcher_mac.h
|
View
|
|
3 chunks |
+11 lines, -31 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/gamepad_platform_data_fetcher_mac.mm
|
View
|
|
15 chunks |
+59 lines, -169 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/gamepad_platform_data_fetcher_win.h
|
View
|
1
|
4 chunks |
+4 lines, -30 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/gamepad_platform_data_fetcher_win.cc
|
View
|
1
|
5 chunks |
+50 lines, -180 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/gamepad_provider.h
|
View
|
1
|
8 chunks |
+74 lines, -30 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/gamepad_provider.cc
|
View
|
1
|
10 chunks |
+148 lines, -67 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/gamepad_provider_unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+191 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/gamepad_service.h
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/gamepad_service_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/gamepad_test_helpers.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/gamepad_test_helpers.cc
|
View
|
|
1 chunk |
+9 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/raw_input_data_fetcher_win.h
|
View
|
|
4 chunks |
+15 lines, -8 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/raw_input_data_fetcher_win.cc
|
View
|
1
|
9 chunks |
+105 lines, -27 lines |
0 comments
|
Download
|
|
M |
content/browser/gamepad/xbox_data_fetcher_mac.h
|
View
|
1
|
6 chunks |
+16 lines, -14 lines |
0 comments
|
Download
|
|
D |
content/browser/gamepad/xbox_data_fetcher_mac.cc
|
View
|
|
1 chunk |
+0 lines, -809 lines |
0 comments
|
Download
|
|
A + |
content/browser/gamepad/xbox_data_fetcher_mac.mm
|
View
|
1
|
6 chunks |
+87 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/content_browser.gypi
|
View
|
1
2
3
|
3 chunks |
+2 lines, -7 lines |
0 comments
|
Download
|
Total messages: 24 (9 generated)
|