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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h

Issue 818983002: Revert of Fix crash when the source browser window is deleted during a drag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@drag_drop_end_move_loop2
Patch Set: Created 6 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
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 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/weak_ptr.h"
11 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
12 #include "ui/wm/public/drag_drop_client.h" 11 #include "ui/wm/public/drag_drop_client.h"
13 12
14 namespace ui { 13 namespace ui {
15 class DragSourceWin; 14 class DragSourceWin;
16 } 15 }
17 16
18 namespace views { 17 namespace views {
19 class DesktopDropTargetWin; 18 class DesktopDropTargetWin;
20 19
(...skipping 22 matching lines...) Expand all
43 42
44 private: 43 private:
45 bool drag_drop_in_progress_; 44 bool drag_drop_in_progress_;
46 45
47 int drag_operation_; 46 int drag_operation_;
48 47
49 scoped_refptr<ui::DragSourceWin> drag_source_; 48 scoped_refptr<ui::DragSourceWin> drag_source_;
50 49
51 scoped_refptr<DesktopDropTargetWin> drop_target_; 50 scoped_refptr<DesktopDropTargetWin> drop_target_;
52 51
53 base::WeakPtrFactory<DesktopDragDropClientWin> weak_factory_;
54
55 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientWin); 52 DISALLOW_COPY_AND_ASSIGN(DesktopDragDropClientWin);
56 }; 53 };
57 54
58 } // namespace views 55 } // namespace views
59 56
60 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_ 57 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_
OLDNEW
« no previous file with comments | « chrome/test/base/view_event_test_base.cc ('k') | ui/views/widget/desktop_aura/desktop_drag_drop_client_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698