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

Unified Diff: chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.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
Index: chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h
diff --git a/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h b/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h
index 99edc0c0f47160ec3b41da3e1ed96c7255c02ac0..d565a90a853776d5bebe70576a021b6830ff84bc 100644
--- a/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h
+++ b/chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h
@@ -22,11 +22,11 @@
#include "chrome/browser/ui/gtk/menu_bar_helper.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
-#include "ui/base/animation/animation.h"
-#include "ui/base/animation/animation_delegate.h"
-#include "ui/base/animation/slide_animation.h"
#include "ui/base/gtk/gtk_signal.h"
#include "ui/base/gtk/owned_widget_gtk.h"
+#include "ui/gfx/animation/animation.h"
+#include "ui/gfx/animation/animation_delegate.h"
+#include "ui/gfx/animation/slide_animation.h"
#include "ui/gfx/point.h"
#include "ui/gfx/size.h"
@@ -42,7 +42,7 @@ namespace content {
class PageNavigator;
}
-class BookmarkBarGtk : public ui::AnimationDelegate,
+class BookmarkBarGtk : public gfx::AnimationDelegate,
public BookmarkModelObserver,
public MenuBarHelper::Delegate,
public content::NotificationObserver,
@@ -77,9 +77,9 @@ class BookmarkBarGtk : public ui::AnimationDelegate,
// Returns true if the bookmark bar is showing an animation.
bool IsAnimating();
- // ui::AnimationDelegate implementation --------------------------------------
- virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
- virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE;
+ // gfx::AnimationDelegate implementation -------------------------------------
+ virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE;
+ virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE;
// MenuBarHelper::Delegate implementation ------------------------------------
virtual void PopupForButton(GtkWidget* button) OVERRIDE;
@@ -89,7 +89,7 @@ class BookmarkBarGtk : public ui::AnimationDelegate,
// BookmarkContextMenuController::Delegate implementation --------------------
virtual void CloseMenu() OVERRIDE;
- const ui::Animation* animation() { return &slide_animation_; }
+ const gfx::Animation* animation() { return &slide_animation_; }
int max_height() const { return max_height_; }
@@ -392,7 +392,7 @@ class BookmarkBarGtk : public ui::AnimationDelegate,
// displayed yet.
scoped_ptr<BookmarkMenuController> current_menu_;
- ui::SlideAnimation slide_animation_;
+ gfx::SlideAnimation slide_animation_;
// Used to optimize out |bookmark_toolbar_| size-allocate events we don't
// need to respond to.
« no previous file with comments | « chrome/browser/ui/fullscreen/fullscreen_exit_bubble.h ('k') | chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698