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

Issue 185633002: Adding monotonic only API to Blink's animation delegate interface (Closed)

Created:
6 years, 9 months ago by mithro-old
Modified:
6 years, 9 months ago
Reviewers:
jamesr, ajuma, dstockwell
CC:
blink-reviews, Mike Lawther (Google), dstockwell
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

First step to remove wallClockTime from animation interface. We are currently removing trying to remove all references to base::Time (wall clock time) from Chrome/Blink compositor/graphics stack. This requires multiple two-sided patches. Following the process found at https://groups.google.com/a/chromium.org/d/msg/chromium-dev/ukaRczAK6t8/0ludyZ1Nu4cJ The steps are; * (This Patch) -- Adding monotonic only API to Blink's animation delegate interface https://codereview.chromium.org/185633002 * Making the delegate adapter use monotonic only API https://codereview.chromium.org/185643002 * Remove the wallClockTime API from Blink/WebKit. https://codereview.chromium.org/185393005 BUG=299945 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168560

Patch Set 1 #

Patch Set 2 : Rebase onto HEAD. #

Total comments: 5

Patch Set 3 : Adding BLINK_PLATFORM_EXPORT to fix windows. #

Patch Set 4 : Fixing ajuma's comments. #

Patch Set 5 : Also adding export to class. #

Patch Set 6 : Windows :( #

Total comments: 4

Patch Set 7 : Fixing for jamesr's review. #

Patch Set 8 : Removing BLINK_PLATFORM_EXPORT. #

Patch Set 9 : Adding BLINK_PLATFORM_EXPORT back in. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -23 lines) Patch
M Source/core/rendering/compositing/CompositedLayerMapping.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/compositing/CompositedLayerMapping.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/compositing/RenderLayerCompositor.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/GraphicsLayer.h View 2 1 chunk +2 lines, -2 lines 0 comments Download
M Source/platform/graphics/GraphicsLayer.cpp View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M Source/platform/graphics/GraphicsLayerClient.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/LinkHighlight.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/web/LinkHighlight.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/web/PageOverlay.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/web/PinchViewports.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/PinchViewports.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/web/tests/GraphicsLayerTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/web/tests/ImageLayerChromiumTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M public/platform/WebAnimationDelegate.h View 1 2 3 4 5 6 8 1 chunk +14 lines, -5 lines 0 comments Download

Messages

