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

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

Issue 7328011: Introduce ui.dll / libui.so for the component build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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') | ui/ui.gyp » ('J')
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 92815)
+++ ui/gfx/image/image_util.h (working copy)
@@ -9,6 +9,7 @@
#include <vector>
#include "base/basictypes.h"
+#include "ui/ui_api.h"
namespace gfx {
class Image;
@@ -18,12 +19,13 @@
// 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.
-Image* ImageFromPNGEncodedData(const unsigned char* input, size_t input_size);
+UI_API 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.
-bool PNGEncodedDataFromImage(const Image& image,
- std::vector<unsigned char>* dst);
+UI_API bool PNGEncodedDataFromImage(const Image& image,
+ std::vector<unsigned char>* dst);
}
« no previous file with comments | « ui/gfx/image/image.h ('k') | ui/gfx/insets.h » ('j') | ui/ui.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698