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

Unified Diff: ui/gfx/codec/png_codec.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/codec/jpeg_codec.h ('k') | ui/gfx/color_analysis.h » ('j') | ui/ui.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/codec/png_codec.h
===================================================================
--- ui/gfx/codec/png_codec.h (revision 92815)
+++ ui/gfx/codec/png_codec.h (working copy)
@@ -10,6 +10,7 @@
#include <vector>
#include "base/basictypes.h"
+#include "ui/ui_api.h"
class SkBitmap;
@@ -23,7 +24,7 @@
// isn't as robust as would be required for a browser (see Decode() for more).
// WebKit has its own more complicated PNG decoder which handles, among other
// things, partially downloaded data.
-class PNGCodec {
+class UI_API PNGCodec {
public:
enum ColorFormat {
// 3 bytes per pixel (packed), in RGB order regardless of endianness.
@@ -43,7 +44,7 @@
};
// Represents a comment in the tEXt ancillary chunk of the png.
- struct Comment {
+ struct UI_API Comment {
Comment(const std::string& k, const std::string& t);
~Comment();
« no previous file with comments | « ui/gfx/codec/jpeg_codec.h ('k') | ui/gfx/color_analysis.h » ('j') | ui/ui.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698