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

Issue 2900773003: Allow gaming_seat to use ozone gamepad as back-end (Closed)

Created:
3 years, 7 months ago by jkwang
Modified:
3 years, 6 months ago
Reviewers:
reveman
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow gaming_seat to use ozone gamepad as back-end This patch enable gaming_seat to use ozone gamepad as back-end. It is protected by build args. If enable_exo_ozone_gamepad is turned off, gaming_seat will fallback use old joydev implementation. BUG=717246 Review-Url: https://codereview.chromium.org/2900773003 Cr-Commit-Position: refs/heads/master@{#478834} Committed: https://chromium.googlesource.com/chromium/src/+/f72a28a67a141af1e5c29f608e30453c7cc94a5a

Patch Set 1 #

Patch Set 2 : Add gaming_seat_ozone to exo #

Total comments: 5

Patch Set 3 : Add gaming_seat_ozone to exo #

Patch Set 4 : Add gaming_seat_ozone to exo #

Total comments: 43

Patch Set 5 : Add gaming_seat_ozone to exo #

Total comments: 21

Patch Set 6 : Add gaming_seat_ozone to exo #

Total comments: 10

Patch Set 7 : Add gaming_seat_ozone to exo #

Total comments: 6

Patch Set 8 : Allow gaming_seat to use ozone gamepad as backend #

Patch Set 9 : Allow gaming_seat to use ozone gamepad as backend #

Patch Set 10 : Allow gaming_seat to use ozone gamepad as backend #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -274 lines) Patch
M chrome/common/features.gni View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M components/exo/BUILD.gn View 1 2 3 4 5 6 7 8 9 5 chunks +15 lines, -3 lines 0 comments Download
M components/exo/gaming_seat.h View 1 2 3 4 5 6 7 5 chunks +34 lines, -17 lines 0 comments Download
M components/exo/gaming_seat.cc View 1 2 3 4 5 6 7 9 chunks +8 lines, -19 lines 0 comments Download
A components/exo/gaming_seat_ozone.cc View 1 2 3 4 5 6 7 1 chunk +108 lines, -0 lines 0 comments Download
D components/exo/gaming_seat_unittest.cc View 1 2 3 4 5 6 4 chunks +56 lines, -235 lines 0 comments Download

Messages

