Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2006)

Unified Diff: chrome/browser/ui/panels/panel_browser_view.h

Issue 8826002: Panels: Adding 3-step animation on minimize on Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/panels/panel_browser_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel_browser_view.h
diff --git a/chrome/browser/ui/panels/panel_browser_view.h b/chrome/browser/ui/panels/panel_browser_view.h
index 77ea51724f32246066348ad19120e6b4df40e413..c095fe8f6c6d9320b9f146beba9d90e06858d5e1 100644
--- a/chrome/browser/ui/panels/panel_browser_view.h
+++ b/chrome/browser/ui/panels/panel_browser_view.h
@@ -12,28 +12,12 @@
#include "chrome/browser/ui/panels/native_panel.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "ui/base/animation/animation_delegate.h"
-#include "ui/base/animation/slide_animation.h"
class Browser;
class Panel;
class NativePanelTestingWin;
class PanelBrowserFrameView;
-
-class PanelSlideAnimation : public ui::SlideAnimation {
- public:
- PanelSlideAnimation(ui::AnimationDelegate* target,
- bool for_minimize,
- double animation_stop_to_show_titlebar)
- : ui::SlideAnimation(target),
- for_minimize_(for_minimize),
- animation_stop_to_show_titlebar_(animation_stop_to_show_titlebar) { }
- virtual ~PanelSlideAnimation() { }
- virtual double GetCurrentValue() const OVERRIDE;
-
- private:
- bool for_minimize_;
- double animation_stop_to_show_titlebar_;
-};
+class PanelSlideAnimation;
// A browser view that implements Panel specific behavior.
class PanelBrowserView : public BrowserView,
« no previous file with comments | « no previous file | chrome/browser/ui/panels/panel_browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698