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

Issue 12496013: Move compositor bindings implementations out of WebKit::, fix style (Closed)

Created:
7 years, 9 months ago by jamesr
Modified:
7 years, 9 months ago
Reviewers:
danakj, enne (OOO)
CC:
chromium-reviews, feature-media-reviews_chromium.org, cc-bugs_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Move compositor bindings implementations out of WebKit::, fix style This moves the implementation of compositor binding classes in webkit/compositor_bindings/ out of namespace WebKit and into namespace webkit. This is important since several of the chromium clang style plugin checks key off of the namespace to avoid WebKit API and thus weren't running on these classes. Also makes these files cpplint.py clean. R=enne@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188720

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : address feedback #

Patch Set 4 : fix mac #

Patch Set 5 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+443 lines, -401 lines) Patch
M content/renderer/browser_plugin/browser_plugin_compositing_helper.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/compositor_bindings/compositor_bindings.gyp View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/compositor_bindings/web_animation_curve_common.h View 1 1 chunk +6 lines, -6 lines 0 comments Download
M webkit/compositor_bindings/web_animation_curve_common.cc View 1 2 3 4 1 chunk +8 lines, -8 lines 0 comments Download
M webkit/compositor_bindings/web_animation_impl.h View 1 2 2 chunks +19 lines, -15 lines 0 comments Download
M webkit/compositor_bindings/web_animation_impl.cc View 1 2 3 4 4 chunks +8 lines, -6 lines 0 comments Download
M webkit/compositor_bindings/web_animation_unittest.cc View 1 3 chunks +7 lines, -3 lines 0 comments Download
M webkit/compositor_bindings/web_compositor_support_impl.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/compositor_bindings/web_compositor_support_impl.cc View 1 2 3 4 2 chunks +10 lines, -11 lines 0 comments Download
M webkit/compositor_bindings/web_content_layer_impl.h View 1 2 3 4 3 chunks +19 lines, -15 lines 0 comments Download
M webkit/compositor_bindings/web_content_layer_impl.cc View 1 2 3 4 3 chunks +7 lines, -6 lines 0 comments Download
M webkit/compositor_bindings/web_external_texture_layer_impl.h View 1 2 3 4 1 chunk +21 lines, -18 lines 0 comments Download
M webkit/compositor_bindings/web_external_texture_layer_impl.cc View 1 2 3 4 4 chunks +16 lines, -15 lines 0 comments Download
M webkit/compositor_bindings/web_float_animation_curve_impl.h View 1 2 4 chunks +15 lines, -11 lines 0 comments Download
M webkit/compositor_bindings/web_float_animation_curve_impl.cc View 1 2 3 4 3 chunks +9 lines, -6 lines 0 comments Download
M webkit/compositor_bindings/web_float_animation_curve_unittest.cc View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M webkit/compositor_bindings/web_image_layer_impl.h View 1 2 1 chunk +10 lines, -7 lines 0 comments Download
M webkit/compositor_bindings/web_image_layer_impl.cc View 1 2 3 4 2 chunks +7 lines, -5 lines 0 comments Download
M webkit/compositor_bindings/web_layer_impl.h View 1 2 3 chunks +59 lines, -49 lines 0 comments Download
M webkit/compositor_bindings/web_layer_impl.cc View 1 2 3 4 6 chunks +19 lines, -10 lines 0 comments Download
M webkit/compositor_bindings/web_layer_impl_fixed_bounds.h View 1 2 2 chunks +17 lines, -14 lines 0 comments Download
M webkit/compositor_bindings/web_layer_impl_fixed_bounds.cc View 1 2 3 4 5 chunks +8 lines, -9 lines 0 comments Download
M webkit/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc View 1 2 3 4 3 chunks +9 lines, -1 line 0 comments Download
M webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.h View 1 2 3 4 4 chunks +19 lines, -16 lines 0 comments Download
M webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.cc View 1 2 3 4 4 chunks +12 lines, -4 lines 0 comments Download
M webkit/compositor_bindings/web_nine_patch_layer_impl.h View 1 2 1 chunk +0 lines, -31 lines 0 comments Download
D webkit/compositor_bindings/web_nine_patch_layer_impl.cc View 1 2 3 4 1 chunk +0 lines, -31 lines 0 comments Download
M webkit/compositor_bindings/web_rendering_stats_impl.h View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M webkit/compositor_bindings/web_scrollbar_layer_impl.h View 1 2 1 chunk +18 lines, -13 lines 0 comments Download
M webkit/compositor_bindings/web_scrollbar_layer_impl.cc View 1 2 3 4 2 chunks +8 lines, -7 lines 0 comments Download
M webkit/compositor_bindings/web_solid_color_layer_impl.h View 1 2 1 chunk +11 lines, -9 lines 0 comments Download
M webkit/compositor_bindings/web_solid_color_layer_impl.cc View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M webkit/compositor_bindings/web_to_ccinput_handler_adapter.h View 1 2 3 4 3 chunks +6 lines, -4 lines 0 comments Download
M webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M webkit/compositor_bindings/web_to_ccscrollbar_theme_painter_adapter.h View 1 2 3 4 2 chunks +9 lines, -8 lines 0 comments Download
M webkit/compositor_bindings/web_to_ccscrollbar_theme_painter_adapter.cc View 2 chunks +9 lines, -2 lines 0 comments Download
M webkit/compositor_bindings/web_to_ccvideo_frame_provider.h View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M webkit/compositor_bindings/web_to_ccvideo_frame_provider.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/compositor_bindings/web_transform_animation_curve_impl.h View 1 2 2 chunks +17 lines, -13 lines 0 comments Download
M webkit/compositor_bindings/web_transform_animation_curve_impl.cc View 1 2 3 4 3 chunks +7 lines, -5 lines 0 comments Download
M webkit/compositor_bindings/web_transform_operations_impl.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/compositor_bindings/web_video_layer_impl.h View 1 2 1 chunk +13 lines, -11 lines 0 comments Download
M webkit/compositor_bindings/web_video_layer_impl.cc View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M webkit/plugins/npapi/webplugin_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webkit/support/test_webkit_platform_support.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webkit/support/webkit_support.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jamesr
turns out it's relative easy to hack move_source_files.py to fix up include guards automatically
7 years, 9 months ago (2013-03-18 05:12:20 UTC) #1
enne (OOO)
lgtm, with some style comments Also, DISALLOW_COPY_AND_ASSIGN where needed if you'd like. I think we'll ...
7 years, 9 months ago (2013-03-18 06:14:03 UTC) #2
jamesr
https://codereview.chromium.org/12496013/diff/2016/webkit/compositor_bindings/web_animation_impl.h File webkit/compositor_bindings/web_animation_impl.h (right): https://codereview.chromium.org/12496013/diff/2016/webkit/compositor_bindings/web_animation_impl.h#newcode39 webkit/compositor_bindings/web_animation_impl.h:39: scoped_ptr<cc::Animation> cloneToAnimation(); On 2013/03/18 06:14:03, enne wrote: > CloneToAnimation ...
7 years, 9 months ago (2013-03-18 06:36:16 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/12496013/6002
7 years, 9 months ago (2013-03-18 06:37:35 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/12496013/8002
7 years, 9 months ago (2013-03-18 07:12:46 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/12496013/22001
7 years, 9 months ago (2013-03-18 09:46:24 UTC) #6
Tom Hudson
> WebNinePatchLayerImpl doesn't appear to be used anywhere, so I just deleted this > file ...
7 years, 9 months ago (2013-03-18 10:37:15 UTC) #7
commit-bot: I haz the power
Change committed as 188720
7 years, 9 months ago (2013-03-18 12:16:36 UTC) #8
danakj
On Mon, Mar 18, 2013 at 6:37 AM, <tomhudson@chromium.org> wrote: > > WebNinePatchLayerImpl doesn't appear ...
7 years, 9 months ago (2013-03-18 15:47:44 UTC) #9
aelias_OOO_until_Jul13
7 years, 9 months ago (2013-03-18 16:36:39 UTC) #10
Message was sent while issue was closed.
Dana is correct.  At the time NinePatchLayer was landed, there wasn't a way to
access the CC interface directly even from Chromium, but this changed soon
afterward.

Powered by Google App Engine
This is Rietveld 408576698