Index: chrome/browser/ui/views/bookmark_bar_view.cc |
=================================================================== |
--- chrome/browser/ui/views/bookmark_bar_view.cc (revision 70685) |
+++ chrome/browser/ui/views/bookmark_bar_view.cc (working copy) |
@@ -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 @@ |
: 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 @@ |
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 @@ |
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 @@ |
} |
private: |
- scoped_ptr<SlideAnimation> show_animation_; |
+ scoped_ptr<ui::SlideAnimation> show_animation_; |
DISALLOW_COPY_AND_ASSIGN(BookmarkFolderButton); |
}; |
@@ -779,12 +779,12 @@ |
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 @@ |
SetContextMenuController(this); |
- size_animation_.reset(new SlideAnimation(this)); |
+ size_animation_.reset(new ui::SlideAnimation(this)); |
} |
MenuButton* BookmarkBarView::CreateOtherBookmarkedButton() { |