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

Unified Diff: ui/gfx/codec/png_codec.h

Issue 2755563002: Move ui/gfx/codec/ into its own component. (Closed)
Patch Set: none Created 3 years, 9 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/codec/skia_image_encoder_adapter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/codec/png_codec.h
diff --git a/ui/gfx/codec/png_codec.h b/ui/gfx/codec/png_codec.h
index ba8c8159c2f01f31ce124ead26e5f29e6397737a..bcc30e758e6e91e1e249571d14a006884bbbf2f6 100644
--- a/ui/gfx/codec/png_codec.h
+++ b/ui/gfx/codec/png_codec.h
@@ -11,7 +11,7 @@
#include <vector>
#include "base/macros.h"
-#include "ui/gfx/gfx_export.h"
+#include "ui/gfx/codec/codec_export.h"
class SkBitmap;
@@ -25,7 +25,7 @@ class Size;
// 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 GFX_EXPORT PNGCodec {
+class CODEC_EXPORT PNGCodec {
public:
enum ColorFormat {
// 3 bytes per pixel (packed), in RGB order regardless of endianness.
@@ -47,7 +47,7 @@ class GFX_EXPORT PNGCodec {
};
// Represents a comment in the tEXt ancillary chunk of the png.
- struct GFX_EXPORT Comment {
+ struct CODEC_EXPORT 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/codec/skia_image_encoder_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698