Total messages: 36 (13 generated)
jkwang
@reveman, please take a look when you get some time.
3 years, 7 months ago (2017-05-23 22:09:18 UTC) #3
reveman
why do we need run time configuration support? is build time not enough?
3 years, 6 months ago (2017-05-30 21:33:32 UTC) #4
jkwang
On 2017/05/30 21:33:32, reveman wrote: > why do we need run time configuration support? is ...
3 years, 6 months ago (2017-05-31 19:05:55 UTC) #5
reveman
https://codereview.chromium.org/2900773003/diff/20001/components/exo/gaming_seat.h File components/exo/gaming_seat.h (right): https://codereview.chromium.org/2900773003/diff/20001/components/exo/gaming_seat.h#newcode23 components/exo/gaming_seat.h:23: static GamingSeat* CreateGamingSeat(GamingSeatDelegate* gaming_seat_delegate, do we need to use ...
3 years, 6 months ago (2017-05-31 22:42:24 UTC) #6
jkwang
https://codereview.chromium.org/2900773003/diff/20001/components/exo/gaming_seat.h File components/exo/gaming_seat.h (right): https://codereview.chromium.org/2900773003/diff/20001/components/exo/gaming_seat.h#newcode23 components/exo/gaming_seat.h:23: static GamingSeat* CreateGamingSeat(GamingSeatDelegate* gaming_seat_delegate, On 2017/05/31 22:42:23, reveman wrote: ...
3 years, 6 months ago (2017-06-01 19:43:15 UTC) #7
reveman
https://codereview.chromium.org/2900773003/diff/20001/components/exo/gaming_seat.h File components/exo/gaming_seat.h (right): https://codereview.chromium.org/2900773003/diff/20001/components/exo/gaming_seat.h#newcode23 components/exo/gaming_seat.h:23: static GamingSeat* CreateGamingSeat(GamingSeatDelegate* gaming_seat_delegate, On 2017/06/01 at 19:43:15, jkwang ...
3 years, 6 months ago (2017-06-01 22:24:52 UTC) #8
jkwang
On 2017/06/01 22:24:52, reveman wrote: > https://codereview.chromium.org/2900773003/diff/20001/components/exo/gaming_seat.h > File components/exo/gaming_seat.h (right): > > https://codereview.chromium.org/2900773003/diff/20001/components/exo/gaming_seat.h#newcode23 > ...
3 years, 6 months ago (2017-06-02 22:32:49 UTC) #9
reveman
On 2017/06/02 at 22:32:49, jkwang wrote: > On 2017/06/01 22:24:52, reveman wrote: > > https://codereview.chromium.org/2900773003/diff/20001/components/exo/gaming_seat.h ...
3 years, 6 months ago (2017-06-05 18:00:16 UTC) #10
jkwang
I am leaving the flag to be false. A later patch could easily flip it ...
3 years, 6 months ago (2017-06-05 21:34:23 UTC) #11
reveman
I like this approach. Keeps it simple and makes removing the old joydev code trivial ...
3 years, 6 months ago (2017-06-05 22:48:05 UTC) #12
jkwang
https://codereview.chromium.org/2900773003/diff/60001/chrome/common/features.gni File chrome/common/features.gni (right): https://codereview.chromium.org/2900773003/diff/60001/chrome/common/features.gni#newcode54 chrome/common/features.gni:54: enable_ozone_gamepad_in_exo = false On 2017/06/05 22:48:03, reveman wrote: > ...
3 years, 6 months ago (2017-06-06 20:03:09 UTC) #13
jkwang
https://codereview.chromium.org/2900773003/diff/60001/components/exo/gaming_seat_ozone.cc File components/exo/gaming_seat_ozone.cc (right): https://codereview.chromium.org/2900773003/diff/60001/components/exo/gaming_seat_ozone.cc#newcode12 components/exo/gaming_seat_ozone.cc:12: namespace { On 2017/06/05 22:48:04, reveman wrote: > nit: ...
3 years, 6 months ago (2017-06-06 20:03:10 UTC) #14
reveman
nice! just a few nits and questions https://codereview.chromium.org/2900773003/diff/80001/chrome/common/features.gni File chrome/common/features.gni (right): https://codereview.chromium.org/2900773003/diff/80001/chrome/common/features.gni#newcode54 chrome/common/features.gni:54: enable_exo_ozone_gamepad = ...
3 years, 6 months ago (2017-06-06 21:58:55 UTC) #15
jkwang
https://codereview.chromium.org/2900773003/diff/80001/chrome/common/features.gni File chrome/common/features.gni (right): https://codereview.chromium.org/2900773003/diff/80001/chrome/common/features.gni#newcode54 chrome/common/features.gni:54: enable_exo_ozone_gamepad = use_ozone && false On 2017/06/06 21:58:55, reveman ...
3 years, 6 months ago (2017-06-07 18:03:19 UTC) #16
reveman
https://codereview.chromium.org/2900773003/diff/80001/chrome/common/features.gni File chrome/common/features.gni (right): https://codereview.chromium.org/2900773003/diff/80001/chrome/common/features.gni#newcode54 chrome/common/features.gni:54: enable_exo_ozone_gamepad = use_ozone && false On 2017/06/07 at 18:03:18, ...
3 years, 6 months ago (2017-06-07 20:29:46 UTC) #17
jkwang
https://codereview.chromium.org/2900773003/diff/80001/chrome/common/features.gni File chrome/common/features.gni (right): https://codereview.chromium.org/2900773003/diff/80001/chrome/common/features.gni#newcode54 chrome/common/features.gni:54: enable_exo_ozone_gamepad = use_ozone && false Sounds good. How should ...
3 years, 6 months ago (2017-06-07 22:01:46 UTC) #18
reveman
lgtm after updating the description to match the latest patch and fixing last set of ...
3 years, 6 months ago (2017-06-08 00:21:44 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2900773003/140001
3 years, 6 months ago (2017-06-12 17:07:08 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/358293)
3 years, 6 months ago (2017-06-12 17:14:01 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2900773003/160001
3 years, 6 months ago (2017-06-12 17:23:30 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/358384)
3 years, 6 months ago (2017-06-12 17:29:56 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2900773003/180001
3 years, 6 months ago (2017-06-12 20:41:39 UTC) #33
commit-bot: I haz the power
3 years, 6 months ago (2017-06-13 00:16:04 UTC) #36
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/f72a28a67a141af1e5c29f608e30...

Powered by Google App Engine
This is Rietveld 408576698