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

Unified Diff: views/drag_utils.h

Issue 7550038: Rename VIEWS_API to VIEWS_EXPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/drag_controller.h ('k') | views/events/event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « views/drag_controller.h ('k') | views/events/event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698