|
|
DescriptionWebVR: Fix Cardboard button processing
In native WebVR mode on a Cardboard style headset with capacitive touch
button, need to forward these touch events to the Javascript application
for processing, and emulate them for Daydream headsets.
BUG=389343, 666467
Committed: https://crrev.com/650300dcb6a24933d499d74b57a20705efacab74
Cr-Commit-Position: refs/heads/master@{#433002}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Move input processing #
Total comments: 2
Patch Set 3 : Also support controller touchpad click for compatibility #Messages
Total messages: 21 (10 generated)
klausw@chromium.org changed reviewers: + bajones@chromium.org
https://codereview.chromium.org/2510083004/diff/1/chrome/browser/android/vr_s... File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2510083004/diff/1/chrome/browser/android/vr_s... chrome/browser/android/vr_shell/vr_shell.cc:597: if (touch_pending_) { Shouldn't this go in UpdateController under the if (html_interface_->GetMode() == UiInterface::Mode::WEB_VR) branch?
On 2016/11/17 20:42:53, bajones wrote: > https://codereview.chromium.org/2510083004/diff/1/chrome/browser/android/vr_s... > File chrome/browser/android/vr_shell/vr_shell.cc (right): > > https://codereview.chromium.org/2510083004/diff/1/chrome/browser/android/vr_s... > chrome/browser/android/vr_shell/vr_shell.cc:597: if (touch_pending_) { > Shouldn't this go in UpdateController under the if (html_interface_->GetMode() > == UiInterface::Mode::WEB_VR) branch? LGTM either way.
https://codereview.chromium.org/2510083004/diff/1/chrome/browser/android/vr_s... File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2510083004/diff/1/chrome/browser/android/vr_s... chrome/browser/android/vr_shell/vr_shell.cc:597: if (touch_pending_) { On 2016/11/17 20:42:53, bajones wrote: > Shouldn't this go in UpdateController under the if (html_interface_->GetMode() > == UiInterface::Mode::WEB_VR) branch? Yes, that's a much better fit. Moved.
The CQ bit was checked by klausw@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from bajones@chromium.org Link to the patchset: https://codereview.chromium.org/2510083004/#ps20001 (title: "Move input processing")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
mthiesse@chromium.org changed reviewers: + mthiesse@chromium.org
https://codereview.chromium.org/2510083004/diff/20001/chrome/browser/android/... File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2510083004/diff/20001/chrome/browser/android/... chrome/browser/android/vr_shell/vr_shell.cc:379: if (touch_pending_) { This will only work for cardboard, also check if the controller button is down.
The CQ bit was unchecked by mthiesse@chromium.org
Description was changed from ========== WebVR: enable Cardboard button compatibility In native WebVR mode on a Cardboard style headset with capacitive touch button, need to forward these touch events to the Javascript application for processing. Do this as a separate handler, WebVR isn't currently sharing VrShell's controller logic since the controller is supposed to be handled by the individual WebVR application. BUG=389343 ========== to ========== WebVR: Fix Cardboard button processing In native WebVR mode on a Cardboard style headset with capacitive touch button, need to forward these touch events to the Javascript application for processing, and emulate them for Daydream headsets. BUG=389343,666467 ==========
https://codereview.chromium.org/2510083004/diff/20001/chrome/browser/android/... File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2510083004/diff/20001/chrome/browser/android/... chrome/browser/android/vr_shell/vr_shell.cc:379: if (touch_pending_) { On 2016/11/17 21:03:56, mthiesse wrote: > This will only work for cardboard, also check if the controller button is down. Done.
lgtm
The CQ bit was checked by klausw@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from bajones@chromium.org Link to the patchset: https://codereview.chromium.org/2510083004/#ps40001 (title: "Also support controller touchpad click for compatibility")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== WebVR: Fix Cardboard button processing In native WebVR mode on a Cardboard style headset with capacitive touch button, need to forward these touch events to the Javascript application for processing, and emulate them for Daydream headsets. BUG=389343,666467 ========== to ========== WebVR: Fix Cardboard button processing In native WebVR mode on a Cardboard style headset with capacitive touch button, need to forward these touch events to the Javascript application for processing, and emulate them for Daydream headsets. BUG=389343,666467 ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== WebVR: Fix Cardboard button processing In native WebVR mode on a Cardboard style headset with capacitive touch button, need to forward these touch events to the Javascript application for processing, and emulate them for Daydream headsets. BUG=389343,666467 ========== to ========== WebVR: Fix Cardboard button processing In native WebVR mode on a Cardboard style headset with capacitive touch button, need to forward these touch events to the Javascript application for processing, and emulate them for Daydream headsets. BUG=389343,666467 Committed: https://crrev.com/650300dcb6a24933d499d74b57a20705efacab74 Cr-Commit-Position: refs/heads/master@{#433002} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/650300dcb6a24933d499d74b57a20705efacab74 Cr-Commit-Position: refs/heads/master@{#433002} |