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

Issue 2905013002: [vr] Introduce ColorScheme (Closed)

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

Description

[vr] Introduce ColorScheme This refactors some colors into a color scheme struct, accessed by mode. Currently, this only houses a few colors, but it would be a convenient home for all colors that could vary between normal, fullscreen and, eventually, incognito modes. Note: This incorporates some colors and changes from acondor@ and amp@. BUG=715664 Review-Url: https://codereview.chromium.org/2905013002 Cr-Commit-Position: refs/heads/master@{#474766} Committed: https://chromium.googlesource.com/chromium/src/+/5cee228225d5b929b96eac976994a8809cfbff20

Patch Set 1 #

Total comments: 1

Patch Set 2 : added comment about naming of colors in the scheme #

Total comments: 7

Patch Set 3 : address reviewer feedback #

Patch Set 4 : . #

Patch Set 5 : update grid color alpha #

Total comments: 10

Patch Set 6 : address reviewer feedback #

Patch Set 7 : rebase #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -32 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/color_scheme.h View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
A chrome/browser/android/vr_shell/color_scheme.cc View 1 2 3 4 5 1 chunk +40 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager.h View 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_manager.cc View 1 2 3 4 5 6 7 7 chunks +18 lines, -28 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 49 (29 generated)
Ian Vollick
3 years, 7 months ago (2017-05-25 01:53:47 UTC) #3
amp
https://codereview.chromium.org/2905013002/diff/1/chrome/browser/android/vr_shell/color_scheme.cc File chrome/browser/android/vr_shell/color_scheme.cc (right): https://codereview.chromium.org/2905013002/diff/1/chrome/browser/android/vr_shell/color_scheme.cc#newcode26 chrome/browser/android/vr_shell/color_scheme.cc:26: fullscreen_scheme.floor = {0.02745098, 0.058823529, 0.109803922, 0.5}; These colors are ...
3 years, 7 months ago (2017-05-25 04:23:26 UTC) #5
Ian Vollick
On 2017/05/25 04:23:26, amp wrote: > https://codereview.chromium.org/2905013002/diff/1/chrome/browser/android/vr_shell/color_scheme.cc > File chrome/browser/android/vr_shell/color_scheme.cc (right): > > https://codereview.chromium.org/2905013002/diff/1/chrome/browser/android/vr_shell/color_scheme.cc#newcode26 > ...
3 years, 7 months ago (2017-05-25 15:28:01 UTC) #6
acondor_
Agree on the points. https://codereview.chromium.org/2905013002/diff/20001/chrome/browser/android/vr_shell/color_scheme.cc File chrome/browser/android/vr_shell/color_scheme.cc (right): https://codereview.chromium.org/2905013002/diff/20001/chrome/browser/android/vr_shell/color_scheme.cc#newcode25 chrome/browser/android/vr_shell/color_scheme.cc:25: fullscreen_scheme.horizon = {0.039215686, 0.0, 0.082352941, ...
3 years, 7 months ago (2017-05-25 15:34:41 UTC) #7
Ian Vollick
https://codereview.chromium.org/2905013002/diff/20001/chrome/browser/android/vr_shell/color_scheme.cc File chrome/browser/android/vr_shell/color_scheme.cc (right): https://codereview.chromium.org/2905013002/diff/20001/chrome/browser/android/vr_shell/color_scheme.cc#newcode25 chrome/browser/android/vr_shell/color_scheme.cc:25: fullscreen_scheme.horizon = {0.039215686, 0.0, 0.082352941, 0.149019608}; On 2017/05/25 15:34:40, ...
3 years, 7 months ago (2017-05-25 15:54:05 UTC) #8
amp
https://codereview.chromium.org/2905013002/diff/20001/chrome/browser/android/vr_shell/color_scheme.cc File chrome/browser/android/vr_shell/color_scheme.cc (right): https://codereview.chromium.org/2905013002/diff/20001/chrome/browser/android/vr_shell/color_scheme.cc#newcode25 chrome/browser/android/vr_shell/color_scheme.cc:25: fullscreen_scheme.horizon = {0.039215686, 0.0, 0.082352941, 0.149019608}; On 2017/05/25 15:34:40, ...
3 years, 7 months ago (2017-05-25 15:55:31 UTC) #9
acondor_
lgtm https://codereview.chromium.org/2905013002/diff/20001/chrome/browser/android/vr_shell/color_scheme.cc File chrome/browser/android/vr_shell/color_scheme.cc (right): https://codereview.chromium.org/2905013002/diff/20001/chrome/browser/android/vr_shell/color_scheme.cc#newcode25 chrome/browser/android/vr_shell/color_scheme.cc:25: fullscreen_scheme.horizon = {0.039215686, 0.0, 0.082352941, 0.149019608}; On 2017/05/25 ...
3 years, 7 months ago (2017-05-25 16:00:25 UTC) #12
amp
lgtm
3 years, 7 months ago (2017-05-25 16:02:40 UTC) #13
Ian Vollick
On 2017/05/25 16:00:25, acondor wrote: > lgtm > > https://codereview.chromium.org/2905013002/diff/20001/chrome/browser/android/vr_shell/color_scheme.cc > File chrome/browser/android/vr_shell/color_scheme.cc (right): > ...
3 years, 7 months ago (2017-05-25 16:12:04 UTC) #14
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/2905013002/80001
3 years, 7 months ago (2017-05-25 16:12:50 UTC) #17
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 7 months ago (2017-05-25 16:12:52 UTC) #19
cjgrant
lgtm subject to nits (lets discuss offline) https://codereview.chromium.org/2905013002/diff/80001/chrome/browser/android/vr_shell/color_scheme.cc File chrome/browser/android/vr_shell/color_scheme.cc (right): https://codereview.chromium.org/2905013002/diff/80001/chrome/browser/android/vr_shell/color_scheme.cc#newcode27 chrome/browser/android/vr_shell/color_scheme.cc:27: fullscreen_scheme.ceiling = ...
3 years, 7 months ago (2017-05-25 16:26:32 UTC) #22
amp
https://codereview.chromium.org/2905013002/diff/80001/chrome/browser/android/vr_shell/color_scheme.cc File chrome/browser/android/vr_shell/color_scheme.cc (right): https://codereview.chromium.org/2905013002/diff/80001/chrome/browser/android/vr_shell/color_scheme.cc#newcode27 chrome/browser/android/vr_shell/color_scheme.cc:27: fullscreen_scheme.ceiling = {0.015686275, 0.031372549, 0.058823529, 1.0}; On 2017/05/25 16:26:32, ...
3 years, 7 months ago (2017-05-25 16:34:30 UTC) #23
Ian Vollick
https://codereview.chromium.org/2905013002/diff/80001/chrome/browser/android/vr_shell/color_scheme.cc File chrome/browser/android/vr_shell/color_scheme.cc (right): https://codereview.chromium.org/2905013002/diff/80001/chrome/browser/android/vr_shell/color_scheme.cc#newcode27 chrome/browser/android/vr_shell/color_scheme.cc:27: fullscreen_scheme.ceiling = {0.015686275, 0.031372549, 0.058823529, 1.0}; On 2017/05/25 16:26:32, ...
3 years, 7 months ago (2017-05-25 16:36:21 UTC) #24
acondor_
https://codereview.chromium.org/2905013002/diff/80001/chrome/browser/android/vr_shell/color_scheme.h File chrome/browser/android/vr_shell/color_scheme.h (right): https://codereview.chromium.org/2905013002/diff/80001/chrome/browser/android/vr_shell/color_scheme.h#newcode20 chrome/browser/android/vr_shell/color_scheme.h:20: vr::Colorf horizon; On 2017/05/25 16:26:32, cjgrant wrote: > I ...
3 years, 7 months ago (2017-05-25 16:37:29 UTC) #27
Ian Vollick
On 2017/05/25 16:37:29, acondor wrote: > https://codereview.chromium.org/2905013002/diff/80001/chrome/browser/android/vr_shell/color_scheme.h > File chrome/browser/android/vr_shell/color_scheme.h (right): > > https://codereview.chromium.org/2905013002/diff/80001/chrome/browser/android/vr_shell/color_scheme.h#newcode20 > ...
3 years, 7 months ago (2017-05-25 16:50:25 UTC) #28
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/2905013002/100001
3 years, 7 months ago (2017-05-25 18:04:08 UTC) #35
commit-bot: I haz the power
Failed to apply patch for chrome/browser/android/vr_shell/ui_scene_manager.cc: While running git apply --index -3 -p1; error: patch ...
3 years, 7 months ago (2017-05-25 18:09:47 UTC) #37
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/2905013002/140001
3 years, 7 months ago (2017-05-25 19:54:29 UTC) #46
commit-bot: I haz the power
3 years, 7 months ago (2017-05-25 19:59:56 UTC) #49
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/5cee228225d5b929b96eac976994...

Powered by Google App Engine
This is Rietveld 408576698