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

Side by Side Diff: cc/animation/element_animations.cc

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/animation/animation_events.h ('k') | cc/base/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/animation/element_animations.h" 5 #include "cc/animation/element_animations.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "cc/animation/animation_delegate.h" 13 #include "cc/animation/animation_delegate.h"
14 #include "cc/animation/animation_events.h" 14 #include "cc/animation/animation_events.h"
15 #include "cc/animation/animation_host.h" 15 #include "cc/animation/animation_host.h"
16 #include "cc/animation/animation_player.h" 16 #include "cc/animation/animation_player.h"
17 #include "cc/animation/keyframed_animation_curve.h" 17 #include "cc/animation/keyframed_animation_curve.h"
18 #include "cc/output/filter_operations.h" 18 #include "cc/base/filter_operations.h"
19 #include "cc/trees/mutator_host_client.h" 19 #include "cc/trees/mutator_host_client.h"
20 #include "ui/gfx/geometry/box_f.h" 20 #include "ui/gfx/geometry/box_f.h"
21 21
22 namespace cc { 22 namespace cc {
23 23
24 scoped_refptr<ElementAnimations> ElementAnimations::Create() { 24 scoped_refptr<ElementAnimations> ElementAnimations::Create() {
25 return make_scoped_refptr(new ElementAnimations()); 25 return make_scoped_refptr(new ElementAnimations());
26 } 26 }
27 27
28 ElementAnimations::ElementAnimations() 28 ElementAnimations::ElementAnimations()
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 if (animation_host()) { 488 if (animation_host()) {
489 DCHECK(animation_host()->mutator_host_client()); 489 DCHECK(animation_host()->mutator_host_client());
490 return animation_host()->mutator_host_client()->GetScrollOffsetForAnimation( 490 return animation_host()->mutator_host_client()->GetScrollOffsetForAnimation(
491 element_id()); 491 element_id());
492 } 492 }
493 493
494 return gfx::ScrollOffset(); 494 return gfx::ScrollOffset();
495 } 495 }
496 496
497 } // namespace cc 497 } // namespace cc
OLDNEW
« no previous file with comments | « cc/animation/animation_events.h ('k') | cc/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698