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

Issue 2434013002: Implement a means of letting native VR Shell control the HTML UI. (Closed)

Created:
4 years, 2 months ago by cjgrant
Modified:
4 years, 2 months ago
Reviewers:
mthiesse, bshe
CC:
chromium-reviews, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement a means of letting native VR Shell control the HTML UI. BUG=641508 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/59c4b66c37827da7e3853a0d5e8c6947e627c7fa Cr-Commit-Position: refs/heads/master@{#426601}

Patch Set 1 #

Patch Set 2 : Impelement a means of letting native VR Shell control the HTML UI. #

Total comments: 20

Patch Set 3 : Addressing comments. #

Patch Set 4 : Must explicitly allow Javscript calls; refactor. #

Patch Set 5 : Remove use of cr.define() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -3 lines) Patch
M chrome/browser/android/vr_shell/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/ui_interface.h View 1 2 1 chunk +46 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/ui_interface.cc View 1 2 1 chunk +43 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.h View 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.cc View 4 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui.js View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/vr_shell/vr_shell_ui_message_handler.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/vr_shell/vr_shell_ui_message_handler.cc View 1 2 3 4 3 chunks +15 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (7 generated)
cjgrant
4 years, 2 months ago (2016-10-19 17:33:41 UTC) #3
mthiesse
lgtm % nits https://codereview.chromium.org/2434013002/diff/20001/chrome/browser/android/vr_shell/ui_interface.cc File chrome/browser/android/vr_shell/ui_interface.cc (right): https://codereview.chromium.org/2434013002/diff/20001/chrome/browser/android/vr_shell/ui_interface.cc#newcode25 chrome/browser/android/vr_shell/ui_interface.cc:25: updates_.SetInteger("mode", static_cast<int>(mode)); Maybe store the mode ...
4 years, 2 months ago (2016-10-19 18:04:10 UTC) #4
bshe
https://codereview.chromium.org/2434013002/diff/20001/chrome/browser/android/vr_shell/ui_interface.cc File chrome/browser/android/vr_shell/ui_interface.cc (right): https://codereview.chromium.org/2434013002/diff/20001/chrome/browser/android/vr_shell/ui_interface.cc#newcode8 chrome/browser/android/vr_shell/ui_interface.cc:8: #include "base/memory/weak_ptr.h" nit: remove the above two header as ...
4 years, 2 months ago (2016-10-19 21:02:40 UTC) #5
cjgrant
https://codereview.chromium.org/2434013002/diff/20001/chrome/browser/android/vr_shell/ui_interface.cc File chrome/browser/android/vr_shell/ui_interface.cc (right): https://codereview.chromium.org/2434013002/diff/20001/chrome/browser/android/vr_shell/ui_interface.cc#newcode41 chrome/browser/android/vr_shell/ui_interface.cc:41: handler_->GetWebUi()->CallJavascriptFunctionUnsafe( On 2016/10/19 21:02:40, bshe wrote: > Calling "CallJavascriptFunctionUnsafe" ...
4 years, 2 months ago (2016-10-20 14:32:40 UTC) #6
cjgrant
https://codereview.chromium.org/2434013002/diff/20001/chrome/browser/android/vr_shell/ui_interface.cc File chrome/browser/android/vr_shell/ui_interface.cc (right): https://codereview.chromium.org/2434013002/diff/20001/chrome/browser/android/vr_shell/ui_interface.cc#newcode8 chrome/browser/android/vr_shell/ui_interface.cc:8: #include "base/memory/weak_ptr.h" On 2016/10/19 21:02:40, bshe wrote: > nit: ...
4 years, 2 months ago (2016-10-20 15:25:39 UTC) #7
bshe
lgtm https://codereview.chromium.org/2434013002/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.js File chrome/browser/resources/vr_shell/vr_shell_ui.js (right): https://codereview.chromium.org/2434013002/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.js#newcode5 chrome/browser/resources/vr_shell/vr_shell_ui.js:5: cr.define('chrome.vrShellUi', function() { On 2016/10/20 15:25:39, cjgrant wrote: ...
4 years, 2 months ago (2016-10-20 18:07:48 UTC) #9
cjgrant
https://codereview.chromium.org/2434013002/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.js File chrome/browser/resources/vr_shell/vr_shell_ui.js (right): https://codereview.chromium.org/2434013002/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.js#newcode5 chrome/browser/resources/vr_shell/vr_shell_ui.js:5: cr.define('chrome.vrShellUi', function() { On 2016/10/20 18:07:48, bshe wrote: > ...
4 years, 2 months ago (2016-10-20 19:59:59 UTC) #10
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/2434013002/80001
4 years, 2 months ago (2016-10-20 20:00:29 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-20 21:25:41 UTC) #15
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:22:47 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/59c4b66c37827da7e3853a0d5e8c6947e627c7fa
Cr-Commit-Position: refs/heads/master@{#426601}

Powered by Google App Engine
This is Rietveld 408576698