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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_drag_drop_client_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
OLDNEW
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 "ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h" 5 #include "ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h"
6 6
7 #include "ui/base/dragdrop/drag_drop_types.h" 7 #include "ui/base/dragdrop/drag_drop_types.h"
8 #include "ui/base/dragdrop/drag_source_win.h" 8 #include "ui/base/dragdrop/drag_source_win.h"
9 #include "ui/base/dragdrop/drop_target_event.h"
9 #include "ui/base/dragdrop/os_exchange_data_provider_win.h" 10 #include "ui/base/dragdrop/os_exchange_data_provider_win.h"
10 #include "ui/views/widget/desktop_aura/desktop_drop_target_win.h" 11 #include "ui/views/widget/desktop_aura/desktop_drop_target_win.h"
11 #include "ui/views/widget/desktop_aura/desktop_root_window_host_win.h" 12 #include "ui/views/widget/desktop_aura/desktop_root_window_host_win.h"
12 #include "ui/views/widget/drop_target_win.h" 13 #include "ui/views/widget/drop_target_win.h"
13 14
14 namespace views { 15 namespace views {
15 16
16 DesktopDragDropClientWin::DesktopDragDropClientWin( 17 DesktopDragDropClientWin::DesktopDragDropClientWin(
17 aura::RootWindow* root_window, 18 aura::RootWindow* root_window,
18 HWND window) 19 HWND window)
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 } 69 }
69 70
70 void DesktopDragDropClientWin::OnNativeWidgetDestroying(HWND window) { 71 void DesktopDragDropClientWin::OnNativeWidgetDestroying(HWND window) {
71 if (drop_target_.get()) { 72 if (drop_target_.get()) {
72 RevokeDragDrop(window); 73 RevokeDragDrop(window);
73 drop_target_ = NULL; 74 drop_target_ = NULL;
74 } 75 }
75 } 76 }
76 77
77 } // namespace views 78 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698