compositor_animation_observer.h revision 5f1c94371a64b3196d4be9466099bb892df9b88e
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. 4 5#ifndef UI_COMPOSITOR_COMPOSITOR_ANIMATION_OBSERVER_H_ 6#define UI_COMPOSITOR_COMPOSITOR_ANIMATION_OBSERVER_H_ 7 8#include "base/time/time.h" 9#include "ui/compositor/compositor_export.h" 10 11namespace ui { 12 13class COMPOSITOR_EXPORT CompositorAnimationObserver { 14 public: 15 virtual ~CompositorAnimationObserver() {} 16 17 virtual void OnAnimationStep(base::TimeTicks timestamp) = 0; 18}; 19 20} // namespace ui 21 22#endif // UI_COMPOSITOR_COMPOSITOR_ANIMATION_OBSERVER_H_ 23