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

Issue 8362006: Reland r107720 - Enable the new layer animation framework. (Closed)

Created:
9 years, 2 months ago by Ian Vollick
Modified:
9 years, 1 month ago
Reviewers:
vollick1, sky
CC:
chromium-reviews, dhollowa, tfarina, Paweł Hajdan Jr., jonathan.backer, sadrul
Visibility:
Public.

Description

Reland r107720 - Enable the new layer animation framework. Depends on http://codereview.chromium.org/8247009/ BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107715 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107736

Patch Set 1 #

Patch Set 2 : Merge with parent patch #

Total comments: 6

Patch Set 3 : Address reviewer comments. #

Patch Set 4 : . #

Patch Set 5 : Address reviewer comments. #

Total comments: 1

Patch Set 6 : Enable framework for aura #

Total comments: 5

Patch Set 7 : Address reviewer comments. #

Patch Set 8 : Updated view_unittest #

Patch Set 9 : Fix release build. #

Patch Set 10 : Merge with master. #

Total comments: 2

Patch Set 11 : Address reviewer comments. #

Patch Set 12 : Merge with master. #

Patch Set 13 : Merge #

Patch Set 14 : Fix win shared build. #

Patch Set 15 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+709 lines, -1393 lines) Patch
M chrome/browser/ui/touch/animation/screen_rotation.h View 1 2 3 4 5 1 chunk +0 lines, -134 lines 0 comments Download
M chrome/browser/ui/touch/animation/screen_rotation.cc View 1 2 3 4 5 1 chunk +0 lines, -213 lines 0 comments Download
D chrome/browser/ui/touch/animation/screen_rotation_setter.h View 1 chunk +0 lines, -22 lines 0 comments Download
D chrome/browser/ui/touch/animation/screen_rotation_setter.cc View 1 chunk +0 lines, -134 lines 0 comments Download
M chrome/browser/ui/touch/frame/touch_browser_frame_view.h View 1 2 3 4 5 2 chunks +1 line, -9 lines 0 comments Download
M chrome/browser/ui/touch/frame/touch_browser_frame_view.cc View 1 2 3 4 5 3 chunks +1 line, -67 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -4 lines 0 comments Download
M ui/aura/aura.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M ui/aura/desktop.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -1 line 0 comments Download
M ui/aura/desktop.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +52 lines, -25 lines 0 comments Download
A ui/aura/screen_rotation.h View 1 2 3 4 5 1 chunk +54 lines, -0 lines 0 comments Download
A ui/aura/screen_rotation.cc View 1 2 3 4 5 1 chunk +122 lines, -0 lines 0 comments Download
M ui/aura/window.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +4 lines, -5 lines 0 comments Download
M ui/aura/window.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +2 lines, -11 lines 0 comments Download
M ui/aura_shell/shell.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura_shell/workspace/workspace.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +8 lines, -3 lines 0 comments Download
M ui/aura_shell/workspace/workspace_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -2 lines 0 comments Download
M ui/gfx/compositor/compositor.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -4 lines 0 comments Download
A + ui/gfx/compositor/dummy_layer_animation_delegate.h View 1 2 3 4 5 3 chunks +15 lines, -7 lines 0 comments Download
A ui/gfx/compositor/dummy_layer_animation_delegate.cc View 1 2 3 4 5 1 chunk +55 lines, -0 lines 0 comments Download
M ui/gfx/compositor/layer.h View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +30 lines, -26 lines 0 comments Download
M ui/gfx/compositor/layer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +52 lines, -57 lines 0 comments Download
M ui/gfx/compositor/layer_animation_delegate.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/compositor/layer_animation_element.h View 1 2 3 4 5 4 chunks +14 lines, -4 lines 0 comments Download
M ui/gfx/compositor/layer_animation_element.cc View 1 2 3 4 5 7 chunks +23 lines, -2 lines 0 comments Download
M ui/gfx/compositor/layer_animation_element_unittest.cc View 1 2 3 4 6 chunks +18 lines, -6 lines 0 comments Download
D ui/gfx/compositor/layer_animation_manager.h View 1 chunk +0 lines, -129 lines 0 comments Download
D ui/gfx/compositor/layer_animation_manager.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -189 lines 0 comments Download
M ui/gfx/compositor/layer_animation_sequence.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gfx/compositor/layer_animation_sequence.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +9 lines, -1 line 0 comments Download
M ui/gfx/compositor/layer_animation_sequence_unittest.cc View 1 2 3 4 6 chunks +27 lines, -5 lines 0 comments Download
ui/gfx/compositor/layer_animator.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +40 lines, -5 lines 0 comments Download
M ui/gfx/compositor/layer_animator.cc View 1 2 3 4 5 6 7 8 9 10 13 chunks +77 lines, -17 lines 0 comments Download
D ui/gfx/compositor/layer_animator_delegate.h View 1 2 3 4 5 2 chunks +12 lines, -11 lines 0 comments Download
ui/gfx/compositor/layer_animator_unittest.cc View 16 chunks +16 lines, -16 lines 0 comments Download
M ui/gfx/compositor/layer_delegate.h View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M ui/gfx/compositor/layer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +9 lines, -4 lines 0 comments Download
D ui/gfx/compositor/test_layer_animation_delegate.h View 1 chunk +0 lines, -40 lines 0 comments Download
D ui/gfx/compositor/test_layer_animation_delegate.cc View 1 chunk +0 lines, -44 lines 0 comments Download
M views/desktop/desktop_window_view.cc View 2 chunks +12 lines, -3 lines 0 comments Download
views/layer_property_setter.h View 1 chunk +0 lines, -51 lines 0 comments Download
D views/layer_property_setter.cc View 1 chunk +0 lines, -59 lines 0 comments Download
M views/view.h View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +3 lines, -8 lines 0 comments Download
M views/view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 10 chunks +7 lines, -29 lines 0 comments Download
M views/view_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +16 lines, -39 lines 0 comments Download
M views/views.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +3 lines, -3 lines 0 comments Download
M views/widget/native_widget_views.cc View 3 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Ian Vollick
9 years, 2 months ago (2011-10-20 18:41:41 UTC) #1
sky
http://codereview.chromium.org/8362006/diff/2002/chrome/browser/ui/touch/animation/screen_rotation.cc File chrome/browser/ui/touch/animation/screen_rotation.cc (right): http://codereview.chromium.org/8362006/diff/2002/chrome/browser/ui/touch/animation/screen_rotation.cc#newcode129 chrome/browser/ui/touch/animation/screen_rotation.cc:129: const gfx::Rect bounds = delegate_->GetBoundsForAnimation(); const gfx::Rect& http://codereview.chromium.org/8362006/diff/2002/chrome/browser/ui/touch/animation/screen_rotation_animator.h File ...
9 years, 2 months ago (2011-10-20 20:30:30 UTC) #2
Ian Vollick
On 2011/10/20 20:30:30, sky wrote: > http://codereview.chromium.org/8362006/diff/2002/chrome/browser/ui/touch/animation/screen_rotation.cc > File chrome/browser/ui/touch/animation/screen_rotation.cc (right): > > http://codereview.chromium.org/8362006/diff/2002/chrome/browser/ui/touch/animation/screen_rotation.cc#newcode129 > ...
9 years, 2 months ago (2011-10-20 21:24:10 UTC) #3
sky
On Thu, Oct 20, 2011 at 2:24 PM, <vollick@chromium.org> wrote: > On 2011/10/20 20:30:30, sky ...
9 years, 2 months ago (2011-10-20 21:54:56 UTC) #4
Ian Vollick
> Go for clarity. Passing in struct with the possible values to set is > ...
9 years, 2 months ago (2011-10-20 22:16:15 UTC) #5
sky
LGTM http://codereview.chromium.org/8362006/diff/2004/ui/gfx/compositor/layer_animation_element.h File ui/gfx/compositor/layer_animation_element.h (right): http://codereview.chromium.org/8362006/diff/2004/ui/gfx/compositor/layer_animation_element.h#newcode35 ui/gfx/compositor/layer_animation_element.h:35: float opacity; initialize opacity to 0.
9 years, 2 months ago (2011-10-20 23:31:34 UTC) #6
Ian Vollick
Hi Scott, I'm sorry to make more changes to this CL, but I needed to ...
9 years, 2 months ago (2011-10-24 21:15:29 UTC) #7
sky
Oy. I've gone numb to looking at this whole patch. Can I diff between any ...
9 years, 2 months ago (2011-10-24 22:56:44 UTC) #8
sky
One question. With the current code on trunk I can start an animation for bounds, ...
9 years, 2 months ago (2011-10-25 00:26:59 UTC) #9
vollick1
On Mon, Oct 24, 2011 at 8:26 PM, <sky@chromium.org> wrote: > One question. With the ...
9 years, 2 months ago (2011-10-25 02:02:01 UTC) #10
sky
http://codereview.chromium.org/8362006/diff/8001/ui/gfx/compositor/layer.h File ui/gfx/compositor/layer.h (right): http://codereview.chromium.org/8362006/diff/8001/ui/gfx/compositor/layer.h#newcode90 ui/gfx/compositor/layer.h:90: void SetAnimator(LayerAnimator* animator); document ownership. http://codereview.chromium.org/8362006/diff/8001/ui/gfx/compositor/layer_animator.h File ui/gfx/compositor/layer_animator.h (right): ...
9 years, 2 months ago (2011-10-25 04:00:55 UTC) #11
Ian Vollick
On 2011/10/25 04:00:55, sky wrote: > http://codereview.chromium.org/8362006/diff/8001/ui/gfx/compositor/layer.h > File ui/gfx/compositor/layer.h (right): > > http://codereview.chromium.org/8362006/diff/8001/ui/gfx/compositor/layer.h#newcode90 > ...
9 years, 2 months ago (2011-10-25 19:40:31 UTC) #12
sky
LGTM
9 years, 2 months ago (2011-10-25 20:10:27 UTC) #13
Ian Vollick
Merge was a bit awkward as the old framework is still being used. The only ...
9 years, 1 month ago (2011-10-26 15:15:37 UTC) #14
sky
http://codereview.chromium.org/8362006/diff/20046/ui/aura/window.h File ui/aura/window.h (right): http://codereview.chromium.org/8362006/diff/20046/ui/aura/window.h#newcode260 ui/aura/window.h:260: class ScopedAnimationSettings : public ui::LayerAnimator::ScopedSettings { Could we make ...
9 years, 1 month ago (2011-10-26 15:39:15 UTC) #15
Ian Vollick
On 2011/10/26 15:39:15, sky wrote: > http://codereview.chromium.org/8362006/diff/20046/ui/aura/window.h > File ui/aura/window.h (right): > > http://codereview.chromium.org/8362006/diff/20046/ui/aura/window.h#newcode260 > ...
9 years, 1 month ago (2011-10-26 16:17:55 UTC) #16
sky
9 years, 1 month ago (2011-10-26 16:24:27 UTC) #17
LGTM

