summaryrefslogtreecommitdiffstats
path: root/views/drag_utils.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-05 20:58:29 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-05 20:58:29 +0000
commit5036f187c5431c1afc5bac442e1d74390d7a3fa0 (patch)
treeaf465cf27c50860ca7773876ac7bf08b6b653875 /views/drag_utils.h
parent26c740c8fb36d3e59200cfab668eb9c5f7539d11 (diff)
downloadchromium_src-5036f187c5431c1afc5bac442e1d74390d7a3fa0.zip
chromium_src-5036f187c5431c1afc5bac442e1d74390d7a3fa0.tar.gz
chromium_src-5036f187c5431c1afc5bac442e1d74390d7a3fa0.tar.bz2
Rename VIEWS_API to VIEWS_EXPORT.
R=rvargas@chromium.org Review URL: http://codereview.chromium.org/7550038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95651 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/drag_utils.h')
-rw-r--r--views/drag_utils.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/views/drag_utils.h b/views/drag_utils.h
index b7d743f..24c30c1 100644
--- a/views/drag_utils.h
+++ b/views/drag_utils.h
@@ -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 @@ namespace drag_utils {
// 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