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

Unified Diff: ui/gfx/image/image_util.h

Issue 7569005: Rename UI_API to UI_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 | « ui/gfx/image/image.h ('k') | ui/gfx/insets.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/image/image_util.h
===================================================================
--- ui/gfx/image/image_util.h (revision 95624)
+++ ui/gfx/image/image_util.h (working copy)
@@ -9,7 +9,7 @@
#include <vector>
#include "base/basictypes.h"
-#include "ui/ui_api.h"
+#include "ui/base/ui_export.h"
namespace gfx {
class Image;
@@ -19,18 +19,18 @@
// Creates an image from the given PNG-encoded input. The caller owns the
// returned Image. If there was an error creating the image, returns NULL.
-UI_API Image* ImageFromPNGEncodedData(const unsigned char* input,
- size_t input_size);
+UI_EXPORT Image* ImageFromPNGEncodedData(const unsigned char* input,
+ size_t input_size);
// Fills the |dst| vector with PNG-encoded bytes based on the given Image.
// Returns true if the Image was encoded successfully.
-UI_API bool PNGEncodedDataFromImage(const Image& image,
- std::vector<unsigned char>* dst);
+UI_EXPORT bool PNGEncodedDataFromImage(const Image& image,
+ std::vector<unsigned char>* dst);
// Fills the |dst| vector with JPEG-encoded bytes based on the given Image.
// Returns true if the Image was encoded successfully.
-UI_API bool JPEGEncodedDataFromImage(const Image& image,
- std::vector<unsigned char>* dst);
+UI_EXPORT bool JPEGEncodedDataFromImage(const Image& image,
+ std::vector<unsigned char>* dst);
}
« no previous file with comments | « ui/gfx/image/image.h ('k') | ui/gfx/insets.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698