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

Issue 2351573002: Added support for GVR controllers (Closed)

Created:
4 years, 3 months ago by bajones
Modified:
4 years, 3 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added support for GVR controllers Currently uses a different instance of GvrApi than the VrShell, but it's not clear if that's something that's going to cause a problem. Works well enough for the time being. BUG=389343 Committed: https://crrev.com/3f546189c1916581b887525d387892afe397ec52 Cr-Commit-Position: refs/heads/master@{#420240}

Patch Set 1 #

Patch Set 2 : Clean up some unnecessary changes #

Total comments: 3

Patch Set 3 : Rebase #

Patch Set 4 : Remove LOG, make string length adjustment suggested by Michael #

Total comments: 3

Patch Set 5 : assert string size assumptions, added device_id, revert -1's #

Patch Set 6 : Rebase #

Patch Set 7 : Added appropriate Webkit dep to device/vr/BUILD.gn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -5 lines) Patch
M device/gamepad/gamepad_data_fetcher_manager.cc View 1 2 1 chunk +5 lines, -3 lines 0 comments Download
M device/gamepad/gamepad_pad_state_provider.h View 1 chunk +1 line, -0 lines 0 comments Download
M device/gamepad/gamepad_provider.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M device/vr/BUILD.gn View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M device/vr/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M device/vr/android/gvr/gvr_device_provider.cc View 1 2 3 4 3 chunks +10 lines, -0 lines 0 comments Download
A device/vr/android/gvr/gvr_gamepad_data_fetcher.h View 1 2 3 4 1 chunk +50 lines, -0 lines 0 comments Download
A device/vr/android/gvr/gvr_gamepad_data_fetcher.cc View 1 2 3 4 1 chunk +148 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
bajones
Please take a look at the Daydream controller/Gamepad integration. Currently only uses the non-presenting GvrApi ...
4 years, 3 months ago (2016-09-18 22:30:58 UTC) #2
mthiesse
LGTM with nit. https://codereview.chromium.org/2351573002/diff/20001/device/vr/android/gvr/gvr_gamepad_data_fetcher.cc File device/vr/android/gvr/gvr_gamepad_data_fetcher.cc (right): https://codereview.chromium.org/2351573002/diff/20001/device/vr/android/gvr/gvr_gamepad_data_fetcher.cc#newcode71 device/vr/android/gvr/gvr_gamepad_data_fetcher.cc:71: WebGamepad& pad = state->data; Just to ...
4 years, 3 months ago (2016-09-18 23:21:48 UTC) #3
bshe
lgtm with nits https://codereview.chromium.org/2351573002/diff/60001/device/vr/android/gvr/gvr_device_provider.cc File device/vr/android/gvr/gvr_device_provider.cc (right): https://codereview.chromium.org/2351573002/diff/60001/device/vr/android/gvr/gvr_device_provider.cc#newcode73 device/vr/android/gvr/gvr_device_provider.cc:73: std::unique_ptr<gvr::GvrApi> controller_api_; doesn't look like controller_api_ ...
4 years, 3 months ago (2016-09-20 15:35:04 UTC) #4
mthiesse
https://codereview.chromium.org/2351573002/diff/60001/device/vr/android/gvr/gvr_gamepad_data_fetcher.cc File device/vr/android/gvr/gvr_gamepad_data_fetcher.cc (right): https://codereview.chromium.org/2351573002/diff/60001/device/vr/android/gvr/gvr_gamepad_data_fetcher.cc#newcode76 device/vr/android/gvr/gvr_gamepad_data_fetcher.cc:76: CopyToWebUString(pad.id, WebGamepad::idLengthCap - 1, I don't think this is ...
4 years, 3 months ago (2016-09-20 16:02:06 UTC) #5
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/2351573002/100001
4 years, 3 months ago (2016-09-21 22:29:07 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/132863) android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 3 months ago (2016-09-21 22:34:28 UTC) #10
bajones
Oh, missed that I needed an owners review on the new DEPS on WebGamepads.h. aelias@ ...
4 years, 3 months ago (2016-09-21 22:41:18 UTC) #12
aelias_OOO_until_Jul13
Seems OK enough but I don't have OWNERS on device/vr?
4 years, 3 months ago (2016-09-22 00:23:26 UTC) #13
aelias_OOO_until_Jul13
I guess there are special target-OWNERS rules for deps, lgtm.
4 years, 3 months ago (2016-09-22 00:24:04 UTC) #14
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/2351573002/100001
4 years, 3 months ago (2016-09-22 00:24:54 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/132695) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 3 months ago (2016-09-22 00:29:30 UTC) #18
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/2351573002/120001
4 years, 3 months ago (2016-09-22 01:31:07 UTC) #21
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-09-22 02:22:09 UTC) #22
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 02:23:40 UTC) #24
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/3f546189c1916581b887525d387892afe397ec52
Cr-Commit-Position: refs/heads/master@{#420240}

Powered by Google App Engine
This is Rietveld 408576698