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

Issue 1575011: Adds AnimationContainer, which can be used to group a set of (Closed)

Created:
10 years, 8 months ago by sky
Modified:
9 years, 7 months ago
Reviewers:
Jay Civelli
CC:
chromium-reviews
Visibility:
Public.

Description

Adds AnimationContainer, which can be used to group a set of animations to have the same timer. By default each animation has one animationcontainer, but I'm going to change the tab renderer to share the animationcontainer so that the pulse effects happen in unison. Also updated the BoundsAnimator so that I can use it by the TabStrip. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=43407

Patch Set 1 #

Patch Set 2 : Improved comments #

Patch Set 3 : Fix linux build #

Patch Set 4 : Fix windows build #

Total comments: 7

Patch Set 5 : Updated BoundsAnimator to handle deletion of delegate #

Total comments: 5

Patch Set 6 : Incorporated review feedback #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+742 lines, -184 lines) Patch
M app/animation.h View 1 2 3 4 5 5 chunks +21 lines, -13 lines 0 comments Download
M app/animation.cc View 7 chunks +57 lines, -40 lines 0 comments Download
A app/animation_container.h View 1 chunk +92 lines, -0 lines 0 comments Download
A app/animation_container.cc View 1 chunk +93 lines, -0 lines 0 comments Download
A app/animation_container_unittest.cc View 1 2 3 4 5 1 chunk +120 lines, -0 lines 0 comments Download
M app/animation_unittest.cc View 3 chunks +2 lines, -37 lines 0 comments Download
M app/app.gyp View 2 chunks +2 lines, -0 lines 0 comments Download
M app/app_base.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M app/slide_animation.h View 2 chunks +3 lines, -3 lines 0 comments Download
A app/test_animation_delegate.h View 1 2 3 4 5 1 chunk +47 lines, -0 lines 0 comments Download
M app/throb_animation.h View 2 chunks +4 lines, -3 lines 0 comments Download
M app/throb_animation.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/gtk/tabs/tab_renderer_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/views/fullscreen_exit_bubble.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/views/infobars/infobars.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/views/tabs/side_tab.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/views/tabs/tab_renderer.cc View 1 chunk +1 line, -1 line 0 comments Download
M views/animation/bounds_animator.h View 1 2 3 4 5 1 chunk +112 lines, -28 lines 1 comment Download
M views/animation/bounds_animator.cc View 1 2 3 4 5 1 chunk +179 lines, -56 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
sky
10 years, 8 months ago (2010-03-31 21:43:20 UTC) #1
sky
Redirecting to Jay as Ben is busy. -Scott
10 years, 8 months ago (2010-04-01 18:04:24 UTC) #2
Jay Civelli
http://codereview.chromium.org/1575011/diff/8001/9002 File app/animation.h (right): http://codereview.chromium.org/1575011/diff/8001/9002#newcode113 app/animation.h:113: // Sets the container used to manage the timer. ...
10 years, 8 months ago (2010-04-01 20:33:40 UTC) #3
sky
I think I got it all. New version updated. http://codereview.chromium.org/1575011/diff/8001/9005 File app/animation_container_unittest.cc (right): http://codereview.chromium.org/1575011/diff/8001/9005#newcode51 app/animation_container_unittest.cc:51: ...
10 years, 8 months ago (2010-04-01 21:24:43 UTC) #4
Jay Civelli
10 years, 8 months ago (2010-04-01 21:32:20 UTC) #5
LGTM

http://codereview.chromium.org/1575011/diff/18001/19019
File views/animation/bounds_animator.h (right):

http://codereview.chromium.org/1575011/diff/18001/19019#newcode52
views/animation/bounds_animator.h:52: // completes. If there is already an
animation running for the view its
I think this one should remain 'it's'

Powered by Google App Engine
This is Rietveld 408576698