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

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

Issue 2263863002: Remove implementation of Panels on OSes other than ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR feedback Created 4 years, 4 months 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 | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/panels/panel_bounds_animation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel_bounds_animation.h
diff --git a/chrome/browser/ui/panels/panel_bounds_animation.h b/chrome/browser/ui/panels/panel_bounds_animation.h
deleted file mode 100644
index 4caf2706f51cb45df53cf17d85fd894e28c60803..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/panels/panel_bounds_animation.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2011 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_UI_PANELS_PANEL_BOUNDS_ANIMATION_H_
-#define CHROME_BROWSER_UI_PANELS_PANEL_BOUNDS_ANIMATION_H_
-
-#include "base/macros.h"
-#include "ui/gfx/animation/linear_animation.h"
-
-namespace gfx {
-class AnimationDelegate;
-}
-class Panel;
-
-class PanelBoundsAnimation : public gfx::LinearAnimation {
- public:
- PanelBoundsAnimation(gfx::AnimationDelegate* target,
- Panel* panel,
- const gfx::Rect& initial_bounds,
- const gfx::Rect& final_bounds);
- ~PanelBoundsAnimation() override;
- double GetCurrentValue() const override;
-
- // Static because it is reused on Mac to override NSAnimation's calculation.
- static double ComputeAnimationValue(double progress,
- bool for_big_minimize,
- double animation_stop_to_show_titlebar);
-
- protected:
- void AnimateToState(double state) override {}
-
- private:
- Panel* panel_; // Weak, owns us.
- bool for_big_minimize_;
- double animation_stop_to_show_titlebar_;
-
- DISALLOW_COPY_AND_ASSIGN(PanelBoundsAnimation);
-};
-
-#endif // CHROME_BROWSER_UI_PANELS_PANEL_BOUNDS_ANIMATION_H_
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/panels/panel_bounds_animation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698