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

Issue 2536873002: Clean up VR Shell mode transitions (and fix potential webvr startup race). (Closed)

Created:
4 years ago by mthiesse
Modified:
4 years ago
Reviewers:
billorr, bshe, amp, cjgrant
CC:
chromium-reviews, feature-vr-reviews_chromium.org, agrieve+watch_chromium.org, amp
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up VR Shell mode transitions (and fix potential webvr startup race). BUG=668541 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/27fd48978b4e4b24ce8e017cdc3036375f911a45 Cr-Commit-Position: refs/heads/master@{#435010}

Patch Set 1 #

Patch Set 2 : Update javascript Mode enum #

Total comments: 10

Patch Set 3 : Address comments #

Messages

Total messages: 20 (7 generated)
mthiesse
PTAL. Bill, please review subtle metrics changes. I think we were potentially double-counting SetWebVREnabled in ...
4 years ago (2016-11-28 21:29:12 UTC) #2
mthiesse
cc amp@ because I left a TODO in here for him ;)
4 years ago (2016-11-28 21:34:56 UTC) #4
bshe
lgtm https://codereview.chromium.org/2536873002/diff/20001/chrome/browser/android/vr_shell/ui_interface.h File chrome/browser/android/vr_shell/ui_interface.h (right): https://codereview.chromium.org/2536873002/diff/20001/chrome/browser/android/vr_shell/ui_interface.h#newcode28 chrome/browser/android/vr_shell/ui_interface.h:28: STANDARD_MENU, nit: can you add comments about the ...
4 years ago (2016-11-28 22:15:07 UTC) #5
cjgrant
https://codereview.chromium.org/2536873002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2536873002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc#newcode359 chrome/browser/android/vr_shell/vr_shell.cc:359: switch (html_interface_->GetMode()) { This block looks odd to me ...
4 years ago (2016-11-28 22:21:09 UTC) #6
amp
https://codereview.chromium.org/2536873002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2536873002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc#newcode168 chrome/browser/android/vr_shell/vr_shell.cc:168: metrics_helper_->SetWebVREnabled(true); Doesn't this need to be set to false ...
4 years ago (2016-11-28 23:09:49 UTC) #8
mthiesse
https://codereview.chromium.org/2536873002/diff/20001/chrome/browser/android/vr_shell/ui_interface.h File chrome/browser/android/vr_shell/ui_interface.h (right): https://codereview.chromium.org/2536873002/diff/20001/chrome/browser/android/vr_shell/ui_interface.h#newcode28 chrome/browser/android/vr_shell/ui_interface.h:28: STANDARD_MENU, On 2016/11/28 22:15:07, bshe wrote: > nit: can ...
4 years ago (2016-11-28 23:28:34 UTC) #9
mthiesse
https://codereview.chromium.org/2536873002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2536873002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc#newcode168 chrome/browser/android/vr_shell/vr_shell.cc:168: metrics_helper_->SetWebVREnabled(true); On 2016/11/28 23:09:49, amp wrote: > Doesn't this ...
4 years ago (2016-11-28 23:30:12 UTC) #10
billorr
lgtm https://codereview.chromium.org/2536873002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2536873002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc#newcode168 chrome/browser/android/vr_shell/vr_shell.cc:168: metrics_helper_->SetWebVREnabled(true); On 2016/11/28 23:30:12, mthiesse wrote: > On ...
4 years ago (2016-11-29 00:05:31 UTC) #11
cjgrant
lgtm https://codereview.chromium.org/2536873002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2536873002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc#newcode359 chrome/browser/android/vr_shell/vr_shell.cc:359: switch (html_interface_->GetMode()) { On 2016/11/28 23:28:34, mthiesse wrote: ...
4 years ago (2016-11-29 02:26:35 UTC) #12
mthiesse
https://codereview.chromium.org/2536873002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2536873002/diff/20001/chrome/browser/android/vr_shell/vr_shell.cc#newcode168 chrome/browser/android/vr_shell/vr_shell.cc:168: metrics_helper_->SetWebVREnabled(true); On 2016/11/29 00:05:31, billorr wrote: > On 2016/11/28 ...
4 years ago (2016-11-29 03:53:15 UTC) #13
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/2536873002/40001
4 years ago (2016-11-29 15:13:38 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-29 16:35:40 UTC) #18
commit-bot: I haz the power
4 years ago (2016-11-29 16:37:19 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/27fd48978b4e4b24ce8e017cdc3036375f911a45
Cr-Commit-Position: refs/heads/master@{#435010}

Powered by Google App Engine
This is Rietveld 408576698