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

Issue 2343023002: Switch WebVR to handle GvrApi management through VrShellDelegate (Closed)

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

Description

Switch WebVR to handle GvrApi management through VrShellDelegate BUG=389343 Committed: https://crrev.com/d7f480d5099bcb664eba873a5c24f374d12e517d Cr-Commit-Position: refs/heads/master@{#420181}

Patch Set 1 #

Patch Set 2 : Updated based on Michael's feedbac #

Patch Set 3 : Cleanup of unneeded changes #

Patch Set 4 : Fixed id not propegating with change events, made displayName better #

Patch Set 5 : Better object lifetime management #

Patch Set 6 : Rebase #

Total comments: 5

Patch Set 7 : Addressed tedchoc@'s comments #

Patch Set 8 : Rebase #

Patch Set 9 : Addressed tedchoc@'s last feedback #

Total comments: 13

Patch Set 10 : Addressing more feedback from tedchoc@ #

Patch Set 11 : Renamed onNativeLibraryReady to initializeNative #

Unified diffs Side-by-side diffs Delta from patch set Stats (+479 lines, -188 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java View 1 2 3 4 5 6 7 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShell.java View 1 2 3 4 5 6 7 8 9 10 4 chunks +10 lines, -10 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java View 1 2 3 4 5 6 7 8 9 10 9 chunks +60 lines, -7 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellInterface.java View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.h View 1 2 3 4 5 6 7 8 9 4 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.cc View 1 2 3 4 5 6 7 8 9 5 chunks +15 lines, -9 lines 0 comments Download
A chrome/browser/android/vr_shell/vr_shell_delegate.h View 1 2 3 4 5 6 7 8 9 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/vr_shell_delegate.cc View 1 2 3 4 5 6 7 8 9 1 chunk +84 lines, -0 lines 0 comments Download
M device/vr/android/gvr/gvr_delegate.h View 1 2 chunks +15 lines, -38 lines 0 comments Download
M device/vr/android/gvr/gvr_delegate.cc View 1 1 chunk +7 lines, -36 lines 0 comments Download
M device/vr/android/gvr/gvr_device.h View 1 2 3 2 chunks +11 lines, -1 line 0 comments Download
M device/vr/android/gvr/gvr_device.cc View 1 2 3 4 5 6 7 8 chunks +90 lines, -30 lines 0 comments Download
M device/vr/android/gvr/gvr_device_provider.h View 1 2 3 4 5 2 chunks +20 lines, -8 lines 0 comments Download
M device/vr/android/gvr/gvr_device_provider.cc View 1 2 3 4 5 4 chunks +64 lines, -26 lines 0 comments Download
M device/vr/android/java/src/org/chromium/device/vr/GvrDeviceProvider.java View 1 3 chunks +13 lines, -14 lines 0 comments Download
M device/vr/vr_client_dispatcher.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M device/vr/vr_device_manager.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M device/vr/vr_device_manager.cc View 1 2 3 4 5 2 chunks +19 lines, -1 line 0 comments Download
M device/vr/vr_service.mojom View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 37 (11 generated)
bajones
4 years, 3 months ago (2016-09-15 23:40:38 UTC) #2
mthiesse
At a high level I'm really not liking how much this complicates VrShell. I feel ...
4 years, 3 months ago (2016-09-16 14:26:53 UTC) #3
bajones
Revised and cleaned up. I think to get around bugs in the current version of ...
4 years, 3 months ago (2016-09-16 20:35:11 UTC) #4
bajones
Latest revision is working pretty well, though I still question it's long term viability. Fixed ...
4 years, 3 months ago (2016-09-18 22:19:52 UTC) #5
mthiesse
lgtm
4 years, 3 months ago (2016-09-18 22:55:27 UTC) #6
bajones
dtrainor@chromium.org: Please review changes in chrome/android and chrome/browser/android
4 years, 3 months ago (2016-09-19 01:39:46 UTC) #8
bajones
kenrb@: Could you review the small .mojom change? (Made one argument nullable)
4 years, 3 months ago (2016-09-19 22:14:15 UTC) #10
kenrb
lgtm
4 years, 3 months ago (2016-09-20 14:29:26 UTC) #11
bajones
tedchoc@: Seems like David is occupied with Blimpcon this week (that's a thing?) Could you ...
4 years, 3 months ago (2016-09-20 18:13:05 UTC) #13
bajones
dfalcantara@: Perhaps you could give this a quick look instead? (I know we're asking for ...
4 years, 3 months ago (2016-09-20 20:20:33 UTC) #15
Ted C
https://codereview.chromium.org/2343023002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShell.java File chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShell.java (right): https://codereview.chromium.org/2343023002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShell.java#newcode65 chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShell.java:65: public void onNativeLibraryReady(long nativeDelegate) { try not to pass ...
4 years, 3 months ago (2016-09-20 20:31:11 UTC) #16
bajones
Thanks for the review! Addressed everything but one item, which you may have a suggestion ...
4 years, 3 months ago (2016-09-20 23:26:51 UTC) #17
Ted C
On 2016/09/20 23:26:51, bajones wrote: > Thanks for the review! Addressed everything but one item, ...
4 years, 3 months ago (2016-09-21 00:17:01 UTC) #18
bajones
On 2016/09/21 00:17:01, Ted C wrote: > The web_contents_android link I posted actually shows how ...
4 years, 3 months ago (2016-09-21 00:23:21 UTC) #19
Ted C
On 2016/09/21 00:23:21, bajones wrote: > On 2016/09/21 00:17:01, Ted C wrote: > > The ...
4 years, 3 months ago (2016-09-21 00:31:52 UTC) #20
bajones
Ah, OK! Got it! Thanks for the more detailed explanation. I'll get the CL updated ...
4 years, 3 months ago (2016-09-21 00:56:28 UTC) #21
bajones
Okay, updated to pass the Java object down to the native code and query the ...
4 years, 3 months ago (2016-09-21 17:25:21 UTC) #22
Ted C
Absolutely no need to apologize. It is not reasonable for you to understand all the ...
4 years, 3 months ago (2016-09-21 17:59:25 UTC) #23
bajones
Done! Thanks again!
4 years, 3 months ago (2016-09-21 18:37:08 UTC) #24
Ted C
On 2016/09/21 18:37:08, bajones wrote: > Done! Thanks again! Looks like there are couple open ...
4 years, 3 months ago (2016-09-21 18:49:11 UTC) #25
bajones
Sorry, meant to bounce the rename off the rest of the team and forgot about ...
4 years, 3 months ago (2016-09-21 19:16:25 UTC) #26
gone
On 2016/09/21 19:16:25, bajones wrote: > Sorry, meant to bounce the rename off the rest ...
4 years, 3 months ago (2016-09-21 20:39:41 UTC) #29
Ted C
lgtm
4 years, 3 months ago (2016-09-21 21:01:47 UTC) #30
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/2343023002/200001
4 years, 3 months ago (2016-09-21 21:25:21 UTC) #33
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 3 months ago (2016-09-21 22:26:54 UTC) #35
commit-bot: I haz the power
4 years, 3 months ago (2016-09-21 22:29:21 UTC) #37
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/d7f480d5099bcb664eba873a5c24f374d12e517d
Cr-Commit-Position: refs/heads/master@{#420181}

Powered by Google App Engine
This is Rietveld 408576698