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

Side by Side Diff: ui/compositor/layer_animation_timer.h

Issue 11316135: NOT READY FOR REVIEW - Add support for custom animation timers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | « ui/compositor/compositor.gyp ('k') | ui/compositor/layer_animator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_COMPOSITOR_LAYER_ANIMATION_TIMER_H_
6 #define UI_COMPOSITOR_LAYER_ANIMATION_TIMER_H_
7
8 #include "ui/base/animation/animation_container.h"
9 #include "ui/compositor/compositor_export.h"
10
11 namespace ui {
12
13 class COMPOSITOR_EXPORT LayerAnimationTimer {
14 public:
15 virtual ~LayerAnimationTimer() {
16 }
17
18 virtual void Start(AnimationContainerElement*) = 0;
19 virtual void Stop(AnimationContainerElement*) = 0;
20 virtual base::TimeTicks last_tick_time() const = 0;
21 virtual bool is_running() const = 0;
22 };
23
24 } // namespace ui
25
26 #endif // UI_COMPOSITOR_LAYER_ANIMATION_TIMER_H_
OLDNEW
« no previous file with comments | « ui/compositor/compositor.gyp ('k') | ui/compositor/layer_animator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698