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

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

Issue 15462003: Update references to Blink's Platform API headers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/DEPS ('k') | cc/animation/layer_animation_controller_unittest.cc » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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/layer_animation_controller.h" 5 #include "cc/animation/layer_animation_controller.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "cc/animation/animation.h" 9 #include "cc/animation/animation.h"
10 #include "cc/animation/animation_registrar.h" 10 #include "cc/animation/animation_registrar.h"
11 #include "cc/animation/keyframed_animation_curve.h" 11 #include "cc/animation/keyframed_animation_curve.h"
12 #include "cc/animation/layer_animation_value_observer.h" 12 #include "cc/animation/layer_animation_value_observer.h"
13 #include "cc/base/scoped_ptr_algorithm.h" 13 #include "cc/base/scoped_ptr_algorithm.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebAnimationDelegat e.h" 14 #include "third_party/WebKit/public/platform/WebAnimationDelegate.h"
15 #include "ui/gfx/transform.h" 15 #include "ui/gfx/transform.h"
16 16
17 namespace cc { 17 namespace cc {
18 18
19 LayerAnimationController::LayerAnimationController(int id) 19 LayerAnimationController::LayerAnimationController(int id)
20 : force_sync_(false), 20 : force_sync_(false),
21 registrar_(0), 21 registrar_(0),
22 id_(id), 22 id_(id),
23 is_active_(false), 23 is_active_(false),
24 last_tick_time_(0), 24 last_tick_time_(0),
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 value_observers_); 722 value_observers_);
723 LayerAnimationValueObserver* obs; 723 LayerAnimationValueObserver* obs;
724 while ((obs = it.GetNext()) != NULL) 724 while ((obs = it.GetNext()) != NULL)
725 if (obs->IsActive()) 725 if (obs->IsActive())
726 return true; 726 return true;
727 } 727 }
728 return false; 728 return false;
729 } 729 }
730 730
731 } // namespace cc 731 } // namespace cc
OLDNEW
« no previous file with comments | « cc/DEPS ('k') | cc/animation/layer_animation_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698