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

Issue 2510873003: Clean up WebVR RequestPresent and make callback asynchronous. (Closed)

Created:
4 years, 1 month ago by mthiesse
Modified:
4 years, 1 month ago
Reviewers:
Ted C, bajones, bshe
CC:
chromium-reviews, blink-reviews, haraken, feature-vr-reviews_chromium.org, agrieve+watch_chromium.org, klausw
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up WebVR RequestPresent and make callback asynchronous. BUG=665006 Committed: https://crrev.com/f97e23678abe358ec7c7241fe5511708be863625 Cr-Commit-Position: refs/heads/master@{#433063}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comments #

Total comments: 1

Patch Set 3 : Fix crash #

Patch Set 4 : Rebase #

Patch Set 5 : cleanup #

Patch Set 6 : Fix webVR when VR Shell is disabled #

Patch Set 7 : Fix FakeVRDevice #

Unified diffs Side-by-side diffs Delta from patch set Stats (+218 lines, -155 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java View 1 2 3 4 5 19 chunks +92 lines, -78 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/VrShellTest.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_delegate.h View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_delegate.cc View 1 2 3 4 1 chunk +22 lines, -10 lines 0 comments Download
M device/vr/android/gvr/gvr_delegate.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M device/vr/android/gvr/gvr_device.h View 1 chunk +2 lines, -1 line 0 comments Download
M device/vr/android/gvr/gvr_device.cc View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
M device/vr/android/gvr/gvr_device_provider.h View 1 chunk +1 line, -1 line 0 comments Download
M device/vr/android/gvr/gvr_device_provider.cc View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
M device/vr/test/fake_vr_device.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M device/vr/test/fake_vr_device.cc View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M device/vr/vr_device.h View 1 chunk +2 lines, -1 line 0 comments Download
M device/vr/vr_device.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M device/vr/vr_display_impl.h View 3 chunks +8 lines, -2 lines 0 comments Download
M device/vr/vr_display_impl.cc View 2 chunks +14 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/VRDisplay.cpp View 1 2 3 4 4 chunks +45 lines, -37 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 36 (15 generated)
mthiesse
PTAL
4 years, 1 month ago (2016-11-16 21:21:05 UTC) #2
bajones
device/vr and chrome/browser/android/vr_shell/ LGTM with one change. https://codereview.chromium.org/2510873003/diff/1/device/vr/vr_display_impl.cc File device/vr/vr_display_impl.cc (right): https://codereview.chromium.org/2510873003/diff/1/device/vr/vr_display_impl.cc#newcode48 device/vr/vr_display_impl.cc:48: if (!device_->IsAccessAllowed(service_)) ...
4 years, 1 month ago (2016-11-16 21:44:18 UTC) #3
mthiesse
https://codereview.chromium.org/2510873003/diff/1/device/vr/vr_display_impl.cc File device/vr/vr_display_impl.cc (right): https://codereview.chromium.org/2510873003/diff/1/device/vr/vr_display_impl.cc#newcode48 device/vr/vr_display_impl.cc:48: if (!device_->IsAccessAllowed(service_)) { On 2016/11/16 21:44:17, bajones wrote: > ...
4 years, 1 month ago (2016-11-16 21:57:53 UTC) #4
bajones
On 2016/11/16 21:57:53, mthiesse wrote: > Probably cleaner if I handle this in vr_shell_delegate, and ...
4 years, 1 month ago (2016-11-16 22:00:30 UTC) #5
mthiesse
+tedchoc@chromium.org for java side OWNERS.
4 years, 1 month ago (2016-11-16 22:03:20 UTC) #7
Ted C
lgtm https://codereview.chromium.org/2510873003/diff/10001/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 (right): https://codereview.chromium.org/2510873003/diff/10001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java#newcode43 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java:43: public static final int ENTER_VR_NOT_NECESSARY = 0; For ...
4 years, 1 month ago (2016-11-16 22:20:51 UTC) #8
mthiesse
bshe@chromium.org PTAL
4 years, 1 month ago (2016-11-17 02:50:26 UTC) #10
bshe
On 2016/11/17 02:50:26, mthiesse wrote: > mailto:bshe@chromium.org PTAL lgtm
4 years, 1 month ago (2016-11-17 02:51:22 UTC) #11
mthiesse
Brandon, PTAL at new vr_shell_delegate.cc, and VRDisplay.cpp changes.
4 years, 1 month ago (2016-11-17 18:31:17 UTC) #12
bajones
On 2016/11/17 18:31:17, mthiesse wrote: > Brandon, PTAL at new vr_shell_delegate.cc, and VRDisplay.cpp changes. LGTM
4 years, 1 month ago (2016-11-17 19:54:45 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/2510873003/90001
4 years, 1 month ago (2016-11-17 19:56:32 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/166489)
4 years, 1 month ago (2016-11-17 20:31:06 UTC) #18
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/2510873003/110001
4 years, 1 month ago (2016-11-17 20:35:36 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/338041)
4 years, 1 month ago (2016-11-17 22:05:20 UTC) #23
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/2510873003/110001
4 years, 1 month ago (2016-11-17 22:07:09 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/334365)
4 years, 1 month ago (2016-11-17 23:14:51 UTC) #27
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/2510873003/110001
4 years, 1 month ago (2016-11-17 23:17:24 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/338219)
4 years, 1 month ago (2016-11-18 00:22:06 UTC) #31
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/2510873003/110001
4 years, 1 month ago (2016-11-18 00:28:40 UTC) #33
commit-bot: I haz the power
Committed patchset #7 (id:110001)
4 years, 1 month ago (2016-11-18 03:31:29 UTC) #34
commit-bot: I haz the power
4 years, 1 month ago (2016-11-18 03:35:07 UTC) #36
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/f97e23678abe358ec7c7241fe5511708be863625
Cr-Commit-Position: refs/heads/master@{#433063}

Powered by Google App Engine
This is Rietveld 408576698