On Wed, Oct 26, 2011 at 9:17 AM,  <vollick@chromium.org> wrote:
> On 2011/10/26 15:39:15, sky wrote:
>>
>> http://codereview.chromium.org/8362006/diff/20046/ui/aura/window.h
>> File ui/aura/window.h (right):
>
>>
>> http://codereview.chromium.org/8362006/diff/20046/ui/aura/window.h#newcode260
>> ui/aura/window.h:260: class ScopedAnimationSettings : public
>> ui::LayerAnimator::ScopedSettings {
>> Could we make ui::LayerAnimator::ScopedSettings set the duration to 200ms
>> and
>> remove this class entirely?
>
> Done. Changed the documentation for ui::LayerAnimator::ScopedSettings to
> mention
> the new behavior.
>
>
>
http://codereview.chromium.org/8362006/diff/20046/ui/gfx/compositor/layer_ani...
>>
>> File ui/gfx/compositor/layer_animator.cc (right):
>
>
>
http://codereview.chromium.org/8362006/diff/20046/ui/gfx/compositor/layer_ani...
>>
>> ui/gfx/compositor/layer_animator.cc:213: //TRACE_EVENT0("LayerAnimator",
>> "Step");
>> Remove if not needed.
>
> Done.
>
>
>
> http://codereview.chromium.org/8362006/
>

Powered by Google App Engine
This is Rietveld 408576698