| 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_;
|
|
|