Index: views/drag_utils.h |
=================================================================== |
--- views/drag_utils.h (revision 95624) |
+++ views/drag_utils.h (working copy) |
@@ -9,7 +9,7 @@ |
#include <string> |
#include "base/file_path.h" |
-#include "views/views_api.h" |
+#include "views/views_export.h" |
class GURL; |
class SkBitmap; |
@@ -29,34 +29,34 @@ |
// Sets url and title on data as well as setting a suitable image for dragging. |
// The image looks like that of the bookmark buttons. |
-VIEWS_API void SetURLAndDragImage(const GURL& url, |
- const std::wstring& title, |
- const SkBitmap& icon, |
- OSExchangeData* data); |
+VIEWS_EXPORT void SetURLAndDragImage(const GURL& url, |
+ const std::wstring& title, |
+ const SkBitmap& icon, |
+ OSExchangeData* data); |
// Creates a dragging image to be displayed when the user drags a file from |
// Chrome (via the download manager, for example). The drag image is set into |
// the supplied data_object. 'file_name' can be a full path, but the directory |
// portion will be truncated in the drag image. |
-VIEWS_API void CreateDragImageForFile(const FilePath& file_name, |
- const SkBitmap* icon, |
- OSExchangeData* data_object); |
+VIEWS_EXPORT void CreateDragImageForFile(const FilePath& file_name, |
+ const SkBitmap* icon, |
+ OSExchangeData* data_object); |
// Sets the drag image on data_object from the supplied canvas. width/height |
// are the size of the image to use, and the offsets give the location of |
// the hotspot for the drag image. |
-VIEWS_API void SetDragImageOnDataObject(const gfx::Canvas& canvas, |
- const gfx::Size& size, |
- const gfx::Point& cursor_offset, |
- OSExchangeData* data_object); |
+VIEWS_EXPORT void SetDragImageOnDataObject(const gfx::Canvas& canvas, |
+ const gfx::Size& size, |
+ const gfx::Point& cursor_offset, |
+ OSExchangeData* data_object); |
// Sets the drag image on data_object from the supplied bitmap. width/height |
// are the size of the image to use, and the offsets give the location of |
// the hotspot for the drag image. |
-VIEWS_API void SetDragImageOnDataObject(const SkBitmap& bitmap, |
- const gfx::Size& size, |
- const gfx::Point& cursor_offset, |
- OSExchangeData* data_object); |
+VIEWS_EXPORT void SetDragImageOnDataObject(const SkBitmap& bitmap, |
+ const gfx::Size& size, |
+ const gfx::Point& cursor_offset, |
+ OSExchangeData* data_object); |
} // namespace drag_utils |