// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_GFX_ANIMATION_THROB_ANIMATION_H_ #define UI_GFX_ANIMATION_THROB_ANIMATION_H_ #include "ui/gfx/animation/slide_animation.h" namespace gfx { // A subclass of SlideAnimation that can continually slide. All of the Animation // methods behave like that of SlideAnimation: transition to the next state. // The StartThrobbing method causes the ThrobAnimation to cycle between hidden // and shown for a set number of cycles. // // A ThrobAnimation has two durations: the duration used when behavior like // a SlideAnimation, and the duration used when throbbing. class ANIMATION_EXPORT ThrobAnimation : public SlideAnimation { … }; } // namespace gfx #endif // UI_GFX_ANIMATION_THROB_ANIMATION_H_