| Index: ash/drag_drop/drag_drop_tracker.h
|
| diff --git a/ash/drag_drop/drag_drop_tracker.h b/ash/drag_drop/drag_drop_tracker.h
|
| index 220cc12a60241c938100fb63f26c9c419a65df5b..56b63094cbaffd1564cd54aeb96d816b35fbfd2e 100644
|
| --- a/ash/drag_drop/drag_drop_tracker.h
|
| +++ b/ash/drag_drop/drag_drop_tracker.h
|
| @@ -11,7 +11,6 @@
|
| #include "ui/base/events/event.h"
|
|
|
| namespace aura {
|
| -class RootWindow;
|
| class Window;
|
| }
|
|
|
| @@ -25,15 +24,15 @@ namespace internal {
|
| // is supported for now.
|
| class ASH_EXPORT DragDropTracker {
|
| public:
|
| - explicit DragDropTracker(aura::RootWindow* root_window);
|
| + DragDropTracker();
|
| ~DragDropTracker();
|
|
|
| - // Gets the target located at |event| in the coordinates of the root window
|
| - // given to the constructor.
|
| + // Gets the target located at |event| in the coordinates of the active root
|
| + // window.
|
| aura::Window* GetTarget(const ui::LocatedEvent& event);
|
|
|
| - // Converts the locations of |event| in the coordinates of the root window
|
| - // given to the constructor to the ones in |target|'s coordinates.
|
| + // Converts the locations of |event| in the coordinates of the active root
|
| + // window to the ones in |target|'s coordinates.
|
| // Caller takes ownership of the returned object.
|
| ui::MouseEvent* ConvertMouseEvent(aura::Window* target,
|
| const ui::MouseEvent& event);
|
|
|