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 #include "ash/drag_drop/drag_drop_controller.h" | 5 #include "ash/drag_drop/drag_drop_controller.h" |
6 | 6 |
7 #include "ash/drag_drop/drag_image_view.h" | 7 #include "ash/drag_drop/drag_image_view.h" |
8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "ui/aura/client/drag_drop_delegate.h" | 10 #include "ui/aura/client/drag_drop_delegate.h" |
11 #include "ui/aura/env.h" | 11 #include "ui/aura/env.h" |
12 #include "ui/aura/root_window.h" | 12 #include "ui/aura/root_window.h" |
13 #include "ui/aura/window.h" | 13 #include "ui/aura/window.h" |
14 #include "ui/base/dragdrop/drag_drop_types.h" | 14 #include "ui/base/dragdrop/drag_drop_types.h" |
15 #include "ui/base/dragdrop/os_exchange_data_provider_aura.h" | 15 #include "ui/base/dragdrop/os_exchange_data_provider_aura.h" |
16 #include "ui/gfx/compositor/layer.h" | 16 #include "ui/compositor/layer.h" |
17 #include "ui/gfx/compositor/layer_animator.h" | 17 #include "ui/compositor/layer_animator.h" |
18 #include "ui/gfx/compositor/scoped_layer_animation_settings.h" | 18 #include "ui/compositor/scoped_layer_animation_settings.h" |
19 #include "ui/gfx/point.h" | 19 #include "ui/gfx/point.h" |
20 #include "ui/gfx/rect.h" | 20 #include "ui/gfx/rect.h" |
21 #include "ui/views/views_delegate.h" | 21 #include "ui/views/views_delegate.h" |
22 #include "ui/views/widget/native_widget_aura.h" | 22 #include "ui/views/widget/native_widget_aura.h" |
23 | 23 |
24 namespace ash { | 24 namespace ash { |
25 namespace internal { | 25 namespace internal { |
26 | 26 |
27 using aura::RootWindow; | 27 using aura::RootWindow; |
28 | 28 |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 void DragDropController::Cleanup() { | 264 void DragDropController::Cleanup() { |
265 if (drag_window_) | 265 if (drag_window_) |
266 drag_window_->RemoveObserver(this); | 266 drag_window_->RemoveObserver(this); |
267 drag_window_ = NULL; | 267 drag_window_ = NULL; |
268 drag_data_ = NULL; | 268 drag_data_ = NULL; |
269 drag_drop_in_progress_ = false; | 269 drag_drop_in_progress_ = false; |
270 } | 270 } |
271 | 271 |
272 } // namespace internal | 272 } // namespace internal |
273 } // namespace ash | 273 } // namespace ash |
OLD | NEW |