Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: ui/aura_shell/drag_drop_controller.cc

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/aura_shell/desktop_layout_manager.cc ('k') | ui/aura_shell/drag_drop_controller_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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" 8 #include "ui/aura/client/aura_constants.h"
9 #include "ui/aura/client/window_drag_drop_delegate.h" 9 #include "ui/aura/client/window_drag_drop_delegate.h"
10 #include "ui/aura/desktop.h" 10 #include "ui/aura/desktop.h"
11 #include "ui/aura/window.h" 11 #include "ui/aura/window.h"
12 #include "ui/aura_shell/drag_image_view.h" 12 #include "ui/aura_shell/drag_image_view.h"
13 #include "ui/aura_shell/shell.h" 13 #include "ui/aura_shell/shell.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/point.h" 16 #include "ui/gfx/point.h"
17 #include "ui/gfx/rect.h" 17 #include "ui/gfx/rect.h"
18 #include "views/widget/native_widget_aura.h" 18 #include "ui/views/widget/native_widget_aura.h"
19 19
20 namespace aura_shell { 20 namespace aura_shell {
21 namespace internal { 21 namespace internal {
22 22
23 using aura::Desktop; 23 using aura::Desktop;
24 24
25 namespace { 25 namespace {
26 aura::WindowDragDropDelegate* GetDragDropDelegate(aura::Window* window) { 26 aura::WindowDragDropDelegate* GetDragDropDelegate(aura::Window* window) {
27 if (!window) 27 if (!window)
28 return NULL; 28 return NULL;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 174
175 void DragDropController::Cleanup() { 175 void DragDropController::Cleanup() {
176 drag_image_.reset(); 176 drag_image_.reset();
177 drag_data_ = NULL; 177 drag_data_ = NULL;
178 drag_operation_ = 0; 178 drag_operation_ = 0;
179 drag_drop_in_progress_ = false; 179 drag_drop_in_progress_ = false;
180 } 180 }
181 181
182 } // namespace internal 182 } // namespace internal
183 } // namespace aura_shell 183 } // namespace aura_shell
OLDNEW
« no previous file with comments | « ui/aura_shell/desktop_layout_manager.cc ('k') | ui/aura_shell/drag_drop_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698