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

Issue 2537723002: Refine VRDevice Class (Closed)

Created:
4 years ago by shaobo.yan
Modified:
4 years ago
Reviewers:
mthiesse, bajones
CC:
chromium-reviews, feature-vr-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refine VRDevice Class Since VRDisplayImpl knows its own VRService, VRDevice could only contains VRDisplayImpl. This CL is a follow up for TODOs in VRDevice. BUG=389343 R=bajones@chromium.org Committed: https://crrev.com/1c602e5dd72a6acd31dd4f76eb606b54db549b11 Cr-Commit-Position: refs/heads/master@{#436531}

Patch Set 1 #

Total comments: 5

Patch Set 2 : address comments #

Total comments: 4

Patch Set 3 : Update #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -74 lines) Patch
M device/vr/test/fake_vr_device.cc View 1 chunk +0 lines, -1 line 0 comments Download
M device/vr/vr_device.h View 1 2 3 3 chunks +8 lines, -17 lines 0 comments Download
M device/vr/vr_device.cc View 1 2 3 3 chunks +21 lines, -23 lines 0 comments Download
M device/vr/vr_device_manager.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M device/vr/vr_device_manager.cc View 1 2 chunks +7 lines, -8 lines 0 comments Download
M device/vr/vr_display_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M device/vr/vr_display_impl.cc View 5 chunks +7 lines, -9 lines 0 comments Download
M device/vr/vr_display_impl_unittest.cc View 4 chunks +9 lines, -9 lines 0 comments Download
M device/vr/vr_service_impl.cc View 2 chunks +14 lines, -4 lines 0 comments Download
M device/vr/vr_service_impl_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 28 (12 generated)
shaobo.yan
PTAL.
4 years ago (2016-11-29 06:50:50 UTC) #2
mthiesse
https://codereview.chromium.org/2537723002/diff/1/device/vr/vr_device.cc File device/vr/vr_device.cc (right): https://codereview.chromium.org/2537723002/diff/1/device/vr/vr_device.cc#newcode34 device/vr/vr_device.cc:34: displays_.erase(std::remove(displays_.begin(), displays_.end(), display), Why is this necessary? Do we ...
4 years ago (2016-11-29 16:35:13 UTC) #6
shaobo.yan
https://codereview.chromium.org/2537723002/diff/1/device/vr/vr_device_manager.cc File device/vr/vr_device_manager.cc (right): https://codereview.chromium.org/2537723002/diff/1/device/vr/vr_device_manager.cc#newcode82 device/vr/vr_device_manager.cc:82: services_.erase(std::remove(services_.begin(), services_.end(), service), On 2016/11/29 16:35:13, mthiesse wrote: > ...
4 years ago (2016-11-30 00:32:54 UTC) #7
shaobo.yan
PTAL. https://codereview.chromium.org/2537723002/diff/1/device/vr/vr_device.cc File device/vr/vr_device.cc (right): https://codereview.chromium.org/2537723002/diff/1/device/vr/vr_device.cc#newcode34 device/vr/vr_device.cc:34: displays_.erase(std::remove(displays_.begin(), displays_.end(), display), On 2016/11/29 16:35:13, mthiesse wrote: ...
4 years ago (2016-11-30 02:54:43 UTC) #8
mthiesse
lgtm % nits https://codereview.chromium.org/2537723002/diff/20001/device/vr/vr_device.cc File device/vr/vr_device.cc (right): https://codereview.chromium.org/2537723002/diff/20001/device/vr/vr_device.cc#newcode55 device/vr/vr_device.cc:55: DisplaySet::iterator it = displays_.find(presenting_display_); nit: 'auto ...
4 years ago (2016-11-30 13:59:04 UTC) #9
bajones
LGTM as well, with one additional nit. https://codereview.chromium.org/2537723002/diff/20001/device/vr/vr_device.h File device/vr/vr_device.h (right): https://codereview.chromium.org/2537723002/diff/20001/device/vr/vr_device.h#newcode64 device/vr/vr_device.h:64: // Each ...
4 years ago (2016-11-30 17:41:22 UTC) #10
shaobo.yan
Sorry for bothering under the issue. bajones@ and mthiesse@, I find that it need to ...
4 years ago (2016-12-02 01:44:26 UTC) #11
bajones
On 2016/12/02 01:44:26, shaobo.yan wrote: > Sorry for bothering under the issue. > bajones@ and ...
4 years ago (2016-12-02 02:05:23 UTC) #12
shaobo.yan
On 2016/12/02 02:05:23, bajones wrote: > On 2016/12/02 01:44:26, shaobo.yan wrote: > > Sorry for ...
4 years ago (2016-12-02 02:08:24 UTC) #13
mthiesse
On 2016/12/02 02:08:24, shaobo.yan wrote: > On 2016/12/02 02:05:23, bajones wrote: > > On 2016/12/02 ...
4 years ago (2016-12-02 15:25:45 UTC) #14
shaobo.yan
On 2016/12/02 15:25:45, mthiesse wrote: > On 2016/12/02 02:08:24, shaobo.yan wrote: > > On 2016/12/02 ...
4 years ago (2016-12-06 00:12:17 UTC) #15
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/2537723002/40001
4 years ago (2016-12-06 00:56:26 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/317867) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years ago (2016-12-06 00:59:35 UTC) #20
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/2537723002/60001
4 years ago (2016-12-06 04:16:25 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-06 05:07:19 UTC) #26
commit-bot: I haz the power
4 years ago (2016-12-06 05:11:29 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1c602e5dd72a6acd31dd4f76eb606b54db549b11
Cr-Commit-Position: refs/heads/master@{#436531}

Powered by Google App Engine
This is Rietveld 408576698