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

Unified Diff: ash/drag_drop/drag_image_view.h

Issue 2828543003: chromeos: converts DragImageViewTest to AshTestBase (Closed)
Patch Set: cleanup Created 3 years, 8 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: ash/drag_drop/drag_image_view.h
diff --git a/ash/drag_drop/drag_image_view.h b/ash/drag_drop/drag_image_view.h
index be1830edb2aa1afe7eab868f5db55f8c36b10265..e59cc101c0ddf241ce99cbc57656644d1d2343a1 100644
--- a/ash/drag_drop/drag_image_view.h
+++ b/ash/drag_drop/drag_image_view.h
@@ -14,6 +14,10 @@
#include "ui/gfx/geometry/size.h"
#include "ui/views/controls/image_view.h"
+namespace aura {
+class Window;
+}
+
namespace gfx {
class Image;
}
@@ -24,8 +28,6 @@ class Widget;
namespace ash {
-class WmWindow;
-
// This class allows to show a (native) view always on top of everything. It
// does this by creating a widget and setting the content as the given view. The
// caller can then use this object to freely move / drag it around on the
@@ -36,7 +38,7 @@ class ASH_EXPORT DragImageView : public views::ImageView {
// |source| is the event source that started this drag drop operation (touch
// or mouse). It is used to determine attributes of the drag image such as
// whether to show drag operation hint on top of the image.
- DragImageView(WmWindow* root_window,
+ DragImageView(aura::Window* root_window,
ui::DragDropTypes::DragEventSource source);
~DragImageView() override;

Powered by Google App Engine
This is Rietveld 408576698