OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "ui/aura_shell/drag_drop_controller.h" | 5 #include "ui/aura_shell/drag_drop_controller.h" |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "ui/aura/client/aura_constants.h" | |
9 #include "ui/aura/client/drag_drop_delegate.h" | 8 #include "ui/aura/client/drag_drop_delegate.h" |
10 #include "ui/aura/root_window.h" | 9 #include "ui/aura/root_window.h" |
11 #include "ui/aura/window.h" | 10 #include "ui/aura/window.h" |
12 #include "ui/aura_shell/drag_image_view.h" | 11 #include "ui/aura_shell/drag_image_view.h" |
13 #include "ui/aura_shell/shell.h" | 12 #include "ui/aura_shell/shell.h" |
14 #include "ui/base/dragdrop/drag_drop_types.h" | 13 #include "ui/base/dragdrop/drag_drop_types.h" |
15 #include "ui/base/dragdrop/os_exchange_data_provider_aura.h" | 14 #include "ui/base/dragdrop/os_exchange_data_provider_aura.h" |
16 #include "ui/gfx/point.h" | 15 #include "ui/gfx/point.h" |
17 #include "ui/gfx/rect.h" | 16 #include "ui/gfx/rect.h" |
18 #include "ui/views/widget/native_widget_aura.h" | 17 #include "ui/views/widget/native_widget_aura.h" |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 // DragDropController, private: | 167 // DragDropController, private: |
169 | 168 |
170 void DragDropController::Cleanup() { | 169 void DragDropController::Cleanup() { |
171 drag_image_.reset(); | 170 drag_image_.reset(); |
172 drag_data_ = NULL; | 171 drag_data_ = NULL; |
173 drag_drop_in_progress_ = false; | 172 drag_drop_in_progress_ = false; |
174 } | 173 } |
175 | 174 |
176 } // namespace internal | 175 } // namespace internal |
177 } // namespace aura_shell | 176 } // namespace aura_shell |
OLD | NEW |