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

Issue 2915673003: ui/gfx: Use separate components for color_space and switches (Closed)

Created:
3 years, 6 months ago by ccameron
Modified:
3 years, 6 months ago
Reviewers:
Nico
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

ui/gfx: Use separate components for color_space and switches The need for switches to be separate is a temporary consequence of many workarounds for the non-color-correct-rendering path spread throughout the code. Once these workarounds are removed, the switches component can be pulled back into color_space and sources. R=thakis TBR=avi for content/ BUG=723608 Review-Url: https://codereview.chromium.org/2915673003 Cr-Commit-Position: refs/heads/master@{#480175} Committed: https://chromium.googlesource.com/chromium/src/+/fd83a51df6653957aa077d1f1083bfe4118920c4

Patch Set 1 #

Patch Set 2 : Include icc sources #

Patch Set 3 : Include headers #

Patch Set 4 : Fix x includes #

Patch Set 5 : Fix x include #

Patch Set 6 : Fix windows build #

Patch Set 7 : Add component for switches #

Patch Set 8 : Fix windows build #

Total comments: 6

Patch Set 9 : Add color and switch components, and TODO to merge back #

Total comments: 3

Patch Set 10 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -86 lines) Patch
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/app/shell_main_delegate.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/test/layouttest_support.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/compositor.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M ui/compositor/compositor_util.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/display/mac/screen_mac.mm View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/BUILD.gn View 1 2 3 4 5 6 7 8 9 7 chunks +35 lines, -23 lines 0 comments Download
M ui/gfx/color_space.h View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -4 lines 0 comments Download
A ui/gfx/color_space_export.h View 1 2 3 4 5 6 7 8 1 chunk +29 lines, -0 lines 0 comments Download
A ui/gfx/color_space_switches.h View 1 2 3 4 5 6 7 8 1 chunk +19 lines, -0 lines 0 comments Download
A + ui/gfx/color_space_switches.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -15 lines 0 comments Download
M ui/gfx/color_space_win.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/icc_profile.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/icc_profile.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/mac/io_surface.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/skia_color_space_util.h View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -13 lines 0 comments Download
M ui/gfx/skia_color_space_util.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M ui/gfx/switches.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -8 lines 0 comments Download
M ui/gfx/switches.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -9 lines 0 comments Download
A ui/gfx/switches_export.h View 1 2 3 4 5 6 7 8 1 chunk +29 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 73 (62 generated)
ccameron
ptal -- lmk if this fixes the issues with my previous patch
3 years, 6 months ago (2017-05-31 00:56:23 UTC) #16
ccameron
On 2017/05/31 00:56:23, ccameron wrote: > ptal -- lmk if this fixes the issues with ...
3 years, 6 months ago (2017-05-31 02:36:53 UTC) #19
ccameron
this should be working now -- ptal
3 years, 6 months ago (2017-06-01 14:47:09 UTC) #28
Nico
Hm, making switches its own component seems a bit awkward. Maybe you could move the ...
3 years, 6 months ago (2017-06-01 14:52:14 UTC) #29
ccameron
On 2017/06/01 14:52:14, Nico wrote: > Hm, making switches its own component seems a bit ...
3 years, 6 months ago (2017-06-15 07:01:23 UTC) #46
ccameron
ptal -- I ended up keeping the switches as a separate grab-bag of switches from ...
3 years, 6 months ago (2017-06-15 21:30:46 UTC) #58
ccameron
ping
3 years, 6 months ago (2017-06-16 19:09:23 UTC) #61
Nico
Oh, sorry. lgtm with component("switches") -> component("gfx_switches"). I'm looking forward to this being cleaned up ...
3 years, 6 months ago (2017-06-16 19:24:09 UTC) #62
ccameron
Thanks! https://codereview.chromium.org/2915673003/diff/140001/ui/gfx/BUILD.gn File ui/gfx/BUILD.gn (right): https://codereview.chromium.org/2915673003/diff/140001/ui/gfx/BUILD.gn#newcode559 ui/gfx/BUILD.gn:559: component("switches") { On 2017/06/16 19:24:09, Nico wrote: > ...
3 years, 6 months ago (2017-06-16 19:49:27 UTC) #65
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/2915673003/300001
3 years, 6 months ago (2017-06-16 20:20:31 UTC) #70
commit-bot: I haz the power
3 years, 6 months ago (2017-06-16 21:26:34 UTC) #73
Message was sent while issue was closed.
Committed patchset #10 (id:300001) as
https://chromium.googlesource.com/chromium/src/+/fd83a51df6653957aa077d1f1083...

Powered by Google App Engine
This is Rietveld 408576698