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

Issue 16968002: Move implementation of WebFilterOperations into cc (Closed)

Created:
7 years, 6 months ago by ajuma
Modified:
7 years, 6 months ago
CC:
chromium-reviews, cc-bugs_chromium.org, Stephen White, enne (OOO), Ian Vollick
Visibility:
Public.

Description

Move implementation of WebFilterOperations into cc This moves the implementation of WebFilterOperations into cc, and (behind an #ifdef) defines a WebFilterOperationsImpl class that implements the WebFilterOperations interface by wrapping a cc::FilterOperations. With this change, cc and ui/compositor no longer need to include WebFilterOperations.h. BUG=181613 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208531

Patch Set 1 : #

Total comments: 23

Patch Set 2 : Rebased #

Patch Set 3 : Address review comments #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1190 lines, -381 lines) Patch
M cc/DEPS View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/cc.gyp View 1 1 chunk +4 lines, -0 lines 0 comments Download
M cc/cc_tests.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/delegated_renderer_layer_impl_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M cc/layers/layer.h View 4 chunks +7 lines, -7 lines 0 comments Download
M cc/layers/layer.cc View 1 3 chunks +6 lines, -6 lines 0 comments Download
M cc/layers/layer_impl.h View 3 chunks +7 lines, -7 lines 0 comments Download
M cc/layers/layer_impl.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M cc/layers/layer_impl_unittest.cc View 5 chunks +8 lines, -11 lines 0 comments Download
A cc/output/filter_operation.h View 1 2 3 1 chunk +176 lines, -0 lines 0 comments Download
A cc/output/filter_operation.cc View 1 2 1 chunk +66 lines, -0 lines 0 comments Download
A cc/output/filter_operations.h View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
A cc/output/filter_operations.cc View 1 2 3 1 chunk +115 lines, -0 lines 0 comments Download
A cc/output/filter_operations_unittest.cc View 1 2 1 chunk +142 lines, -0 lines 0 comments Download
M cc/output/gl_renderer.cc View 1 4 chunks +6 lines, -6 lines 0 comments Download
M cc/output/render_surface_filters.h View 1 chunk +4 lines, -7 lines 0 comments Download
M cc/output/render_surface_filters.cc View 1 2 7 chunks +53 lines, -53 lines 0 comments Download
M cc/output/render_surface_filters_unittest.cc View 1 chunk +58 lines, -61 lines 0 comments Download
M cc/output/renderer_pixeltest.cc View 6 chunks +10 lines, -10 lines 0 comments Download
M cc/quads/draw_quad_unittest.cc View 4 chunks +11 lines, -11 lines 0 comments Download
M cc/quads/render_pass.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/quads/render_pass_draw_quad.h View 4 chunks +7 lines, -7 lines 0 comments Download
M cc/quads/render_pass_draw_quad.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M cc/quads/render_pass_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M cc/test/render_pass_test_common.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M cc/test/render_pass_test_utils.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M cc/trees/damage_tracker.h View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M cc/trees/damage_tracker.cc View 5 chunks +7 lines, -7 lines 0 comments Download
M cc/trees/damage_tracker_unittest.cc View 1 2 4 chunks +9 lines, -12 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_common.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_pixeltest_filters.cc View 1 2 3 chunks +6 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_context.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_occlusion.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M cc/trees/occlusion_tracker.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M cc/trees/occlusion_tracker_unittest.cc View 9 chunks +28 lines, -24 lines 0 comments Download
M content/common/cc_messages.h View 4 chunks +8 lines, -8 lines 0 comments Download
M content/common/cc_messages.cc View 1 2 3 chunks +67 lines, -68 lines 0 comments Download
M content/common/cc_messages_unittest.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M ui/compositor/DEPS View 1 chunk +0 lines, -2 lines 0 comments Download
M ui/compositor/layer.cc View 3 chunks +11 lines, -13 lines 0 comments Download
M webkit/renderer/compositor_bindings/compositor_bindings.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/renderer/compositor_bindings/web_compositor_support_impl.h View 2 chunks +4 lines, -0 lines 0 comments Download
M webkit/renderer/compositor_bindings/web_compositor_support_impl.cc View 3 chunks +8 lines, -0 lines 0 comments Download
A webkit/renderer/compositor_bindings/web_filter_operations_impl.h View 1 chunk +53 lines, -0 lines 0 comments Download
A webkit/renderer/compositor_bindings/web_filter_operations_impl.cc View 1 2 1 chunk +186 lines, -0 lines 0 comments Download
M webkit/renderer/compositor_bindings/web_layer_impl.cc View 1 2 2 chunks +16 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
ajuma
The Blink side of this (which makes WebFilterOperations pure virtual) is http://crrev.com/17286006. This CL is ...
7 years, 6 months ago (2013-06-18 14:56:32 UTC) #1
Stephen White
This looks good, but I'm leaving for James. Could you run layout tests trybots on ...
7 years, 6 months ago (2013-06-18 22:58:07 UTC) #2
jamesr
Very nice! Needs a bit more chromification. The conversion is slightly expensive/awkward, so we should ...
7 years, 6 months ago (2013-06-18 23:08:52 UTC) #3
ajuma
PTAL. https://codereview.chromium.org/16968002/diff/15001/cc/output/filter_operation.cc File cc/output/filter_operation.cc (right): https://codereview.chromium.org/16968002/diff/15001/cc/output/filter_operation.cc#newcode28 cc/output/filter_operation.cc:28: DCHECK(type_ != FilterTypeDropShadow && type_ != FilterTypeColorMatrix); On ...
7 years, 6 months ago (2013-06-19 17:08:30 UTC) #4
jamesr
lgtm https://codereview.chromium.org/16968002/diff/35001/cc/output/filter_operation.h File cc/output/filter_operation.h (right): https://codereview.chromium.org/16968002/diff/35001/cc/output/filter_operation.h#newcode123 cc/output/filter_operation.h:123: return FilterOperation(GRAYSCALE, 0.0); 0.f https://codereview.chromium.org/16968002/diff/35001/cc/output/filter_operations.cc File cc/output/filter_operations.cc (right): ...
7 years, 6 months ago (2013-06-19 17:15:03 UTC) #5
ajuma
+piman for ui/compositor/ and content/ OWNERS +jschuh for IPC security review https://codereview.chromium.org/16968002/diff/35001/cc/output/filter_operation.h File cc/output/filter_operation.h (right): ...
7 years, 6 months ago (2013-06-19 17:41:26 UTC) #6
piman
LGTM \o/
7 years, 6 months ago (2013-06-19 18:27:10 UTC) #7
ajuma
+palmer for IPC security review Looks like jschuh@ is away, so switching IPC review to ...
7 years, 6 months ago (2013-06-24 13:35:44 UTC) #8
palmer
IPC security LGTM
7 years, 6 months ago (2013-06-24 19:11:44 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/16968002/36049
7 years, 6 months ago (2013-06-25 16:50:20 UTC) #10
commit-bot: I haz the power
7 years, 6 months ago (2013-06-25 18:49:34 UTC) #11
Message was sent while issue was closed.
Change committed as 208531

Powered by Google App Engine
This is Rietveld 408576698