OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_ | 5 #ifndef ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_ |
6 #define ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_ | 6 #define ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
11 #include "ash/common/wm_display_observer.h" | 11 #include "ash/wm_display_observer.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "ui/aura/client/drag_drop_client.h" | 15 #include "ui/aura/client/drag_drop_client.h" |
16 #include "ui/aura/window_observer.h" | 16 #include "ui/aura/window_observer.h" |
17 #include "ui/base/dragdrop/os_exchange_data.h" | 17 #include "ui/base/dragdrop/os_exchange_data.h" |
18 #include "ui/events/event_constants.h" | 18 #include "ui/events/event_constants.h" |
19 #include "ui/events/event_handler.h" | 19 #include "ui/events/event_handler.h" |
20 #include "ui/gfx/animation/animation_delegate.h" | 20 #include "ui/gfx/animation/animation_delegate.h" |
21 #include "ui/gfx/geometry/rect.h" | 21 #include "ui/gfx/geometry/rect.h" |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 std::unique_ptr<ui::GestureEvent> pending_long_tap_; | 139 std::unique_ptr<ui::GestureEvent> pending_long_tap_; |
140 | 140 |
141 base::WeakPtrFactory<DragDropController> weak_factory_; | 141 base::WeakPtrFactory<DragDropController> weak_factory_; |
142 | 142 |
143 DISALLOW_COPY_AND_ASSIGN(DragDropController); | 143 DISALLOW_COPY_AND_ASSIGN(DragDropController); |
144 }; | 144 }; |
145 | 145 |
146 } // namespace ash | 146 } // namespace ash |
147 | 147 |
148 #endif // ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_ | 148 #endif // ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_ |
OLD | NEW |