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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_drop_target_win.cc

Issue 23503086: Move DropTargetEvent back to ui/base for the time being as it depends on OSExchangeData which I don… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows bustage Created 7 years, 2 months 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/views/widget/desktop_aura/desktop_drag_drop_client_win.cc ('k') | no next file » | 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/views/widget/desktop_aura/desktop_drop_target_win.h" 5 #include "ui/views/widget/desktop_aura/desktop_drop_target_win.h"
6 6
7 #include "base/win/win_util.h" 7 #include "base/win/win_util.h"
8 #include "ui/aura/client/drag_drop_client.h" 8 #include "ui/aura/client/drag_drop_client.h"
9 #include "ui/aura/client/drag_drop_delegate.h" 9 #include "ui/aura/client/drag_drop_delegate.h"
10 #include "ui/aura/window.h" 10 #include "ui/aura/window.h"
11 #include "ui/aura/root_window.h" 11 #include "ui/aura/root_window.h"
12 #include "ui/base/dragdrop/drag_drop_types.h" 12 #include "ui/base/dragdrop/drag_drop_types.h"
13 #include "ui/base/dragdrop/drop_target_event.h"#include "ui/base/dragdrop/drop_t arget_event.h"
14
13 #include "ui/base/dragdrop/os_exchange_data_provider_win.h" 15 #include "ui/base/dragdrop/os_exchange_data_provider_win.h"
14 #include "ui/events/event.h"
15 #include "ui/events/event_constants.h" 16 #include "ui/events/event_constants.h"
16 17
17 using aura::client::DragDropDelegate; 18 using aura::client::DragDropDelegate;
18 using ui::OSExchangeData; 19 using ui::OSExchangeData;
19 using ui::OSExchangeDataProviderWin; 20 using ui::OSExchangeDataProviderWin;
20 21
21 namespace views { 22 namespace views {
22 23
23 DesktopDropTargetWin::DesktopDropTargetWin(aura::RootWindow* root_window, 24 DesktopDropTargetWin::DesktopDropTargetWin(aura::RootWindow* root_window,
24 HWND window) 25 HWND window)
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 return; 138 return;
138 DragDropDelegate* delegate = 139 DragDropDelegate* delegate =
139 aura::client::GetDragDropDelegate(target_window_); 140 aura::client::GetDragDropDelegate(target_window_);
140 if (delegate) 141 if (delegate)
141 delegate->OnDragExited(); 142 delegate->OnDragExited();
142 target_window_->RemoveObserver(this); 143 target_window_->RemoveObserver(this);
143 target_window_ = NULL; 144 target_window_ = NULL;
144 } 145 }
145 146
146 } // namespace views 147 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_drag_drop_client_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698