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

Side by Side Diff: views/widget/drop_helper.h

Issue 6200005: Move OSExchangeData from src/app to src/ui/base/dragdrop... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | « views/views.gyp ('k') | views/widget/drop_target_gtk.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 VIEWS_WIDGET_DROP_HELPER_H_ 5 #ifndef VIEWS_WIDGET_DROP_HELPER_H_
6 #define VIEWS_WIDGET_DROP_HELPER_H_ 6 #define VIEWS_WIDGET_DROP_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
11 class OSExchangeData;
12
13 namespace gfx { 11 namespace gfx {
14 class Point; 12 class Point;
15 } // namespace gfx 13 } // namespace gfx
16 14
15 namespace ui {
16 class OSExchangeData;
17 } // namespace ui
18 using ui::OSExchangeData;
19
17 namespace views { 20 namespace views {
18 21
19 class RootView; 22 class RootView;
20 class View; 23 class View;
21 24
22 // DropHelper provides support for managing the view a drop is going to occur 25 // DropHelper provides support for managing the view a drop is going to occur
23 // at during dnd as well as sending the view the appropriate dnd methods. 26 // at during dnd as well as sending the view the appropriate dnd methods.
24 // DropHelper is intended to be used by a class that interacts with the system 27 // DropHelper is intended to be used by a class that interacts with the system
25 // drag and drop. The system class invokes OnDragOver as the mouse moves, 28 // drag and drop. The system class invokes OnDragOver as the mouse moves,
26 // then either OnDragExit or OnDrop when the drop is done. 29 // then either OnDragExit or OnDrop when the drop is done.
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 99
97 // The deepest view under the current drop coordinate. 100 // The deepest view under the current drop coordinate.
98 View* deepest_view_; 101 View* deepest_view_;
99 102
100 DISALLOW_COPY_AND_ASSIGN(DropHelper); 103 DISALLOW_COPY_AND_ASSIGN(DropHelper);
101 }; 104 };
102 105
103 } // namespace views 106 } // namespace views
104 107
105 #endif // VIEWS_WIDGET_DROP_HELPER_H_ 108 #endif // VIEWS_WIDGET_DROP_HELPER_H_
OLDNEW
« no previous file with comments | « views/views.gyp ('k') | views/widget/drop_target_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698