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 "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/macros.h" |
10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
11 #include "ui/aura/window_observer.h" | 12 #include "ui/aura/window_observer.h" |
12 #include "ui/base/dragdrop/os_exchange_data.h" | 13 #include "ui/base/dragdrop/os_exchange_data.h" |
13 #include "ui/events/event_constants.h" | 14 #include "ui/events/event_constants.h" |
14 #include "ui/events/event_handler.h" | 15 #include "ui/events/event_handler.h" |
15 #include "ui/gfx/animation/animation_delegate.h" | 16 #include "ui/gfx/animation/animation_delegate.h" |
16 #include "ui/gfx/geometry/rect.h" | 17 #include "ui/gfx/geometry/rect.h" |
17 #include "ui/wm/public/drag_drop_client.h" | 18 #include "ui/wm/public/drag_drop_client.h" |
18 | 19 |
19 namespace gfx { | 20 namespace gfx { |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 scoped_ptr<ui::GestureEvent> pending_long_tap_; | 127 scoped_ptr<ui::GestureEvent> pending_long_tap_; |
127 | 128 |
128 base::WeakPtrFactory<DragDropController> weak_factory_; | 129 base::WeakPtrFactory<DragDropController> weak_factory_; |
129 | 130 |
130 DISALLOW_COPY_AND_ASSIGN(DragDropController); | 131 DISALLOW_COPY_AND_ASSIGN(DragDropController); |
131 }; | 132 }; |
132 | 133 |
133 } // namespace ash | 134 } // namespace ash |
134 | 135 |
135 #endif // ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_ | 136 #endif // ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_ |
OLD | NEW |