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

Issue 2150013003: Add IPC support for gfx::ColorSpace (Closed)

Created:
4 years, 5 months ago by ccameron
Modified:
4 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, mlamouri+watch-content_chromium.org, hubbe
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add IPC support for gfx::ColorSpace This structure, passed browser->renderer, is not necessarily an ICC profile, so we shouldn't be passing it around as a raw ICC profile. This also adds the build targets that we'll be using for other color related structures in the near future. In particular, we will be adding a color space structure that cannot be a full ICC profile (because they are heavy, and sending them renderer->browser would be unsafe). BUG=622133 Committed: https://crrev.com/e0d9f3857bedccbd50584c260d071b4ad8ee2202 Cr-Commit-Position: refs/heads/master@{#406363}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Update BUILD.gn #

Total comments: 2

Patch Set 4 : Use enums #

Patch Set 5 : Update enums #

Patch Set 6 : git cl try #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -38 lines) Patch
M content/browser/renderer_host/render_view_host_impl.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/common/BUILD.gn View 1 2 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M content/content_common.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ui/gfx/color_space.h View 1 2 3 3 chunks +11 lines, -2 lines 0 comments Download
A + ui/gfx/ipc/color/BUILD.gn View 1 2 3 1 chunk +8 lines, -5 lines 0 comments Download
A + ui/gfx/ipc/color/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + ui/gfx/ipc/color/gfx_ipc_color.gyp View 1 chunk +4 lines, -14 lines 0 comments Download
A + ui/gfx/ipc/color/gfx_ipc_color.gypi View 2 chunks +2 lines, -2 lines 0 comments Download
A ui/gfx/ipc/color/gfx_ipc_color_export.h View 1 chunk +29 lines, -0 lines 0 comments Download
A + ui/gfx/ipc/color/gfx_param_traits.h View 2 chunks +14 lines, -7 lines 0 comments Download
A ui/gfx/ipc/color/gfx_param_traits.cc View 1 2 3 1 chunk +91 lines, -0 lines 0 comments Download
A ui/gfx/ipc/color/gfx_param_traits_macros.h View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
M ui/gfx/ipc/geometry/gfx_param_traits.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M ui/gfx/ipc/gfx_ipc.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 37 (24 generated)
ccameron
post-weekend ping
4 years, 5 months ago (2016-07-18 17:23:56 UTC) #12
dcheng
https://codereview.chromium.org/2150013003/diff/40001/ui/gfx/ipc/color/gfx_param_traits.cc File ui/gfx/ipc/color/gfx_param_traits.cc (right): https://codereview.chromium.org/2150013003/diff/40001/ui/gfx/ipc/color/gfx_param_traits.cc#newcode27 ui/gfx/ipc/color/gfx_param_traits.cc:27: uint32_t type = static_cast<uint32_t>(p.type_); Can we define a paramtraits ...
4 years, 5 months ago (2016-07-19 05:17:41 UTC) #13
ccameron
Good point -- done. https://codereview.chromium.org/2150013003/diff/40001/ui/gfx/ipc/color/gfx_param_traits.cc File ui/gfx/ipc/color/gfx_param_traits.cc (right): https://codereview.chromium.org/2150013003/diff/40001/ui/gfx/ipc/color/gfx_param_traits.cc#newcode27 ui/gfx/ipc/color/gfx_param_traits.cc:27: uint32_t type = static_cast<uint32_t>(p.type_); On ...
4 years, 5 months ago (2016-07-19 05:56:50 UTC) #14
dcheng
lgtm
4 years, 5 months ago (2016-07-19 06:13:18 UTC) #15
ccameron
Adding avi@ for content/ stamp
4 years, 5 months ago (2016-07-19 16:39:31 UTC) #19
Avi (use Gerrit)
LGTM You need an IPC review.
4 years, 5 months ago (2016-07-19 17:12:59 UTC) #20
ccameron
Thanks! (yup, dcheng was ipc)
4 years, 5 months ago (2016-07-19 17:37:30 UTC) #21
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/2150013003/80001
4 years, 5 months ago (2016-07-19 17:37:59 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/98613) android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 5 months ago (2016-07-19 17:43: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/2150013003/100001
4 years, 5 months ago (2016-07-19 20:05:31 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-19 20:12:39 UTC) #34
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-19 20:13:00 UTC) #35
commit-bot: I haz the power
4 years, 5 months ago (2016-07-19 20:14:51 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/e0d9f3857bedccbd50584c260d071b4ad8ee2202
Cr-Commit-Position: refs/heads/master@{#406363}

Powered by Google App Engine
This is Rietveld 408576698