Roll src/third_party/skia 591a2ca:b3fe1b8
[chromium-blink-merge.git] / ui / compositor / compositor_animation_observer.h
blobbe2b5c561035c5ec5bb5faa3bdf8f36fb63b64ac
1 // Copyright 2014 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.
5 #ifndef UI_COMPOSITOR_COMPOSITOR_ANIMATION_OBSERVER_H_
6 #define UI_COMPOSITOR_COMPOSITOR_ANIMATION_OBSERVER_H_
8 #include "base/time/time.h"
9 #include "ui/compositor/compositor_export.h"
11 namespace ui {
13 class Compositor;
15 class COMPOSITOR_EXPORT CompositorAnimationObserver {
16 public:
17 virtual ~CompositorAnimationObserver() {}
19 virtual void OnAnimationStep(base::TimeTicks timestamp) = 0;
20 virtual void OnCompositingShuttingDown(Compositor* compositor) = 0;
23 } // namespace ui
25 #endif // UI_COMPOSITOR_COMPOSITOR_ANIMATION_OBSERVER_H_