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

Side by Side Diff: pdf/fading_control.h

Issue 1125103002: Remove the in-process PDF viewer from pdf/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-in-process-instance
Patch Set: Created 5 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
« no previous file with comments | « pdf/control.cc ('k') | pdf/fading_control.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/control.cc ('k') | pdf/fading_control.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698