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

Issue 2784303002: Adds button to VRShell menu mode, which lets the user manually exit WebVR presentation. (Closed)

Created:
3 years, 8 months ago by tiborg
Modified:
3 years, 8 months ago
Reviewers:
mthiesse, cjgrant
CC:
chromium-reviews, feature-vr-reviews_chromium.org, srahim+watch_chromium.org, arv+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds button to VRShell menu mode, which lets the user manually exit WebVR presentation. - Adds exit presentation button to the UI, which is shown in place of the back button when in WebVR presentation mode. - Clicking the button will send a command to native and native triggers presentation exit. BUG=644784 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2784303002 Cr-Commit-Position: refs/heads/master@{#462542} Committed: https://chromium.googlesource.com/chromium/src/+/5ca8b58d19df1aeb5d3f9e746a5d4b3f862e1087

Patch Set 1 #

Total comments: 8

Patch Set 2 : Renamed function, handled case when VrShell is not available #

Patch Set 3 : Fixed closure compiler error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -22 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java View 1 2 chunks +5 lines, -11 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_delegate.h View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_delegate.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui.css View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui.html View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui.js View 1 2 6 chunks +34 lines, -8 lines 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui_api.js View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
tiborg
cjgrant@chromium.org: Please take a look. mthiesse@chromium.org: Please take a look.
3 years, 8 months ago (2017-03-30 15:16:10 UTC) #3
cjgrant
https://codereview.chromium.org/2784303002/diff/1/chrome/browser/resources/vr_shell/vr_shell_ui.js File chrome/browser/resources/vr_shell/vr_shell_ui.js (right): https://codereview.chromium.org/2784303002/diff/1/chrome/browser/resources/vr_shell/vr_shell_ui.js#newcode420 chrome/browser/resources/vr_shell/vr_shell_ui.js:420: 0, 'exitPresentButton', '#exit-present-button', I'm mulling why we don't just ...
3 years, 8 months ago (2017-03-30 15:35:28 UTC) #4
mthiesse
https://codereview.chromium.org/2784303002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java File chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java (left): https://codereview.chromium.org/2784303002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java#oldcode535 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java:535: shutdownVR( We still need to call shutdownVR if VR ...
3 years, 8 months ago (2017-03-30 15:36:57 UTC) #5
tiborg
https://codereview.chromium.org/2784303002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java File chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java (left): https://codereview.chromium.org/2784303002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java#oldcode535 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java:535: shutdownVR( On 2017/03/30 15:36:57, mthiesse wrote: > We still ...
3 years, 8 months ago (2017-03-30 20:53:29 UTC) #6
mthiesse
lgtm
3 years, 8 months ago (2017-04-06 15:45:13 UTC) #7
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/2784303002/20001
3 years, 8 months ago (2017-04-06 15:48:55 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: closure_compilation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/closure_compilation/builds/7582)
3 years, 8 months ago (2017-04-06 16:04:27 UTC) #11
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/2784303002/40001
3 years, 8 months ago (2017-04-06 16:32:48 UTC) #14
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 18:01:57 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/5ca8b58d19df1aeb5d3f9e746a5d...

Powered by Google App Engine
This is Rietveld 408576698