Enable magic window mode with new Gvr
Magic window mode was disabled(not reporting phone sensor
data) here: https://codereview.chromium.org/2367673002/
The reason was new API requires an Activity instead of a
context like before. This CL moves the initialization of
GVR to chrome so CTA is available.
BUG=389343
Committed: https://crrev.com/75ec67ea320306345e2d2b2f7750de9b8998dc72
Cr-Commit-Position: refs/heads/master@{#425035}
Dry run: Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/278235) mac_chromium_rel_ng on ...
4 years, 2 months ago
(2016-10-11 14:31:49 UTC)
#5
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/84171)
4 years, 2 months ago
(2016-10-11 17:09:12 UTC)
#9
Description was changed from ========== Enable magic window mode with new Gvr WIP BUG= ========== ...
4 years, 2 months ago
(2016-10-11 17:45:49 UTC)
#10
Description was changed from
==========
Enable magic window mode with new Gvr
WIP
BUG=
==========
to
==========
Enable magic window mode with new Gvr
BUG=389343
==========
bshe
Description was changed from ========== Enable magic window mode with new Gvr BUG=389343 ========== to ...
4 years, 2 months ago
(2016-10-11 17:49:06 UTC)
#11
Description was changed from
==========
Enable magic window mode with new Gvr
BUG=389343
==========
to
==========
Enable magic window mode with new Gvr
Magic window mode was disabled(not reporting phone sensor
data) here: https://codereview.chromium.org/2367673002/
The reason was new API requires an Activity instead of a
context like before. This CL moves the initialization of
GVR to chrome so CTA is available.
BUG=389343
==========
mthiesse, please take a look at this CL. +owners girard@chromium.org: Please review changes in device/vr/* ...
4 years, 2 months ago
(2016-10-11 17:50:53 UTC)
#13
mthiesse, please take a look at this CL.
+owners
girard@chromium.org: Please review changes in
device/vr/*
dtrainor@chromium.org: Please review changes in
everything else
mthiesse
https://codereview.chromium.org/2398103002/diff/80001/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/2398103002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java#oldcode127 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java:127: public void resumeVR() { nit: Rename to maybeResumeVR() and ...
4 years, 2 months ago
(2016-10-11 18:10:44 UTC)
#14
https://codereview.chromium.org/2398103002/diff/80001/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/2398103002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java#oldcode127 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java:127: public void resumeVR() { On 2016/10/11 18:10:44, mthiesse wrote: ...
4 years, 2 months ago
(2016-10-12 19:02:17 UTC)
#15
https://codereview.chromium.org/2398103002/diff/80001/chrome/android/java/src...
File
chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java
(left):
https://codereview.chromium.org/2398103002/diff/80001/chrome/android/java/src...
chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java:127:
public void resumeVR() {
On 2016/10/11 18:10:44, mthiesse wrote:
> nit: Rename to maybeResumeVR() and maybePauseVR() now that these functions may
> be no-ops
Done.
https://codereview.chromium.org/2398103002/diff/80001/chrome/android/java/src...
File
chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java
(right):
https://codereview.chromium.org/2398103002/diff/80001/chrome/android/java/src...
chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java:135:
if (mNonPresentingGvrContext != null) {
On 2016/10/11 18:10:44, mthiesse wrote:
> Is there a reason to have both a non-presenting GVR context and VrShell active
> at the same time? If the answer is technical complexity, leaving a TODO is
> probably fine for now.
I can't think of any reason. And we might want to do so when we are able to
transit from WebVr presentation to ChromeVr directly. I imagine we could create
gvr factory which provide gvr_context for magic window and for presentation. I
would leave a TODO here to avoid future complicate this CL.
mthiesse
lgtm
4 years, 2 months ago
(2016-10-12 19:10:01 UTC)
#16
lgtm
girard
lgtm
4 years, 2 months ago
(2016-10-12 19:42:43 UTC)
#17
lgtm
David Trainor- moved to gerrit
lgtm! https://codereview.chromium.org/2398103002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContext.java File chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContext.java (right): https://codereview.chromium.org/2398103002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContext.java#newcode28 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContext.java:28: public long getNativeGvrContext() { @Override's https://codereview.chromium.org/2398103002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContextInterface.java File chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContextInterface.java ...
4 years, 2 months ago
(2016-10-13 03:24:14 UTC)
#18
https://codereview.chromium.org/2398103002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContext.java File chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContext.java (right): https://codereview.chromium.org/2398103002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContext.java#newcode28 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContext.java:28: public long getNativeGvrContext() { On 2016/10/13 03:24:13, David Trainor ...
4 years, 2 months ago
(2016-10-13 14:06:28 UTC)
#19
Description was changed from ========== Enable magic window mode with new Gvr Magic window mode ...
4 years, 2 months ago
(2016-10-13 15:15:06 UTC)
#23
Message was sent while issue was closed.
Description was changed from
==========
Enable magic window mode with new Gvr
Magic window mode was disabled(not reporting phone sensor
data) here: https://codereview.chromium.org/2367673002/
The reason was new API requires an Activity instead of a
context like before. This CL moves the initialization of
GVR to chrome so CTA is available.
BUG=389343
==========
to
==========
Enable magic window mode with new Gvr
Magic window mode was disabled(not reporting phone sensor
data) here: https://codereview.chromium.org/2367673002/
The reason was new API requires an Activity instead of a
context like before. This CL moves the initialization of
GVR to chrome so CTA is available.
BUG=389343
==========
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 2 months ago
(2016-10-13 15:15:12 UTC)
#24
Message was sent while issue was closed.
Committed patchset #6 (id:120001)
commit-bot: I haz the power
Description was changed from ========== Enable magic window mode with new Gvr Magic window mode ...
4 years, 2 months ago
(2016-10-13 15:16:53 UTC)
#25
Message was sent while issue was closed.
Description was changed from
==========
Enable magic window mode with new Gvr
Magic window mode was disabled(not reporting phone sensor
data) here: https://codereview.chromium.org/2367673002/
The reason was new API requires an Activity instead of a
context like before. This CL moves the initialization of
GVR to chrome so CTA is available.
BUG=389343
==========
to
==========
Enable magic window mode with new Gvr
Magic window mode was disabled(not reporting phone sensor
data) here: https://codereview.chromium.org/2367673002/
The reason was new API requires an Activity instead of a
context like before. This CL moves the initialization of
GVR to chrome so CTA is available.
BUG=389343
Committed: https://crrev.com/75ec67ea320306345e2d2b2f7750de9b8998dc72
Cr-Commit-Position: refs/heads/master@{#425035}
==========
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/75ec67ea320306345e2d2b2f7750de9b8998dc72 Cr-Commit-Position: refs/heads/master@{#425035}
4 years, 2 months ago
(2016-10-13 15:16:54 UTC)
#26
Issue 2398103002: Enable magic window mode with new Gvr
(Closed)
Created 4 years, 2 months ago by bshe
Modified 4 years, 2 months ago
Reviewers: girard, David Trainor- moved to gerrit, mthiesse
Base URL:
Comments: 10