summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/constrained_window_animation.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-04 01:29:24 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-04 01:29:24 +0000
commitbfd3886dea49078beed60f12b2c98e180172a2e7 (patch)
tree8bf0efa36b74a03a5425cbccc4a4b46b9b8ce0b9 /chrome/browser/views/constrained_window_animation.h
parent57ecbe8836e353ba61860ca2f8ef2b6ddca75d6a (diff)
downloadchromium_src-bfd3886dea49078beed60f12b2c98e180172a2e7.zip
chromium_src-bfd3886dea49078beed60f12b2c98e180172a2e7.tar.gz
chromium_src-bfd3886dea49078beed60f12b2c98e180172a2e7.tar.bz2
Revert change r4523 because Vista doesn't like it.
TBR=nsylvain git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4539 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/constrained_window_animation.h')
-rw-r--r--chrome/browser/views/constrained_window_animation.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/chrome/browser/views/constrained_window_animation.h b/chrome/browser/views/constrained_window_animation.h
index e69de29..8504155 100644
--- a/chrome/browser/views/constrained_window_animation.h
+++ b/chrome/browser/views/constrained_window_animation.h
@@ -0,0 +1,30 @@
+// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_VIEWS_CONSTRAINED_WINDOW_ANIMATION_H__
+#define CHROME_BROWSER_VIEWS_CONSTRAINED_WINDOW_ANIMATION_H__
+
+#include "chrome/common/animation.h"
+
+class ConstrainedWindowImpl;
+
+// Animates a titlebar of a suppressed constrained window up from the
+// bottom of the screen.
+class ConstrainedWindowAnimation : public Animation {
+ public:
+ explicit ConstrainedWindowAnimation(ConstrainedWindowImpl* window);
+ virtual ~ConstrainedWindowAnimation();
+
+ // Overridden from Animation:
+ virtual void AnimateToState(double state);
+
+ private:
+ // The constrained window we're displaying.
+ ConstrainedWindowImpl* window_;
+
+ DISALLOW_EVIL_CONSTRUCTORS(ConstrainedWindowAnimation);
+};
+
+#endif // CHROME_BROWSER_VIEWS_CONSTRAINED_WINDOW_ANIMATION_H__
+