diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-16 22:50:23 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-16 22:50:23 +0000 |
commit | 0590ff113f399e23c2c72e0e4be9569c7596c2f6 (patch) | |
tree | b67d01e5489e879f8a97947075e3a5404e1a9af3 /chrome/browser/gtk/slide_animator_gtk.h | |
parent | 4f7336749506dead4f348f37171eda7165b5abb3 (diff) | |
download | chromium_src-0590ff113f399e23c2c72e0e4be9569c7596c2f6.zip chromium_src-0590ff113f399e23c2c72e0e4be9569c7596c2f6.tar.gz chromium_src-0590ff113f399e23c2c72e0e4be9569c7596c2f6.tar.bz2 |
Finish porting FindInPageControllerTest to linux.
BUG=37809,268629
TEST=test passes
Review URL: http://codereview.chromium.org/997004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41782 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/slide_animator_gtk.h')
-rw-r--r-- | chrome/browser/gtk/slide_animator_gtk.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/gtk/slide_animator_gtk.h b/chrome/browser/gtk/slide_animator_gtk.h index d41f130..799816c 100644 --- a/chrome/browser/gtk/slide_animator_gtk.h +++ b/chrome/browser/gtk/slide_animator_gtk.h @@ -85,6 +85,9 @@ class SlideAnimatorGtk : public AnimationDelegate { void AnimationProgressed(const Animation* animation); void AnimationEnded(const Animation* animation); + // Used during testing; disable or enable animations (default is enabled). + static void SetAnimationsForTesting(bool enable); + private: static void OnChildSizeAllocate(GtkWidget* child, GtkAllocation* allocation, @@ -110,6 +113,8 @@ 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_; + + static bool animations_enabled_; }; #endif // CHROME_BROWSER_GTK_SLIDE_ANIMATOR_GTK_H_ |