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

Issue 2866853002: VR: Wire VrShell UI-related state to the scene manager. (Closed)

Created:
3 years, 7 months ago by cjgrant
Modified:
3 years, 7 months ago
Reviewers:
mthiesse, ymalik, amp
CC:
chromium-reviews, feature-vr-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

VR: Wire VrShell UI-related state to the scene manager. This extends the work started by ymalik@ to clean up cross-thread calls, and uses the new mechanism to pass the state we need to the UI. BUG=715713 Review-Url: https://codereview.chromium.org/2866853002 Cr-Commit-Position: refs/heads/master@{#470318} Committed: https://chromium.googlesource.com/chromium/src/+/4cf2a298101b0b2ce018e31be498c13fe61a9ce8

Patch Set 1 #

Total comments: 17

Patch Set 2 : Refactoring for cleanup and to address comments. #

Total comments: 2

Patch Set 3 : Fix unit tests. #

Patch Set 4 : Rebase; remove now-unused source file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -144 lines) Patch
M chrome/browser/android/vr_shell/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/android/vr_shell/ui_interface.h View 1 3 chunks +20 lines, -35 lines 0 comments Download
D chrome/browser/android/vr_shell/ui_interface.cc View 1 2 3 1 chunk +0 lines, -48 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager.h View 1 2 3 3 chunks +19 lines, -8 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager.cc View 1 2 3 5 chunks +19 lines, -5 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc View 1 2 2 chunks +17 lines, -2 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_browser_interface.h View 1 1 chunk +9 lines, -9 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_gl_thread.h View 1 4 chunks +17 lines, -3 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_gl_thread.cc View 1 3 chunks +63 lines, -10 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.h View 1 2 3 3 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.cc View 1 2 3 8 chunks +7 lines, -20 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_gl.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (7 generated)
cjgrant
Folks, here's the addendum to Yash's CL that completes the cross-thread interfaces. Now VrShell can ...
3 years, 7 months ago (2017-05-05 21:58:10 UTC) #2
ymalik
lgtm % questions https://codereview.chromium.org/2866853002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.h File chrome/browser/android/vr_shell/ui_scene_manager.h (right): https://codereview.chromium.org/2866853002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.h#newcode33 chrome/browser/android/vr_shell/ui_scene_manager.h:33: void SetFullscreen(bool enabled); nit: add a ...
3 years, 7 months ago (2017-05-08 14:05:01 UTC) #3
cjgrant
https://codereview.chromium.org/2866853002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.h File chrome/browser/android/vr_shell/ui_scene_manager.h (right): https://codereview.chromium.org/2866853002/diff/1/chrome/browser/android/vr_shell/ui_scene_manager.h#newcode33 chrome/browser/android/vr_shell/ui_scene_manager.h:33: void SetFullscreen(bool enabled); On 2017/05/08 14:05:00, ymalik wrote: > ...
3 years, 7 months ago (2017-05-08 14:14:37 UTC) #4
mthiesse
https://codereview.chromium.org/2866853002/diff/1/chrome/browser/android/vr_shell/ui_interface.h File chrome/browser/android/vr_shell/ui_interface.h (right): https://codereview.chromium.org/2866853002/diff/1/chrome/browser/android/vr_shell/ui_interface.h#newcode26 chrome/browser/android/vr_shell/ui_interface.h:26: virtual void SetWebVr(bool enabled) = 0; nit: enabled is ...
3 years, 7 months ago (2017-05-08 16:04:56 UTC) #5
amp
https://codereview.chromium.org/2866853002/diff/1/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2866853002/diff/1/chrome/browser/android/vr_shell/vr_shell.cc#newcode205 chrome/browser/android/vr_shell/vr_shell.cc:205: void VrShell::PostToGlThreadWhenReady(const base::Closure& task) { On 2017/05/08 16:04:55, mthiesse ...
3 years, 7 months ago (2017-05-08 18:30:11 UTC) #6
cjgrant
https://codereview.chromium.org/2866853002/diff/1/chrome/browser/android/vr_shell/ui_interface.h File chrome/browser/android/vr_shell/ui_interface.h (right): https://codereview.chromium.org/2866853002/diff/1/chrome/browser/android/vr_shell/ui_interface.h#newcode26 chrome/browser/android/vr_shell/ui_interface.h:26: virtual void SetWebVr(bool enabled) = 0; On 2017/05/08 16:04:55, ...
3 years, 7 months ago (2017-05-08 19:17:23 UTC) #7
mthiesse
lgtm
3 years, 7 months ago (2017-05-08 20:21:40 UTC) #8
amp
https://codereview.chromium.org/2866853002/diff/1/chrome/browser/android/vr_shell/vr_shell.cc File chrome/browser/android/vr_shell/vr_shell.cc (right): https://codereview.chromium.org/2866853002/diff/1/chrome/browser/android/vr_shell/vr_shell.cc#newcode205 chrome/browser/android/vr_shell/vr_shell.cc:205: void VrShell::PostToGlThreadWhenReady(const base::Closure& task) { On 2017/05/08 19:17:22, cjgrant ...
3 years, 7 months ago (2017-05-08 20:30:06 UTC) #9
amp
forgot my lgtm :)
3 years, 7 months ago (2017-05-08 20:30:33 UTC) #10
cjgrant
On 2017/05/08 20:30:06, amp wrote: > https://codereview.chromium.org/2866853002/diff/1/chrome/browser/android/vr_shell/vr_shell.cc > File chrome/browser/android/vr_shell/vr_shell.cc (right): > > https://codereview.chromium.org/2866853002/diff/1/chrome/browser/android/vr_shell/vr_shell.cc#newcode205 > ...
3 years, 7 months ago (2017-05-08 20:39:06 UTC) #11
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/2866853002/60001
3 years, 7 months ago (2017-05-09 00:29:35 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/406299)
3 years, 7 months ago (2017-05-09 01:24:14 UTC) #16
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/2866853002/60001
3 years, 7 months ago (2017-05-09 14:07:47 UTC) #18
commit-bot: I haz the power
3 years, 7 months ago (2017-05-09 14:13:30 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/4cf2a298101b0b2ce018e31be498...

Powered by Google App Engine
This is Rietveld 408576698