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

Issue 2398103002: Enable magic window mode with new Gvr (Closed)

Created:
4 years, 2 months ago by bshe
Modified:
4 years, 2 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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}

Patch Set 1 #

Patch Set 2 : clean up #

Patch Set 3 : more clean ups and call resume and pause on non presenting gvr too #

Patch Set 4 : rebase #

Total comments: 4

Patch Set 5 : review #

Total comments: 6

Patch Set 6 : reviews #

Unified diffs Side-by-side diffs Delta from patch set Stats (+254 lines, -179 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContext.java View 1 2 3 4 5 1 chunk +57 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/vr_shell/NonPresentingGvrContextInterface.java View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java View 1 2 3 4 7 chunks +75 lines, -23 lines 0 comments Download
M chrome/android/java_sources.gni View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_delegate.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_delegate.cc View 1 2 3 4 5 2 chunks +46 lines, -0 lines 0 comments Download
M content/public/android/BUILD.gn View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M device/vr/BUILD.gn View 2 chunks +0 lines, -20 lines 0 comments Download
M device/vr/android/gvr/gvr_delegate.h View 1 2 3 2 chunks +14 lines, -12 lines 0 comments Download
M device/vr/android/gvr/gvr_device_provider.h View 1 chunk +0 lines, -1 line 0 comments Download
M device/vr/android/gvr/gvr_device_provider.cc View 1 2 3 5 chunks +24 lines, -62 lines 0 comments Download
D device/vr/android/java/src/org/chromium/device/vr/GvrDeviceProvider.java View 1 chunk +0 lines, -55 lines 0 comments Download

Messages

Total messages: 26 (16 generated)
bshe
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
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
bshe
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
mthiesse
lgtm
4 years, 2 months ago (2016-10-12 19:10:01 UTC) #16
girard
lgtm
4 years, 2 months ago (2016-10-12 19:42:43 UTC) #17
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
bshe
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
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/2398103002/120001
4 years, 2 months ago (2016-10-13 14:08:31 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 2 months ago (2016-10-13 15:15:12 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-10-13 15:16:54 UTC) #26
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/75ec67ea320306345e2d2b2f7750de9b8998dc72
Cr-Commit-Position: refs/heads/master@{#425035}

Powered by Google App Engine
This is Rietveld 408576698