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

Side by Side Diff: ui/compositor/layer_animation_sequence.cc

Issue 10365007: ui: Move compositor/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix DEPS Created 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "ui/gfx/compositor/layer_animation_sequence.h" 5 #include "ui/compositor/layer_animation_sequence.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 9
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
11 #include "ui/gfx/compositor/layer_animation_delegate.h" 11 #include "ui/compositor/layer_animation_delegate.h"
12 #include "ui/gfx/compositor/layer_animation_element.h" 12 #include "ui/compositor/layer_animation_element.h"
13 #include "ui/gfx/compositor/layer_animation_observer.h" 13 #include "ui/compositor/layer_animation_observer.h"
14 14
15 namespace ui { 15 namespace ui {
16 16
17 LayerAnimationSequence::LayerAnimationSequence() 17 LayerAnimationSequence::LayerAnimationSequence()
18 : is_cyclic_(false), 18 : is_cyclic_(false),
19 last_element_(0) { 19 last_element_(0) {
20 } 20 }
21 21
22 LayerAnimationSequence::LayerAnimationSequence(LayerAnimationElement* element) 22 LayerAnimationSequence::LayerAnimationSequence(LayerAnimationElement* element)
23 : is_cyclic_(false), 23 : is_cyclic_(false),
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 OnLayerAnimationEnded(this)); 159 OnLayerAnimationEnded(this));
160 } 160 }
161 161
162 void LayerAnimationSequence::NotifyAborted() { 162 void LayerAnimationSequence::NotifyAborted() {
163 FOR_EACH_OBSERVER(LayerAnimationObserver, 163 FOR_EACH_OBSERVER(LayerAnimationObserver,
164 observers_, 164 observers_,
165 OnLayerAnimationAborted(this)); 165 OnLayerAnimationAborted(this));
166 } 166 }
167 167
168 } // namespace ui 168 } // namespace ui
OLDNEW
« no previous file with comments | « ui/compositor/layer_animation_sequence.h ('k') | ui/compositor/layer_animation_sequence_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698