Total messages: 35 (0 generated)
mithro-old
6 years, 9 months ago (2014-03-03 03:52:00 UTC) #1
ajuma
Thanks for working on this! Note that the Windows build breaks if this CL goes ...
6 years, 9 months ago (2014-03-03 15:25:21 UTC) #2
ajuma
https://codereview.chromium.org/185633002/diff/20001/public/platform/WebAnimationDelegate.h File public/platform/WebAnimationDelegate.h (right): https://codereview.chromium.org/185633002/diff/20001/public/platform/WebAnimationDelegate.h#newcode46 public/platform/WebAnimationDelegate.h:46: virtual void notifyAnimationStarted(double monotonicTime, WebAnimation::TargetProperty) = 0; On 2014/03/03 ...
6 years, 9 months ago (2014-03-03 15:30:26 UTC) #3
mithro-old
https://codereview.chromium.org/185633002/diff/20001/public/platform/WebAnimationDelegate.h File public/platform/WebAnimationDelegate.h (right): https://codereview.chromium.org/185633002/diff/20001/public/platform/WebAnimationDelegate.h#newcode36 public/platform/WebAnimationDelegate.h:36: // TODO: Removed wallClockTime after the following file is ...
6 years, 9 months ago (2014-03-04 01:39:18 UTC) #4
mithro-old
Looks like the windows build is fixed now. PTAL.
6 years, 9 months ago (2014-03-04 05:26:02 UTC) #5
ajuma
lgtm
6 years, 9 months ago (2014-03-04 14:07:17 UTC) #6
mithro-old
The CQ bit was checked by mithro@mithis.com
6 years, 9 months ago (2014-03-04 14:11:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mithro@mithis.com/185633002/100001
6 years, 9 months ago (2014-03-04 14:11:29 UTC) #8
ajuma
The CQ bit was unchecked by ajuma@chromium.org
6 years, 9 months ago (2014-03-04 14:13:31 UTC) #9
ajuma
You still need an OWNERS review.
6 years, 9 months ago (2014-03-04 14:13:59 UTC) #10
mithro-old
Yeah. Just wanted to run all the try bots. Tim On 5 Mar 2014 01:14, ...
6 years, 9 months ago (2014-03-04 14:15:15 UTC) #11
danakj
On 2014/03/04 14:15:15, mithro wrote: > Yeah. Just wanted to run all the try bots. ...
6 years, 9 months ago (2014-03-04 15:33:23 UTC) #12
jamesr
https://codereview.chromium.org/185633002/diff/100001/public/platform/WebAnimationDelegate.h File public/platform/WebAnimationDelegate.h (right): https://codereview.chromium.org/185633002/diff/100001/public/platform/WebAnimationDelegate.h#newcode35 public/platform/WebAnimationDelegate.h:35: class BLINK_PLATFORM_EXPORT WebAnimationDelegate { why does this class need ...
6 years, 9 months ago (2014-03-04 21:38:37 UTC) #13
mithro-old
Hi James, Thank you for your review! Can you please take a look at look ...
6 years, 9 months ago (2014-03-04 23:54:23 UTC) #14
mithro-old
On 2014/03/04 15:33:23, danakj wrote: > On 2014/03/04 14:15:15, mithro wrote: > > Yeah. Just ...
6 years, 9 months ago (2014-03-04 23:57:59 UTC) #15
jamesr
On 2014/03/04 23:54:23, mithro wrote: > Hi James, > > Thank you for your review! ...
6 years, 9 months ago (2014-03-04 23:58:50 UTC) #16
jamesr
On 2014/03/04 23:57:59, mithro wrote: > On 2014/03/04 15:33:23, danakj wrote: > > On 2014/03/04 ...
6 years, 9 months ago (2014-03-05 00:00:34 UTC) #17
jamesr
On 2014/03/05 00:00:34, jamesr wrote: > No - it's actually quite rude and dangerous Well, ...
6 years, 9 months ago (2014-03-05 00:04:23 UTC) #18
mithro-old
> Ah yes, warning 4275. You don't really need this to be exported, visual studio ...
6 years, 9 months ago (2014-03-05 00:27:13 UTC) #19
jamesr
On 2014/03/05 00:27:13, mithro wrote: > > Ah yes, warning 4275. You don't really need ...
6 years, 9 months ago (2014-03-05 00:33:13 UTC) #20
mithro-old
> No - it's actually quite rude and dangerous as someone else who is reviewing ...
6 years, 9 months ago (2014-03-05 01:04:25 UTC) #21
jamesr
On 2014/03/05 01:04:25, mithro wrote: > > If you want to run the patch on ...
6 years, 9 months ago (2014-03-05 01:07:07 UTC) #22
jamesr
latest patch lgtm once you remove the EXPORT and add the #include to whatever needs ...
6 years, 9 months ago (2014-03-05 01:07:52 UTC) #23
mithro-old
Thanks for all your help so far! On 2014/03/05 00:33:13, jamesr wrote: > On 2014/03/05 ...
6 years, 9 months ago (2014-03-05 01:24:42 UTC) #24
jamesr
On 2014/03/05 01:24:42, mithro wrote: > Thanks for all your help so far! > > ...
6 years, 9 months ago (2014-03-05 01:27:12 UTC) #25
mithro-old
> Can you give me a link to the tryjob showing this error and the ...
6 years, 9 months ago (2014-03-05 01:30:59 UTC) #26
mithro-old
On 2014/03/05 01:30:59, mithro wrote: > > Can you give me a link to the ...
6 years, 9 months ago (2014-03-05 05:00:29 UTC) #27
jamesr
I've no idea, the #pragma is supposed to prevent that from being an error. My ...
6 years, 9 months ago (2014-03-05 05:03:41 UTC) #28
mithro-old
On 2014/03/05 05:03:41, jamesr wrote: > I've no idea, the #pragma is supposed to prevent ...
6 years, 9 months ago (2014-03-05 05:34:59 UTC) #29
jamesr
The pragma issue will not go away when the interface becomes pure virtual again nor ...
6 years, 9 months ago (2014-03-05 06:03:40 UTC) #30
mithro-old
The CQ bit was checked by mithro@mithis.com
6 years, 9 months ago (2014-03-05 06:13:48 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mithro@mithis.com/185633002/200001
6 years, 9 months ago (2014-03-05 06:14:56 UTC) #32
mithro-old
On 2014/03/05 06:03:40, jamesr wrote: > The pragma issue will not go away when the ...
6 years, 9 months ago (2014-03-05 06:21:39 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mithro@mithis.com/185633002/200001
6 years, 9 months ago (2014-03-05 20:56:52 UTC) #34
commit-bot: I haz the power
6 years, 9 months ago (2014-03-06 03:50:14 UTC) #35
Message was sent while issue was closed.
Change committed as 168560

Powered by Google App Engine
This is Rietveld 408576698