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 7d9fcb6..3acc4f5 100644
--- a/chrome/browser/gtk/slide_animator_gtk.h
+++ b/chrome/browser/gtk/slide_animator_gtk.h
@@ -67,6 +67,9 @@ class SlideAnimatorGtk : public AnimationDelegate {
// Returns whether the widget is visible.
bool IsShowing();
+ // Returns whether the widget is currently showing the close animation.
+ bool IsClosing();
+
// AnimationDelegate implementation.
void AnimationProgressed(const Animation* animation);
void AnimationEnded(const Animation* animation);
@@ -100,6 +103,9 @@ class SlideAnimatorGtk : public AnimationDelegate {
// child widget has been allocated, at which point we will move it, and then
// set this variable to false to indicate it should not be moved again.
bool child_needs_move_;
+
+ // Is true IFF Close() was called more recently than Open().
+ bool is_closing_;
};
#endif // CHROME_BROWSER_GTK_SLIDE_ANIMATOR_GTK_H_