OLD | NEW |
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 #ifndef UI_VIEWS_DRAG_UTILS_H_ | 5 #ifndef UI_VIEWS_DRAG_UTILS_H_ |
6 #define UI_VIEWS_DRAG_UTILS_H_ | 6 #define UI_VIEWS_DRAG_UTILS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
12 #include "base/string16.h" | 12 #include "base/string16.h" |
13 #include "views/views_export.h" | 13 #include "ui/views/views_export.h" |
14 | 14 |
15 class GURL; | 15 class GURL; |
16 class SkBitmap; | 16 class SkBitmap; |
17 | 17 |
18 namespace gfx { | 18 namespace gfx { |
19 class Canvas; | 19 class Canvas; |
20 class Point; | 20 class Point; |
21 class Size; | 21 class Size; |
22 } | 22 } |
23 | 23 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 // are the size of the image to use, and the offsets give the location of | 55 // are the size of the image to use, and the offsets give the location of |
56 // the hotspot for the drag image. | 56 // the hotspot for the drag image. |
57 VIEWS_EXPORT void SetDragImageOnDataObject(const SkBitmap& bitmap, | 57 VIEWS_EXPORT void SetDragImageOnDataObject(const SkBitmap& bitmap, |
58 const gfx::Size& size, | 58 const gfx::Size& size, |
59 const gfx::Point& cursor_offset, | 59 const gfx::Point& cursor_offset, |
60 ui::OSExchangeData* data_object); | 60 ui::OSExchangeData* data_object); |
61 | 61 |
62 } // namespace drag_utils | 62 } // namespace drag_utils |
63 | 63 |
64 #endif // UI_VIEWS_DRAG_UTILS_H_ | 64 #endif // UI_VIEWS_DRAG_UTILS_H_ |
OLD | NEW |