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

Unified Diff: Source/platform/graphics/ImageFrameGenerator.h

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 years 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 | « Source/platform/graphics/ImageDecodingStore.cpp ('k') | Source/platform/graphics/ImageFrameGenerator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/ImageFrameGenerator.h
diff --git a/Source/core/platform/graphics/ImageFrameGenerator.h b/Source/platform/graphics/ImageFrameGenerator.h
similarity index 93%
rename from Source/core/platform/graphics/ImageFrameGenerator.h
rename to Source/platform/graphics/ImageFrameGenerator.h
index 627229de8a58afeac626baa0b8dc744ecee1dbd6..964b0937ebfb2980e315d98610e8440b6b67ea8a 100644
--- a/Source/core/platform/graphics/ImageFrameGenerator.h
+++ b/Source/platform/graphics/ImageFrameGenerator.h
@@ -29,6 +29,7 @@
#include "SkBitmap.h"
#include "SkSize.h"
#include "SkTypes.h"
+#include "platform/PlatformExport.h"
#include "platform/graphics/ThreadSafeDataTransport.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/PassRefPtr.h"
@@ -44,13 +45,16 @@ class ImageDecoder;
class ScaledImageFragment;
class SharedBuffer;
-class ImageDecoderFactory {
+class PLATFORM_EXPORT ImageDecoderFactory {
+ WTF_MAKE_NONCOPYABLE(ImageDecoderFactory);
public:
+ ImageDecoderFactory() {}
virtual ~ImageDecoderFactory() { }
virtual PassOwnPtr<ImageDecoder> create() = 0;
};
-class ImageFrameGenerator : public ThreadSafeRefCounted<ImageFrameGenerator> {
+class PLATFORM_EXPORT ImageFrameGenerator : public ThreadSafeRefCounted<ImageFrameGenerator> {
+ WTF_MAKE_NONCOPYABLE(ImageFrameGenerator);
public:
static PassRefPtr<ImageFrameGenerator> create(const SkISize& fullSize, PassRefPtr<SharedBuffer> data, bool allDataReceived, bool isMultiFrame = false)
{
« no previous file with comments | « Source/platform/graphics/ImageDecodingStore.cpp ('k') | Source/platform/graphics/ImageFrameGenerator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698