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

Issue 2341803003: Add chrome://vr-shell-ui internal page (Closed)

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

Description

Add chrome://vr-shell-ui internal page See design doc in the following link on why we need this page: All the webui functions are NOTIMPLEMENTED at the moment. They need some files in https://codereview.chromium.org/2335643002/ before they can be implemented. To support fast prototyping that requested by UX, this CL also support override the internal page with remote pages. So UI can be developed without rebuild Chrome. That feature is behind enable_vr_shell_ui_dev build flag. We don't have plan to turn the build flag on. BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/f85ba713744e00daa978a5db6083561494dda660 Cr-Commit-Position: refs/heads/master@{#419431}

Patch Set 1 #

Patch Set 2 : Clean up #

Patch Set 3 : More clean up #

Total comments: 21

Patch Set 4 : reivews #

Total comments: 2

Patch Set 5 : review #

Total comments: 4

Patch Set 6 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+628 lines, -9 lines) Patch
M chrome/browser/browser_resources.grd View 1 1 chunk +6 lines, -0 lines 0 comments Download
A + chrome/browser/resources/vr_shell/vr_shell_ui.css View 1 1 chunk +8 lines, -9 lines 0 comments Download
A chrome/browser/resources/vr_shell/vr_shell_ui.html View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
A chrome/browser/resources/vr_shell/vr_shell_ui.js View 1 2 3 1 chunk +232 lines, -0 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 chunks +7 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/vr_shell/vr_shell_ui_message_handler.h View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/vr_shell/vr_shell_ui_message_handler.cc View 1 1 chunk +63 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.h View 1 1 chunk +21 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc View 1 2 3 4 1 chunk +198 lines, -0 lines 0 comments Download
M chrome/common/BUILD.gn View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/features.gni View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/common/url_constants.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 39 (24 generated)
Dan Beam
On 2016/09/15 18:34:48, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
4 years, 3 months ago (2016-09-15 20:28:38 UTC) #7
bshe
Hi Xiyuan. Do you mind to take a look at this CL? Please feel free ...
4 years, 3 months ago (2016-09-15 22:02:11 UTC) #11
xiyuan
Mostly nits https://codereview.chromium.org/2341803003/diff/40001/chrome/browser/resources/vr_shell/vr_shell_ui.js File chrome/browser/resources/vr_shell/vr_shell_ui.js (right): https://codereview.chromium.org/2341803003/diff/40001/chrome/browser/resources/vr_shell/vr_shell_ui.js#newcode153 chrome/browser/resources/vr_shell/vr_shell_ui.js:153: document.body.parentNode.style.backgroundColor = 'rgba(255,255,255,0)'; Can this be in ...
4 years, 3 months ago (2016-09-15 22:58:48 UTC) #12
mthiesse
https://codereview.chromium.org/2341803003/diff/40001/chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc File chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc (right): https://codereview.chromium.org/2341803003/diff/40001/chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc#newcode163 chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc:163: StartDataRequest("", 0, 0, callback); On 2016/09/15 22:58:47, xiyuan wrote: ...
4 years, 3 months ago (2016-09-16 15:04:08 UTC) #14
mthiesse
https://codereview.chromium.org/2341803003/diff/40001/chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc File chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc (right): https://codereview.chromium.org/2341803003/diff/40001/chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc#newcode163 chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc:163: StartDataRequest("", 0, 0, callback); On 2016/09/16 15:04:07, mthiesse wrote: ...
4 years, 3 months ago (2016-09-16 15:07:24 UTC) #15
bshe
Thanks for review. Could you please take another look? + sky for: chrome/browser/ui/BUILD.gn chrome/common/BUILD.gn https://codereview.chromium.org/2341803003/diff/40001/chrome/browser/resources/vr_shell/vr_shell_ui.js ...
4 years, 3 months ago (2016-09-16 18:27:53 UTC) #17
xiyuan
https://codereview.chromium.org/2341803003/diff/60001/chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc File chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc (right): https://codereview.chromium.org/2341803003/diff/60001/chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc#newcode165 chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc:165: pending_.erase(it); This and L170 should be moved to "delete ...
4 years, 3 months ago (2016-09-16 20:51:39 UTC) #22
bshe
https://codereview.chromium.org/2341803003/diff/60001/chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc File chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc (right): https://codereview.chromium.org/2341803003/diff/60001/chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc#newcode165 chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc:165: pending_.erase(it); On 2016/09/16 20:51:39, xiyuan wrote: > This and ...
4 years, 3 months ago (2016-09-16 21:29:20 UTC) #23
xiyuan
lgtm
4 years, 3 months ago (2016-09-16 21:30:50 UTC) #24
sky
https://codereview.chromium.org/2341803003/diff/80001/chrome/browser/ui/BUILD.gn File chrome/browser/ui/BUILD.gn (right): https://codereview.chromium.org/2341803003/diff/80001/chrome/browser/ui/BUILD.gn#newcode2192 chrome/browser/ui/BUILD.gn:2192: defines += [ "ENABLE_VR_SHELL_UI_DEV" ] Why do we need ...
4 years, 3 months ago (2016-09-16 22:57:31 UTC) #29
bshe
https://codereview.chromium.org/2341803003/diff/80001/chrome/browser/ui/BUILD.gn File chrome/browser/ui/BUILD.gn (right): https://codereview.chromium.org/2341803003/diff/80001/chrome/browser/ui/BUILD.gn#newcode2192 chrome/browser/ui/BUILD.gn:2192: defines += [ "ENABLE_VR_SHELL_UI_DEV" ] On 2016/09/16 22:57:31, sky ...
4 years, 3 months ago (2016-09-16 23:28:04 UTC) #30
sky
LGTM
4 years, 3 months ago (2016-09-18 15:59:52 UTC) #31
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/2341803003/100001
4 years, 3 months ago (2016-09-19 10:47:17 UTC) #34
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-19 11:43:04 UTC) #36
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 11:44:34 UTC) #38
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f85ba713744e00daa978a5db6083561494dda660
Cr-Commit-Position: refs/heads/master@{#419431}

Powered by Google App Engine
This is Rietveld 408576698