OLD | NEW |
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 CONTENT_COMMON_DRAG_EVENT_SOURCE_INFO_H_ | 5 #ifndef CONTENT_COMMON_DRAG_EVENT_SOURCE_INFO_H_ |
6 #define CONTENT_COMMON_DRAG_EVENT_SOURCE_INFO_H_ | 6 #define CONTENT_COMMON_DRAG_EVENT_SOURCE_INFO_H_ |
7 | 7 |
8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 #include "ui/base/dragdrop/drag_drop_types.h" | 9 #include "ui/base/dragdrop/drag_drop_types.h" |
10 #include "ui/gfx/point.h" | 10 #include "ui/gfx/geometry/point.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 // Information about the event that started a drag session. | 14 // Information about the event that started a drag session. |
15 struct CONTENT_EXPORT DragEventSourceInfo { | 15 struct CONTENT_EXPORT DragEventSourceInfo { |
16 gfx::Point event_location; | 16 gfx::Point event_location; |
17 ui::DragDropTypes::DragEventSource event_source; | 17 ui::DragDropTypes::DragEventSource event_source; |
18 }; | 18 }; |
19 | 19 |
20 }; // namespace content | 20 }; // namespace content |
21 | 21 |
22 #endif // CONTENT_COMMON_DRAG_EVENT_SOURCE_INFO_H_ | 22 #endif // CONTENT_COMMON_DRAG_EVENT_SOURCE_INFO_H_ |
OLD | NEW |