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

Issue 2945453002: color: Use base::Feature to control color correct rendering (Closed)

Created:
3 years, 6 months ago by ccameron
Modified:
3 years, 6 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, alemate+watch_chromium.org, creis+watch_chromium.org, oshima+watch_chromium.org, einbinder+watch-test-runner_chromium.org, Peter Beverloo, jam, nasko+codewatch_chromium.org, achuith+watch_chromium.org, jbauman+watch_chromium.org, Ian Vollick, darin-cc_chromium.org, jochen+watch_chromium.org, asvitkine+watch_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, mac-reviews_chromium.org, cc-bugs_chromium.org, davemoore+watch_chromium.org, mlamouri+watch-test-runner_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

color: Use base::Feature to control color correct rendering Add an explicit enable command line flag in ShellMainDelegate::BasicStartupComplete to enable this feature for layout tests, because it is already enabled for layout tests. R=asvitkine TBR=avi (content/), xiyuan (chrome/browser/chromeos/login) BUG=713889 Review-Url: https://codereview.chromium.org/2945453002 Cr-Commit-Position: refs/heads/master@{#480262} Committed: https://chromium.googlesource.com/chromium/src/+/708f986f71d8059c05c0f05b37d8c798a877ffde

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 3

Patch Set 3 : Make content shell only enable for layout tests (oops) #

Total comments: 2

Patch Set 4 : Rebase and review feedback #

Patch Set 5 : Rebase #

Patch Set 6 : Add histogram enum #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -32 lines) Patch
M chrome/browser/about_flags.cc View 1 2 3 4 2 chunks +1 line, -8 lines 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 2 chunks +2 lines, -4 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/shell/app/shell_main_delegate.cc View 1 2 2 chunks +8 lines, -3 lines 0 comments Download
M content/test/layouttest_support.cc View 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/enums.xml View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M ui/compositor/compositor.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/compositor_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/display/mac/screen_mac.mm View 1 chunk +1 line, -2 lines 0 comments Download
M ui/gfx/color_space_switches.h View 1 chunk +7 lines, -2 lines 0 comments Download
M ui/gfx/color_space_switches.cc View 1 chunk +7 lines, -4 lines 0 comments Download
M ui/gfx/mac/io_surface.cc View 1 chunk +1 line, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 41 (30 generated)
ccameron
ptal, since this goes against the suggestion in base/feature.h I feel quite convinced that this ...
3 years, 6 months ago (2017-06-15 20:23:55 UTC) #8
ccameron
+asvitkine for base::Feature-ness.
3 years, 6 months ago (2017-06-15 20:54:58 UTC) #10
Alexei Svitkine (slow)
Asking some clarifying questions. https://codereview.chromium.org/2945453002/diff/20001/content/shell/app/shell_main_delegate.cc File content/shell/app/shell_main_delegate.cc (right): https://codereview.chromium.org/2945453002/diff/20001/content/shell/app/shell_main_delegate.cc#newcode236 content/shell/app/shell_main_delegate.cc:236: On 2017/06/15 20:23:55, ccameron wrote: ...
3 years, 6 months ago (2017-06-15 21:04:41 UTC) #14
xhwang
Alexei is the expert on base::Feature. I'll defer the review of this CL to him.
3 years, 6 months ago (2017-06-15 21:11:12 UTC) #16
ccameron
https://codereview.chromium.org/2945453002/diff/20001/content/shell/app/shell_main_delegate.cc File content/shell/app/shell_main_delegate.cc (right): https://codereview.chromium.org/2945453002/diff/20001/content/shell/app/shell_main_delegate.cc#newcode236 content/shell/app/shell_main_delegate.cc:236: (related oops -- this was supposed to be in ...
3 years, 6 months ago (2017-06-15 21:26:25 UTC) #17
Alexei Svitkine (slow)
Ok, seems reasonable to me - but can you mention the purpose (layout tests) in ...
3 years, 6 months ago (2017-06-16 14:47:25 UTC) #18
ccameron
Thanks! https://codereview.chromium.org/2945453002/diff/40001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/2945453002/diff/40001/content/browser/renderer_host/render_view_host_impl.cc#newcode335 content/browser/renderer_host/render_view_host_impl.cc:335: if (base::FeatureList::IsEnabled(features::kColorCorrectRendering)) { On 2017/06/16 14:47:24, Alexei Svitkine ...
3 years, 6 months ago (2017-06-16 22:15:26 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/2945453002/80001
3 years, 6 months ago (2017-06-16 22:15:48 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/409097)
3 years, 6 months ago (2017-06-16 23:38:13 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/2945453002/100001
3 years, 6 months ago (2017-06-17 01:22:15 UTC) #38
commit-bot: I haz the power
3 years, 6 months ago (2017-06-17 01:29:59 UTC) #41
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/708f986f71d8059c05c0f05b37d8...

Powered by Google App Engine
This is Rietveld 408576698