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.
5 #ifndef PDF_FADING_CONTROL_H_
6 #define PDF_FADING_CONTROL_H_
8 #include "pdf/control.h"
10 namespace chrome_pdf
{
12 class FadingControl
: public Control
{
15 virtual ~FadingControl();
17 virtual void OnTimerFired(uint32 timer_id
);
19 // Fade In/Out control depending on visible flag over the time of time_ms.
20 virtual void Fade(bool visible
, uint32 time_ms
);
22 virtual void OnFadeInComplete() {}
23 virtual void OnFadeOutComplete() {}
30 } // namespace chrome_pdf
32 #endif // PDF_FADING_CONTROL_H_