diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-04 01:29:24 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-04 01:29:24 +0000 |
commit | bfd3886dea49078beed60f12b2c98e180172a2e7 (patch) | |
tree | 8bf0efa36b74a03a5425cbccc4a4b46b9b8ce0b9 /chrome/browser/views/constrained_window_animation.h | |
parent | 57ecbe8836e353ba61860ca2f8ef2b6ddca75d6a (diff) | |
download | chromium_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.h | 30 |
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__ + |