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

Issue 2668093002: VrShell background implemented in JS. (Closed)

Created:
3 years, 10 months ago by tiborg1
Modified:
3 years, 10 months ago
Reviewers:
mthiesse, cjgrant
CC:
chromium-reviews, pkl (ping after 24h if needed), feature-vr-reviews_chromium.org, noyau+watch_chromium.org, arv+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

VrShell background implemented in JS. - Added fill attribute to JS API so that you can also set a gradient for the objects filling instead of a sprite. - Adapted native code accordingly. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2668093002 Cr-Commit-Position: refs/heads/master@{#448280} Committed: https://chromium.googlesource.com/chromium/src/+/1362193151001d9c269c705c9881db89e6cf8c64

Patch Set 1 #

Total comments: 8

Patch Set 2 : Replaced content_quad with CONTENT filling, gradient renderer respects opacity, nits #

Total comments: 6

Patch Set 3 : Adapted testing, fixed formatting #

Patch Set 4 : Removed superfluous tests from previous patch set #

Total comments: 11

Patch Set 5 : Improved tests, renamed and changed signedness of tile number, added comments #

Patch Set 6 : Added checking #

Patch Set 7 : gclient sync #

Patch Set 8 : Rebased to ToT #

Patch Set 9 : Fixed merge errors #

Patch Set 10 : Removed new line #

Patch Set 11 : Fixed tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+501 lines, -196 lines) Patch
M chrome/browser/android/vr_shell/ui_elements.h View 1 2 3 4 4 chunks +24 lines, -5 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene.cc View 1 2 3 4 5 10 chunks +82 lines, -25 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_unittest.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +96 lines, -5 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_math.h View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_gl.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_gl.cc View 1 2 3 4 6 chunks +41 lines, -30 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_renderer.h View 1 2 3 4 5 chunks +47 lines, -18 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_renderer.cc View 1 2 3 4 6 chunks +94 lines, -99 lines 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui.js View 1 2 3 4 5 6 7 8 9 4 chunks +57 lines, -1 line 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui_api.js View 1 2 3 4 5 6 7 4 chunks +51 lines, -10 lines 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui_scene.js View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 49 (26 generated)
mthiesse
Seems okay from a high level. We want to be careful about how much complexity ...
3 years, 10 months ago (2017-01-31 20:54:54 UTC) #3
tiborg1
https://codereview.chromium.org/2668093002/diff/1/chrome/browser/android/vr_shell/vr_shell_gl.cc File chrome/browser/android/vr_shell/vr_shell_gl.cc (right): https://codereview.chromium.org/2668093002/diff/1/chrome/browser/android/vr_shell/vr_shell_gl.cc#newcode817 chrome/browser/android/vr_shell/vr_shell_gl.cc:817: } break; On 2017/01/31 20:54:54, mthiesse wrote: > nit: ...
3 years, 10 months ago (2017-02-01 00:22:18 UTC) #5
cjgrant
https://codereview.chromium.org/2668093002/diff/20001/chrome/browser/android/vr_shell/ui_scene.cc File chrome/browser/android/vr_shell/ui_scene.cc (right): https://codereview.chromium.org/2668093002/diff/20001/chrome/browser/android/vr_shell/ui_scene.cc#newcode425 chrome/browser/android/vr_shell/ui_scene.cc:425: // Parse the element fill. ui_scene_unittest.cc should be updated ...
3 years, 10 months ago (2017-02-01 14:36:40 UTC) #6
cjgrant
On 2017/01/31 20:54:54, mthiesse wrote: > Seems okay from a high level. We want to ...
3 years, 10 months ago (2017-02-01 14:45:19 UTC) #7
tiborg1
https://codereview.chromium.org/2668093002/diff/20001/chrome/browser/android/vr_shell/ui_scene.cc File chrome/browser/android/vr_shell/ui_scene.cc (right): https://codereview.chromium.org/2668093002/diff/20001/chrome/browser/android/vr_shell/ui_scene.cc#newcode425 chrome/browser/android/vr_shell/ui_scene.cc:425: // Parse the element fill. On 2017/02/01 14:36:40, cjgrant ...
3 years, 10 months ago (2017-02-01 20:38:58 UTC) #8
cjgrant
A few more things, then I think we're good to go. https://codereview.chromium.org/2668093002/diff/60001/chrome/browser/android/vr_shell/ui_elements.h File chrome/browser/android/vr_shell/ui_elements.h (right): ...
3 years, 10 months ago (2017-02-02 14:48:26 UTC) #9
tiborg1
https://codereview.chromium.org/2668093002/diff/60001/chrome/browser/android/vr_shell/ui_elements.h File chrome/browser/android/vr_shell/ui_elements.h (right): https://codereview.chromium.org/2668093002/diff/60001/chrome/browser/android/vr_shell/ui_elements.h#newcode36 chrome/browser/android/vr_shell/ui_elements.h:36: // The element is the content quad. Only one ...
3 years, 10 months ago (2017-02-02 16:52:27 UTC) #10
cjgrant
lgtm after one last edit (see comment). https://codereview.chromium.org/2668093002/diff/60001/chrome/browser/android/vr_shell/ui_scene.cc File chrome/browser/android/vr_shell/ui_scene.cc (right): https://codereview.chromium.org/2668093002/diff/60001/chrome/browser/android/vr_shell/ui_scene.cc#newcode445 chrome/browser/android/vr_shell/ui_scene.cc:445: dict.GetInteger("tileNumber", &value); ...
3 years, 10 months ago (2017-02-03 15:58:29 UTC) #11
tiborg1
On 2017/02/03 15:58:29, cjgrant wrote: > lgtm after one last edit (see comment). > > ...
3 years, 10 months ago (2017-02-03 16:50:50 UTC) #12
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/2668093002/100001
3 years, 10 months ago (2017-02-03 16:51:13 UTC) #15
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
3 years, 10 months ago (2017-02-03 16:51:16 UTC) #17
mthiesse
lgtm. Not sure why Chris' lgtm doesn't count here... it should.
3 years, 10 months ago (2017-02-03 16:59:27 UTC) #18
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/2668093002/100001
3 years, 10 months ago (2017-02-03 17:45:44 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/147040) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-03 17:48:08 UTC) #22
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/2668093002/100001
3 years, 10 months ago (2017-02-03 17:53:44 UTC) #25
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/2668093002/120001
3 years, 10 months ago (2017-02-03 18:04:27 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/147076) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-03 18:08:03 UTC) #34
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/2668093002/180001
3 years, 10 months ago (2017-02-03 20:38:56 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/112413)
3 years, 10 months ago (2017-02-03 22:04:25 UTC) #39
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/2668093002/200001
3 years, 10 months ago (2017-02-04 02:53:41 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_amd64-generic_chromium_compile_only_ng on ...
3 years, 10 months ago (2017-02-04 04:54:42 UTC) #44
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/2668093002/200001
3 years, 10 months ago (2017-02-06 16:15:33 UTC) #46
commit-bot: I haz the power
3 years, 10 months ago (2017-02-06 17:15:40 UTC) #49
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/1362193151001d9c269c705c9881...

Powered by Google App Engine
This is Rietveld 408576698