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

Issue 11644004: Only create instances of WebTransformOperations using cc::TransformOperations::Create (Closed)

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

Description

Only create instances of WebTransformOperations using cc::TransformOperations::Create This is a precursor to making WebTransformOperations pure virtual and moving the implementation into chromium. BUG=166640

Patch Set 1 #

Patch Set 2 : Rebase, and fix WebTransformAnimationCurveImpl #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+416 lines, -269 lines) Patch
M cc/cc.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cc/keyframed_animation_curve.h View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/keyframed_animation_curve.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M cc/keyframed_animation_curve_unittest.cc View 1 5 chunks +42 lines, -31 lines 0 comments Download
M cc/test/animation_test_common.cc View 1 2 chunks +9 lines, -6 lines 0 comments Download
A cc/transform_operations.h View 1 chunk +25 lines, -0 lines 0 comments Download
A cc/transform_operations.cc View 1 chunk +29 lines, -0 lines 2 comments Download
M webkit/compositor_bindings/web_transform_animation_curve_impl.cc View 1 1 chunk +8 lines, -0 lines 1 comment Download
M webkit/compositor_bindings/web_transform_animation_curve_unittest.cc View 14 chunks +117 lines, -87 lines 0 comments Download
M webkit/compositor_bindings/web_transform_operations_unittest.cc View 28 chunks +180 lines, -142 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
ajuma
8 years ago (2012-12-18 21:23:36 UTC) #1
ajuma
Rebased, and added a couple changes to WebTransformAnimationCurveImpl that are also needed. https://codereview.chromium.org/11644004/diff/1011/webkit/compositor_bindings/web_transform_animation_curve_impl.cc File webkit/compositor_bindings/web_transform_animation_curve_impl.cc ...
8 years ago (2012-12-20 16:48:11 UTC) #2
Ian Vollick
lgtm +enne for OWNERS
8 years ago (2012-12-20 16:56:41 UTC) #3
enne (OOO)
CCing GTFO expert jamesr. I think this is definitely a positive move forward, in that ...
8 years ago (2012-12-20 19:10:18 UTC) #4
Ian Vollick
On 2012/12/20 19:10:18, enne wrote: > CCing GTFO expert jamesr. > > I think this ...
8 years ago (2012-12-20 19:21:36 UTC) #5
jamesr
Seems like a reasonable plan. https://codereview.chromium.org/11644004/diff/1011/cc/transform_operations.cc File cc/transform_operations.cc (right): https://codereview.chromium.org/11644004/diff/1011/cc/transform_operations.cc#newcode6 cc/transform_operations.cc:6: #include <public/WebTransformOperations.h> "third_party/WebKit/.....", please ...
8 years ago (2012-12-20 19:52:25 UTC) #6
ajuma
On 2012/12/20 19:52:25, jamesr wrote: https://codereview.chromium.org/11644004/diff/1011/cc/transform_operations.cc#newcode12 > cc/transform_operations.cc:12: #ifdef WEBKIT_WEB_TRANSFORM_OPERATIONS_USE_CREATE > no more ::create()s, please! ...
8 years ago (2012-12-20 20:40:59 UTC) #7
jamesr
On 2012/12/20 20:40:59, ajuma wrote: > On 2012/12/20 19:52:25, jamesr wrote: > > https://codereview.chromium.org/11644004/diff/1011/cc/transform_operations.cc#newcode12 > ...
8 years ago (2012-12-20 20:47:07 UTC) #8
Ian Vollick
On 2012/12/20 20:47:07, jamesr wrote: > On 2012/12/20 20:40:59, ajuma wrote: > > On 2012/12/20 ...
8 years ago (2012-12-20 20:54:14 UTC) #9
jamesr
8 years ago (2012-12-20 22:01:00 UTC) #10
On 2012/12/20 20:54:14, vollick wrote:
> I may not have described it properly, but the plan was really #2 as you
describe
> it here. Step 3 of the plan was to create the factory function (and then
> TransformOperations could use it), and step 4 was to get WK to use the factory
> function, too.

Very important that the factory not be WebKit::XXX::create(), or you won't be
able to get it to link at all in the middle.

Personally I don't see what the advantage of (2) is over (1).

Powered by Google App Engine
This is Rietveld 408576698