compositor_animation_observer.h revision 5f1c94371a64b3196d4be9466099bb892df9b88e
15f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// Copyright 2014 The Chromium Authors. All rights reserved. 25f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be 35f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)// found in the LICENSE file. 45f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) 55f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#ifndef UI_COMPOSITOR_COMPOSITOR_ANIMATION_OBSERVER_H_ 65f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#define UI_COMPOSITOR_COMPOSITOR_ANIMATION_OBSERVER_H_ 75f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) 85f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#include "base/time/time.h" 95f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#include "ui/compositor/compositor_export.h" 105f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) 115f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)namespace ui { 125f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) 135f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)class COMPOSITOR_EXPORT CompositorAnimationObserver { 145f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) public: 155f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) virtual ~CompositorAnimationObserver() {} 165f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) 175f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) virtual void OnAnimationStep(base::TimeTicks timestamp) = 0; 185f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)}; 195f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) 205f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)} // namespace ui 215f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) 225f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#endif // UI_COMPOSITOR_COMPOSITOR_ANIMATION_OBSERVER_H_ 23