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

Unified Diff: ui/views/bubble/bubble_delegate.h

Issue 23531053: ui/base/animation -> ui/gfx/animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge 2 trunk Created 7 years, 3 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 | « ui/views/animation/scroll_animator.cc ('k') | ui/views/bubble/bubble_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/bubble/bubble_delegate.h
diff --git a/ui/views/bubble/bubble_delegate.h b/ui/views/bubble/bubble_delegate.h
index dff9bd4506f9968727d5a55501ecd05f27d3b112..3336c6d67f5fa2eb3fa7924bb18771b424fc3853 100644
--- a/ui/views/bubble/bubble_delegate.h
+++ b/ui/views/bubble/bubble_delegate.h
@@ -6,16 +6,13 @@
#define UI_VIEWS_BUBBLE_BUBBLE_DELEGATE_H_
#include "base/gtest_prod_util.h"
-#include "ui/base/animation/animation_delegate.h"
+#include "ui/gfx/animation/animation_delegate.h"
#include "ui/views/bubble/bubble_border.h"
#include "ui/views/widget/widget_delegate.h"
#include "ui/views/widget/widget_observer.h"
namespace gfx {
class Rect;
-}
-
-namespace ui {
class SlideAnimation;
}
@@ -28,7 +25,7 @@ class BubbleFrameView;
//
///////////////////////////////////////////////////////////////////////////////
class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView,
- public ui::AnimationDelegate,
+ public gfx::AnimationDelegate,
public WidgetObserver {
public:
BubbleDelegateView();
@@ -136,9 +133,9 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView,
virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE;
virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) OVERRIDE;
- // ui::AnimationDelegate overrides:
- virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE;
- virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
+ // gfx::AnimationDelegate overrides:
+ virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE;
+ virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE;
// Perform view initialization on the contents for bubble sizing.
virtual void Init();
@@ -168,7 +165,7 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView,
void HandleVisibilityChanged(Widget* widget, bool visible);
// Fade animation for bubble.
- scoped_ptr<ui::SlideAnimation> fade_animation_;
+ scoped_ptr<gfx::SlideAnimation> fade_animation_;
// Flags controlling bubble closure on the escape key and deactivation.
bool close_on_esc_;
« no previous file with comments | « ui/views/animation/scroll_animator.cc ('k') | ui/views/bubble/bubble_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698