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

Issue 11876016: Define cc::TransformOperations and webkit::WebTransformOperationsImpl (Closed)

Created:
7 years, 11 months ago by ajuma
Modified:
7 years, 11 months ago
Reviewers:
Ian Vollick, jamesr
CC:
chromium-reviews, cc-bugs_chromium.org, darin-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Define cc::TransformOperations and webkit::WebTransformOperationsImpl This ports the implementation of WebTransformOperations into cc::TransformOperations, Also, behind #if WEB_TRANSFORM_OPERATIONS_IS_VIRTUAL, this makes cc use TransformOperations instead of WebTransformOperations; defines a new class WebTransformOperationsImpl that implements WebTransformOperations using an instance of cc::TransformOperations; defines WebCompositorSupportImpl::createTransformOperations; and makes compositor_bindings use WebTransformOperationsImpl instead of WebTransformOperations (extracting the underlying cc::TransformOperations before calling into cc). This is step 1 of the 3-step plan outlined at https://chromiumcodereview.appspot.com/11745018 for moving the implementation of WebTransformOperations into chromium. BUG=166640 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177290

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fix nits #

Total comments: 4

Patch Set 3 : Address review comments #

Patch Set 4 : Rebased #

Patch Set 5 : Fix windows build #

Patch Set 6 : Put TransformOperation into its own header #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1477 lines, -29 lines) Patch
M cc/cc.gyp View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M cc/cc_tests.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M cc/keyframed_animation_curve.h View 3 chunks +18 lines, -0 lines 0 comments Download
M cc/keyframed_animation_curve.cc View 4 chunks +33 lines, -0 lines 0 comments Download
M cc/keyframed_animation_curve_unittest.cc View 6 chunks +33 lines, -0 lines 0 comments Download
M cc/test/animation_test_common.cc View 3 chunks +12 lines, -0 lines 0 comments Download
A cc/transform_operation.h View 1 2 3 4 5 1 chunk +63 lines, -0 lines 0 comments Download
A cc/transform_operation.cc View 1 2 3 4 5 1 chunk +179 lines, -0 lines 0 comments Download
A cc/transform_operations.h View 1 2 3 4 5 1 chunk +72 lines, -0 lines 0 comments Download
A cc/transform_operations.cc View 1 2 3 4 5 1 chunk +157 lines, -0 lines 0 comments Download
A cc/transform_operations_unittest.cc View 1 2 1 chunk +603 lines, -0 lines 0 comments Download
M webkit/compositor_bindings/compositor_bindings.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/compositor_bindings/web_compositor_support_impl.h View 2 chunks +5 lines, -0 lines 0 comments Download
M webkit/compositor_bindings/web_compositor_support_impl.cc View 1 4 chunks +9 lines, -0 lines 0 comments Download
M webkit/compositor_bindings/web_transform_animation_curve_impl.cc View 1 2 chunks +14 lines, -0 lines 0 comments Download
M webkit/compositor_bindings/web_transform_animation_curve_unittest.cc View 1 13 chunks +160 lines, -29 lines 0 comments Download
A webkit/compositor_bindings/web_transform_operations_impl.h View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
A webkit/compositor_bindings/web_transform_operations_impl.cc View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
M webkit/compositor_bindings/web_transform_operations_unittest.cc View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
ajuma
7 years, 11 months ago (2013-01-14 15:16:54 UTC) #1
jamesr
Looking pretty good, but I don't fully understand what's going on with cc::TransformOperations. If there ...
7 years, 11 months ago (2013-01-15 06:23:00 UTC) #2
ajuma
On 2013/01/15 06:23:00, jamesr wrote: > Looking pretty good, but I don't fully understand what's ...
7 years, 11 months ago (2013-01-15 19:23:53 UTC) #3
ajuma
Addressed nits. https://chromiumcodereview.appspot.com/11876016/diff/1/cc/transform_operations.h File cc/transform_operations.h (right): https://chromiumcodereview.appspot.com/11876016/diff/1/cc/transform_operations.h#newcode29 cc/transform_operations.h:29: virtual ~TransformOperations(); On 2013/01/15 06:23:01, jamesr wrote: ...
7 years, 11 months ago (2013-01-15 19:24:29 UTC) #4
jamesr
lgtm! https://chromiumcodereview.appspot.com/11876016/diff/7001/cc/transform_operations_unittest.cc File cc/transform_operations_unittest.cc (right): https://chromiumcodereview.appspot.com/11876016/diff/7001/cc/transform_operations_unittest.cc#newcode1 cc/transform_operations_unittest.cc:1: // Copyright 2012 The Chromium Authors. All rights ...
7 years, 11 months ago (2013-01-16 00:58:49 UTC) #5
ajuma
https://chromiumcodereview.appspot.com/11876016/diff/7001/cc/transform_operations_unittest.cc File cc/transform_operations_unittest.cc (right): https://chromiumcodereview.appspot.com/11876016/diff/7001/cc/transform_operations_unittest.cc#newcode1 cc/transform_operations_unittest.cc:1: // Copyright 2012 The Chromium Authors. All rights reserved. ...
7 years, 11 months ago (2013-01-16 15:36:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/11876016/24001
7 years, 11 months ago (2013-01-16 15:40:44 UTC) #7
commit-bot: I haz the power
Failed to apply patch for cc/cc_tests.gyp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 11 months ago (2013-01-16 15:40:52 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/11876016/21002
7 years, 11 months ago (2013-01-16 15:56:44 UTC) #9
ajuma
On 2013/01/15 06:23:00, jamesr wrote: > https://chromiumcodereview.appspot.com/11876016/diff/1/cc/transform_operations.h#newcode69 > cc/transform_operations.h:69: scoped_ptr<TransformOperationsPrivate> private_; > why the Private ...
7 years, 11 months ago (2013-01-16 20:52:52 UTC) #10
jamesr
On 2013/01/16 20:52:52, ajuma wrote: > On 2013/01/15 06:23:00, jamesr wrote: > > > https://chromiumcodereview.appspot.com/11876016/diff/1/cc/transform_operations.h#newcode69 ...
7 years, 11 months ago (2013-01-16 21:05:02 UTC) #11
jamesr
On 2013/01/16 21:05:02, jamesr wrote: > On 2013/01/16 20:52:52, ajuma wrote: > > On 2013/01/15 ...
7 years, 11 months ago (2013-01-16 21:05:48 UTC) #12
ajuma
On 2013/01/16 21:05:48, jamesr wrote: > On 2013/01/16 21:05:02, jamesr wrote: > > Or just ...
7 years, 11 months ago (2013-01-16 21:34:09 UTC) #13
jamesr
lgtm
7 years, 11 months ago (2013-01-16 21:38:02 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/11876016/34001
7 years, 11 months ago (2013-01-16 21:42:08 UTC) #15
commit-bot: I haz the power
7 years, 11 months ago (2013-01-17 00:40:29 UTC) #16
Message was sent while issue was closed.
Change committed as 177290

Powered by Google App Engine
This is Rietveld 408576698