Chromium Code Reviews
DescriptionPause drawing webvr when the App button is pressed
Clicking the App button toggles between pausing and resuming webvr drawing. This
is the first step to crbug.com/713377. We still need to figure out how to properly
handle app button clicks from WebVr presentation mode. This CL mainly has all the
plumbing required for the UiSceneManager to handle the clicks.
This CL declares a VrBrowserInterface that VrGLThread implements. VrShellLGl gets
this interface and calls functions on it which has the PostTask/binding logic.
Future-work: do the same for calls from VrShell -> Gl thread (VrUiInterface).
BUG=713377
Review-Url: https://codereview.chromium.org/2833773005
Cr-Commit-Position: refs/heads/master@{#469138}
Committed: https://chromium.googlesource.com/chromium/src/+/847ddc166e042a5e929ac16c9327dc3e02cba21c
Patch Set 1 #Patch Set 2 : nit #
Total comments: 8
Patch Set 3 : Move pause logic out of vr_shell_gl #Patch Set 4 : Add unittest + cleanup #
Total comments: 5
Patch Set 5 : refactor #
Total comments: 27
Patch Set 6 : address review comments #Patch Set 7 : remove unused header #
Total comments: 6
Patch Set 8 : make UiBrowserInterface a raw ptr #Messages
Total messages: 29 (9 generated)
|