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

Issue 7972023: Implicit animations through Layer. (Closed)

Created:
9 years, 3 months ago by sky
Modified:
9 years, 2 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Adds the ability to set an Animation on Layer so that future changes to the layer result in animating the property. See code in desktop_window_view.cc and window.cc for usage. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103282

Patch Set 1 #

Patch Set 2 : Comments #

Patch Set 3 : Merge to trunk #

Patch Set 4 : Tweaks #

Patch Set 5 : SetAnimator #

Total comments: 1

Patch Set 6 : Removes second param from SetBounds #

Patch Set 7 : git add layer_animator_delegate.h #

Total comments: 3

Patch Set 8 : Cancel on change after running #

Patch Set 9 : Tweaks #

Patch Set 10 : More tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+510 lines, -265 lines) Patch
M ui/aura/demo/demo_main.cc View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M ui/aura/desktop.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M ui/aura/toplevel_window_event_filter.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/window.h View 1 2 3 4 5 4 chunks +7 lines, -5 lines 0 comments Download
M ui/aura/window.cc View 1 2 3 4 5 6 3 chunks +21 lines, -8 lines 0 comments Download
M ui/aura/window_unittest.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M ui/aura_shell/desktop_layout_manager.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ui/aura_shell/examples/window_type_launcher.h View 1 2 3 4 3 chunks +15 lines, -0 lines 0 comments Download
M ui/aura_shell/examples/window_type_launcher.cc View 1 2 3 4 5 6 chunks +119 lines, -3 lines 0 comments Download
M ui/gfx/compositor/compositor.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/compositor/layer.h View 1 2 3 4 5 6 7 8 7 chunks +40 lines, -4 lines 0 comments Download
M ui/gfx/compositor/layer.cc View 1 2 3 4 5 6 7 8 4 chunks +105 lines, -29 lines 0 comments Download
M ui/gfx/compositor/layer_animator.h View 1 2 3 4 5 6 7 8 9 3 chunks +49 lines, -38 lines 0 comments Download
M ui/gfx/compositor/layer_animator.cc View 1 2 3 4 5 6 7 4 chunks +106 lines, -109 lines 0 comments Download
A ui/gfx/compositor/layer_animator_delegate.h View 1 2 3 4 5 6 1 chunk +32 lines, -0 lines 0 comments Download
M views/aura_desktop/aura_desktop_main.cc View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M views/desktop/desktop_window_view.cc View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M views/layer_property_setter.h View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M views/layer_property_setter.cc View 1 2 3 4 3 chunks +0 lines, -48 lines 0 comments Download
M views/widget/native_widget_aura.cc View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
sky
9 years, 2 months ago (2011-09-27 22:32:44 UTC) #1
Ben Goodger (Google)
lgtm http://codereview.chromium.org/7972023/diff/6001/ui/aura/window.h File ui/aura/window.h (right): http://codereview.chromium.org/7972023/diff/6001/ui/aura/window.h#newcode81 ui/aura/window.h:81: void SetBounds(const gfx::Rect& new_bounds, int anim_ms); Make a ...
9 years, 2 months ago (2011-09-27 22:38:04 UTC) #2
commit-bot: I haz the power
CQ is trying tha patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/7972023/6001
9 years, 2 months ago (2011-09-27 22:38:17 UTC) #3
commit-bot: I haz the power
Can't apply patch for file ui/gfx/compositor/layer_animator.cc. While running patch -p1 --forward --force; patching file ui/gfx/compositor/layer_animator.cc ...
9 years, 2 months ago (2011-09-27 22:38:20 UTC) #4
Ben Goodger (Google)
DOH I clicked the wrong pixel.
9 years, 2 months ago (2011-09-27 22:38:30 UTC) #5
Ben Goodger (Google)
To be clear, the lgtm was unintentional. -Ben On Tue, Sep 27, 2011 at 3:38 ...
9 years, 2 months ago (2011-09-27 22:41:28 UTC) #6
sky
Updated.
9 years, 2 months ago (2011-09-27 23:30:24 UTC) #7
Ian Vollick
Hi Scott, Please correct me if I'm wrong, but if I understand correctly, if you ...
9 years, 2 months ago (2011-09-28 15:24:31 UTC) #8
sky
On Wed, Sep 28, 2011 at 8:24 AM, <vollick@chromium.org> wrote: > Hi Scott, > > ...
9 years, 2 months ago (2011-09-28 16:01:59 UTC) #9
Ian Vollick
On 2011/09/28 16:01:59, sky wrote: > On Wed, Sep 28, 2011 at 8:24 AM, <mailto:vollick@chromium.org> ...
9 years, 2 months ago (2011-09-28 17:18:08 UTC) #10
Ben Goodger (Google)
See my comment in the other email I sent to you directly. I was thinking ...
9 years, 2 months ago (2011-09-28 17:41:10 UTC) #11
vollick1
Cool, SGTM. On Wed, Sep 28, 2011 at 1:41 PM, Ben Goodger (Google) <ben@chromium.org>wrote: > ...
9 years, 2 months ago (2011-09-28 17:59:17 UTC) #12
sky
Updated to cancel animations if the animation has ticked once and SetBounds invoked. I need ...
9 years, 2 months ago (2011-09-28 18:21:38 UTC) #13
Ben Goodger (Google)
LGTM as an incremental step.
9 years, 2 months ago (2011-09-28 19:13:33 UTC) #14
Ian Vollick
9 years, 2 months ago (2011-09-29 14:56:51 UTC) #15
On 2011/09/28 19:13:33, Ben Goodger (Google) wrote:
> LGTM as an incremental step.

This also LGTM as an incremental step.

Powered by Google App Engine
This is Rietveld 408576698