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

Unified Diff: ash/drag_drop/drag_drop_controller_unittest.cc

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 | « ash/drag_drop/drag_drop_controller.cc ('k') | ash/launcher/launcher_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/drag_drop/drag_drop_controller_unittest.cc
diff --git a/ash/drag_drop/drag_drop_controller_unittest.cc b/ash/drag_drop/drag_drop_controller_unittest.cc
index 7ca79ea0a05dec30215c88d8acf46209d94222af..ce4e752d5f851fdcbe15d33dce633f9b3c90ab9e 100644
--- a/ash/drag_drop/drag_drop_controller_unittest.cc
+++ b/ash/drag_drop/drag_drop_controller_unittest.cc
@@ -14,7 +14,6 @@
#include "ui/aura/client/capture_client.h"
#include "ui/aura/root_window.h"
#include "ui/aura/test/event_generator.h"
-#include "ui/base/animation/linear_animation.h"
#include "ui/base/clipboard/clipboard.h"
#include "ui/base/clipboard/scoped_clipboard_writer.h"
#include "ui/base/dragdrop/drag_drop_types.h"
@@ -24,6 +23,7 @@
#include "ui/base/events/event_utils.h"
#include "ui/base/gestures/gesture_types.h"
#include "ui/base/ui_base_switches.h"
+#include "ui/gfx/animation/linear_animation.h"
#include "ui/gfx/image/image_skia_rep.h"
#include "ui/views/test/test_views_delegate.h"
#include "ui/views/view.h"
@@ -130,12 +130,12 @@ class DragTestView : public views::View {
DISALLOW_COPY_AND_ASSIGN(DragTestView);
};
-class CompletableLinearAnimation : public ui::LinearAnimation {
+class CompletableLinearAnimation : public gfx::LinearAnimation {
public:
CompletableLinearAnimation(int duration,
int frame_rate,
- ui::AnimationDelegate* delegate)
- : ui::LinearAnimation(duration, frame_rate, delegate),
+ gfx::AnimationDelegate* delegate)
+ : gfx::LinearAnimation(duration, frame_rate, delegate),
duration_(duration) {
}
@@ -191,10 +191,10 @@ class TestDragDropController : public internal::DragDropController {
drag_canceled_ = true;
}
- virtual ui::LinearAnimation* CreateCancelAnimation(
+ virtual gfx::LinearAnimation* CreateCancelAnimation(
int duration,
int frame_rate,
- ui::AnimationDelegate* delegate) OVERRIDE {
+ gfx::AnimationDelegate* delegate) OVERRIDE {
return new CompletableLinearAnimation(duration, frame_rate, delegate);
}
« no previous file with comments | « ash/drag_drop/drag_drop_controller.cc ('k') | ash/launcher/launcher_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698