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

Issue 2167643003: Refactored VRService interaction and added VRServiceClient (Closed)

Created:
4 years, 5 months ago by bajones
Modified:
4 years, 4 months ago
Reviewers:
Mike West, no sievers
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, blink-reviews, chromium-reviews, darin (slow to review), haraken, kinuko+watch, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactored VRService interaction and added VRServiceClient Lots of cleanup and architectural improvements. Allows bi-directional communication, which will be needed when we start adding VR events. Also refactors the relationship between the VRService and VRDeviceManager (splits them apart) for cleaner connection handling and removed WebLocalFrameImpl dependency on VRController. BUG=389343 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/99e3d9baf2f84b162048a59487360e057cce3223 Cr-Commit-Position: refs/heads/master@{#408473}

Patch Set 1 #

Patch Set 2 : Fixed issues that showed up on an Android compile #

Total comments: 2

Patch Set 3 : Added unit test for VRServiceImpl #

Patch Set 4 : Liberal sprinkling of 'u's #

Unified diffs Side-by-side diffs Delta from patch set Stats (+483 lines, -200 lines) Patch
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M device/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M device/vr/BUILD.gn View 1 chunk +3 lines, -0 lines 0 comments Download
M device/vr/test/fake_vr_device.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M device/vr/test/fake_vr_device.cc View 1 2 2 chunks +40 lines, -1 line 0 comments Download
A device/vr/vr_client_dispatcher.h View 1 1 chunk +19 lines, -0 lines 0 comments Download
M device/vr/vr_device_manager.h View 1 2 3 chunks +14 lines, -14 lines 0 comments Download
M device/vr/vr_device_manager.cc View 1 2 5 chunks +24 lines, -34 lines 0 comments Download
M device/vr/vr_service.mojom View 1 chunk +6 lines, -0 lines 0 comments Download
A device/vr/vr_service_impl.h View 1 2 1 chunk +50 lines, -0 lines 0 comments Download
A device/vr/vr_service_impl.cc View 1 2 1 chunk +68 lines, -0 lines 0 comments Download
A device/vr/vr_service_impl_unittest.cc View 1 2 3 1 chunk +129 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/modules.gypi View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/NavigatorVR.h View 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/NavigatorVR.cpp View 5 chunks +7 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/VRController.h View 1 chunk +25 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/VRController.cpp View 1 2 chunks +81 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/VRDisplay.h View 1 chunk +1 line, -1 line 0 comments Download
D third_party/WebKit/Source/modules/vr/VRDisplayCollection.h View 1 chunk +0 lines, -32 lines 0 comments Download
D third_party/WebKit/Source/modules/vr/VRDisplayCollection.cpp View 1 chunk +0 lines, -53 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.h View 1 chunk +4 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/VRGetDevicesCallback.cpp View 2 chunks +3 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 2 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
bajones
mkwst@: Please take a look at modules/ and vr_service.mojom
4 years, 5 months ago (2016-07-20 22:18:52 UTC) #2
Mike West
The code looks pretty reasonable. How do you plan to test the new service implementation? ...
4 years, 5 months ago (2016-07-21 07:36:38 UTC) #4
bajones
OOO till Monday at this point (looks like you are too!) but I wanted to ...
4 years, 5 months ago (2016-07-21 17:41:03 UTC) #5
bajones
Okay, got some simple tests in place for the Mojo service/client. There's really not much ...
4 years, 4 months ago (2016-07-26 23:19:23 UTC) #8
Mike West
modules/ and mojom LGTM, thanks!
4 years, 4 months ago (2016-07-27 08:39:23 UTC) #15
bajones
Thanks Mike! sievers@: Could you give a thumbs up to the minor render_frame_host_impl change? Just ...
4 years, 4 months ago (2016-07-27 15:46:26 UTC) #17
no sievers
On 2016/07/27 15:46:26, bajones wrote: > Thanks Mike! > > sievers@: Could you give a ...
4 years, 4 months ago (2016-07-28 18:52:39 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/2167643003/60001
4 years, 4 months ago (2016-07-28 18:57:54 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-07-28 21:20:22 UTC) #21
commit-bot: I haz the power
4 years, 4 months ago (2016-07-28 21:21:52 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/99e3d9baf2f84b162048a59487360e057cce3223
Cr-Commit-Position: refs/heads/master@{#408473}

Powered by Google App Engine
This is Rietveld 408576698