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

Issue 8899017: Add gamepad data fetcher for Linux (Closed)

Created:
9 years ago by scottmg
Modified:
8 years, 11 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, dpranke-watch+content_chromium.org
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : fix include for libudev location #

Patch Set 3 : add mapping standardization for some common devices #

Patch Set 4 : add wireless 360 controller #

Patch Set 5 : add logitech f710 #

Patch Set 6 : minor tidying #

Patch Set 7 : better so load #

Total comments: 2

Patch Set 8 : some renaming #

Patch Set 9 : static dependency on libudev #

Patch Set 10 : windows fix #

Patch Set 11 : use system.gyp for udev dep #

Total comments: 20

Patch Set 12 : review fixes, mostly -> WatchFileDescriptor #

Total comments: 10

Patch Set 13 : fd and copy length bug fixes #

Total comments: 1

Patch Set 14 : rebase to ToT #

Patch Set 15 : clang warning #

Patch Set 16 : copyright year #

Patch Set 17 : rebase again #

Patch Set 18 : rebase again, bots all updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+603 lines, -638 lines) Patch
M build/linux/system.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +21 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
D content/browser/gamepad/data_fetcher_mac.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -75 lines 0 comments Download
D content/browser/gamepad/data_fetcher_mac.mm View 1 2 3 4 5 6 7 1 chunk +0 lines, -287 lines 0 comments Download
D content/browser/gamepad/data_fetcher_win.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -32 lines 0 comments Download
D content/browser/gamepad/data_fetcher_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -173 lines 0 comments Download
M content/browser/gamepad/gamepad_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/gamepad/gamepad_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +6 lines, -32 lines 0 comments Download
A content/browser/gamepad/gamepad_standard_mappings_linux.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +26 lines, -0 lines 0 comments Download
A content/browser/gamepad/gamepad_standard_mappings_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +156 lines, -0 lines 0 comments Download
A content/browser/gamepad/platform_data_fetcher.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +47 lines, -0 lines 0 comments Download
A content/browser/gamepad/platform_data_fetcher_linux.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +66 lines, -0 lines 0 comments Download
A content/browser/gamepad/platform_data_fetcher_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +228 lines, -0 lines 0 comments Download
A + content/browser/gamepad/platform_data_fetcher_mac.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +5 lines, -5 lines 0 comments Download
A + content/browser/gamepad/platform_data_fetcher_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 9 chunks +21 lines, -17 lines 0 comments Download
A + content/browser/gamepad/platform_data_fetcher_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/gamepad/platform_data_fetcher_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +5 lines, -5 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +14 lines, -4 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
scottmg
Not sure if there's a preferred reviewer for content/browser for linux-specific stuff. The addition to ...
9 years ago (2011-12-15 03:25:21 UTC) #1
darin (slow to review)
On Wed, Dec 14, 2011 at 7:25 PM, <scottmg@chromium.org> wrote: > Reviewers: darin, > > ...
9 years ago (2011-12-15 05:18:48 UTC) #2
darin (slow to review)
http://codereview.chromium.org/8899017/diff/4012/content/browser/gamepad/gamepad_provider.cc File content/browser/gamepad/gamepad_provider.cc (right): http://codereview.chromium.org/8899017/diff/4012/content/browser/gamepad/gamepad_provider.cc#newcode20 content/browser/gamepad/gamepad_provider.cc:20: #if defined(OS_WIN) how about putting all of this gunk ...
9 years ago (2011-12-15 05:22:23 UTC) #3
Elliot Glaysher
Pawel, what do you think of the third part include here? Will this be a ...
9 years ago (2011-12-15 19:16:43 UTC) #4
scottmg
On 2011/12/15 05:22:23, darin wrote: > http://codereview.chromium.org/8899017/diff/4012/content/browser/gamepad/gamepad_provider.cc > File content/browser/gamepad/gamepad_provider.cc (right): > > http://codereview.chromium.org/8899017/diff/4012/content/browser/gamepad/gamepad_provider.cc#newcode20 > ...
9 years ago (2011-12-15 19:30:49 UTC) #5
scottmg
Gah! The diff doesn't track renames, sorry. There are no substantial changes in any of ...
9 years ago (2011-12-15 19:32:27 UTC) #6
Paweł Hajdan Jr.
On 2011/12/15 19:16:43, Elliot Glaysher wrote: > Pawel, what do you think of the third ...
9 years ago (2011-12-16 12:47:09 UTC) #7
scottmg
OK, thanks. If I'm going to have that as an option, I should also take ...
9 years ago (2011-12-16 18:44:22 UTC) #8
Elliot Glaysher
Thoughts: - Add libudev-dev to the list of packages to install in build/install-build-deps.sh - I'm ...
9 years ago (2011-12-16 18:54:36 UTC) #9
scottmg
On Fri, Dec 16, 2011 at 10:54 AM, <erg@chromium.org> wrote: > Thoughts: > > - ...
9 years ago (2011-12-16 19:07:30 UTC) #10
scottmg
ptal Elliot, could you specifically look at platform_data_fetcher_linux.cc/h for linux functionality? The rest is renames ...
9 years ago (2011-12-16 23:40:29 UTC) #11
Elliot Glaysher
On 2011/12/16 23:40:29, scottmg wrote: > ptal > > Elliot, could you specifically look at ...
9 years ago (2011-12-16 23:53:27 UTC) #12
scottmg
On 2011/12/16 23:53:27, Elliot Glaysher wrote: Thanks for a somewhat-sane check at least Elliot. :) ...
9 years ago (2011-12-16 23:59:00 UTC) #13
Ryan Sleevi
Just a few drive-by comments and style nits. Please don't let them hold up the ...
9 years ago (2011-12-17 04:31:14 UTC) #14
Paweł Hajdan Jr.
LGTM, thank you! This is done _exactly_ the right way, I appreciate that.
9 years ago (2011-12-19 08:07:12 UTC) #15
scottmg
Thanks Ryan. http://codereview.chromium.org/8899017/diff/21001/content/browser/gamepad/platform_data_fetcher_linux.cc File content/browser/gamepad/platform_data_fetcher_linux.cc (right): http://codereview.chromium.org/8899017/diff/21001/content/browser/gamepad/platform_data_fetcher_linux.cc#newcode12 content/browser/gamepad/platform_data_fetcher_linux.cc:12: #include <dlfcn.h> On 2011/12/17 04:31:14, Ryan Sleevi ...
9 years ago (2011-12-19 19:41:44 UTC) #16
Ryan Sleevi
http://codereview.chromium.org/8899017/diff/26001/content/browser/gamepad/platform_data_fetcher_linux.cc File content/browser/gamepad/platform_data_fetcher_linux.cc (right): http://codereview.chromium.org/8899017/diff/26001/content/browser/gamepad/platform_data_fetcher_linux.cc#newcode82 content/browser/gamepad/platform_data_fetcher_linux.cc:82: } BUG? Did you mean to close() device_fds_ ? ...
9 years ago (2011-12-19 22:51:58 UTC) #17
scottmg
Thanks a second time, for catching much dumbness Ryan. http://codereview.chromium.org/8899017/diff/26001/content/browser/gamepad/platform_data_fetcher_linux.cc File content/browser/gamepad/platform_data_fetcher_linux.cc (right): http://codereview.chromium.org/8899017/diff/26001/content/browser/gamepad/platform_data_fetcher_linux.cc#newcode82 content/browser/gamepad/platform_data_fetcher_linux.cc:82: ...
9 years ago (2011-12-19 23:23:53 UTC) #18
Ryan Sleevi
LGTM. Obscure trivia below, but no functional impact. http://codereview.chromium.org/8899017/diff/25004/content/browser/gamepad/platform_data_fetcher_linux.cc File content/browser/gamepad/platform_data_fetcher_linux.cc (right): http://codereview.chromium.org/8899017/diff/25004/content/browser/gamepad/platform_data_fetcher_linux.cc#newcode49 content/browser/gamepad/platform_data_fetcher_linux.cc:49: HANDLE_EINTR(close(device_fds_[i])); ...
9 years ago (2011-12-19 23:32:58 UTC) #19
scottmg
On 2011/12/19 23:32:58, Ryan Sleevi wrote: > LGTM. Obscure trivia below, but no functional impact. ...
9 years ago (2011-12-19 23:47:02 UTC) #20
darin (slow to review)
OWNERS LGTM
8 years, 11 months ago (2012-01-05 20:40:16 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/8899017/32002
8 years, 11 months ago (2012-01-06 17:11:25 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/8899017/43001
8 years, 11 months ago (2012-01-06 17:45:06 UTC) #23
commit-bot: I haz the power
8 years, 11 months ago (2012-01-06 18:25:40 UTC) #24
Try job failure for 8899017-43001 on win_rel for step "update".
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Step "update" is always a major failure.
Look at the try server FAQ for more details.

Powered by Google App Engine
This is Rietveld 408576698