diff options
Diffstat (limited to 'chrome/browser/ui/views/bookmark_bar_view.cc')
-rw-r--r-- | chrome/browser/ui/views/bookmark_bar_view.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/chrome/browser/ui/views/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmark_bar_view.cc index 924d9cb..42f481e 100644 --- a/chrome/browser/ui/views/bookmark_bar_view.cc +++ b/chrome/browser/ui/views/bookmark_bar_view.cc @@ -12,7 +12,6 @@ #include "app/l10n_util.h" #include "app/os_exchange_data.h" #include "app/resource_bundle.h" -#include "app/slide_animation.h" #include "app/text_elider.h" #include "base/i18n/rtl.h" #include "base/string_util.h" @@ -43,6 +42,7 @@ #include "grit/app_resources.h" #include "grit/generated_resources.h" #include "grit/theme_resources.h" +#include "ui/base/animation/slide_animation.h" #include "views/controls/button/menu_button.h" #include "views/controls/label.h" #include "views/controls/menu/menu_item_view.h" @@ -179,7 +179,7 @@ class BookmarkButton : public views::TextButton { : TextButton(listener, title), url_(url), profile_(profile) { - show_animation_.reset(new SlideAnimation(this)); + show_animation_.reset(new ui::SlideAnimation(this)); if (BookmarkBarView::testing_) { // For some reason during testing the events generated by animating // throw off the test. So, don't animate while testing. @@ -204,7 +204,7 @@ class BookmarkButton : public views::TextButton { private: const GURL& url_; Profile* profile_; - scoped_ptr<SlideAnimation> show_animation_; + scoped_ptr<ui::SlideAnimation> show_animation_; DISALLOW_COPY_AND_ASSIGN(BookmarkButton); }; @@ -220,7 +220,7 @@ class BookmarkFolderButton : public views::MenuButton { views::ViewMenuDelegate* menu_delegate, bool show_menu_marker) : MenuButton(listener, title, menu_delegate, show_menu_marker) { - show_animation_.reset(new SlideAnimation(this)); + show_animation_.reset(new ui::SlideAnimation(this)); if (BookmarkBarView::testing_) { // For some reason during testing the events generated by animating // throw off the test. So, don't animate while testing. @@ -247,7 +247,7 @@ class BookmarkFolderButton : public views::MenuButton { } private: - scoped_ptr<SlideAnimation> show_animation_; + scoped_ptr<ui::SlideAnimation> show_animation_; DISALLOW_COPY_AND_ASSIGN(BookmarkFolderButton); }; @@ -779,12 +779,12 @@ bool BookmarkBarView::is_animating() { return size_animation_->is_animating(); } -void BookmarkBarView::AnimationProgressed(const Animation* animation) { +void BookmarkBarView::AnimationProgressed(const ui::Animation* animation) { if (browser_) browser_->ToolbarSizeChanged(true); } -void BookmarkBarView::AnimationEnded(const Animation* animation) { +void BookmarkBarView::AnimationEnded(const ui::Animation* animation) { if (browser_) browser_->ToolbarSizeChanged(false); @@ -923,7 +923,7 @@ void BookmarkBarView::Init() { SetContextMenuController(this); - size_animation_.reset(new SlideAnimation(this)); + size_animation_.reset(new ui::SlideAnimation(this)); } MenuButton* BookmarkBarView::CreateOtherBookmarkedButton() { |