Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Side by Side Diff: pdf/fading_control.h

Issue 294793003: Add the pdf plugin's source in src\pdf. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: review comments and sync past DEPS roll to fix gyp Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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.
4
5 #ifndef PDF_FADING_CONTROL_H_
6 #define PDF_FADING_CONTROL_H_
7
8 #include "pdf/control.h"
9
10 namespace chrome_pdf {
11
12 class FadingControl : public Control {
13 public:
14 FadingControl();
15 virtual ~FadingControl();
16
17 virtual void OnTimerFired(uint32 timer_id);
18
19 // Fade In/Out control depending on visible flag over the time of time_ms.
20 virtual void Fade(bool visible, uint32 time_ms);
21
22 virtual void OnFadeInComplete() {}
23 virtual void OnFadeOutComplete() {}
24
25 private:
26 int alpha_shift_;
27 uint32 timer_id_;
28 };
29
30 } // namespace chrome_pdf
31
32 #endif // PDF_FADING_CONTROL_H_
OLDNEW
« no previous file with comments | « pdf/draw_utils.cc ('k') | pdf/fading_control.cc » ('j') | pdf/pdf.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698