summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/slide_animator_gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/slide_animator_gtk.h')
-rw-r--r--chrome/browser/gtk/slide_animator_gtk.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/gtk/slide_animator_gtk.h b/chrome/browser/gtk/slide_animator_gtk.h
index f884913..054e9ec 100644
--- a/chrome/browser/gtk/slide_animator_gtk.h
+++ b/chrome/browser/gtk/slide_animator_gtk.h
@@ -32,9 +32,15 @@ class SlideAnimatorGtk : public AnimationDelegate {
// |child| is the widget we pack into |widget_|.
// |direction| indicates which side the contents will appear to come from.
+ // |duration| is the duration of the slide in milliseconds, or 0 for default.
+ // |linear| controls how the animation progresses. If true, the
+ // velocity of the slide is constant over time, otherwise it goes a bit faster
+ // at the beginning and slows to a halt.
// |delegate| may be NULL.
SlideAnimatorGtk(GtkWidget* child,
Direction direction,
+ int duration,
+ bool linear,
Delegate* delegate);
virtual ~SlideAnimatorGtk();