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

Side by Side Diff: Source/platform/graphics/ImageBuffer.h

Issue 319183004: Prefer to forward-declare GraphicsContext in headers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: schenney nit (pare down platform/geometry/ includes to *Rect.h) Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2007, 2008, 2009 Apple Inc. All rights reserved. 3 * Copyright (C) 2007, 2008, 2009 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. 4 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 15 matching lines...) Expand all
26 */ 26 */
27 27
28 #ifndef ImageBuffer_h 28 #ifndef ImageBuffer_h
29 #define ImageBuffer_h 29 #define ImageBuffer_h
30 30
31 #include "platform/PlatformExport.h" 31 #include "platform/PlatformExport.h"
32 #include "platform/geometry/FloatRect.h" 32 #include "platform/geometry/FloatRect.h"
33 #include "platform/geometry/IntSize.h" 33 #include "platform/geometry/IntSize.h"
34 #include "platform/graphics/Canvas2DLayerBridge.h" 34 #include "platform/graphics/Canvas2DLayerBridge.h"
35 #include "platform/graphics/ColorSpace.h" 35 #include "platform/graphics/ColorSpace.h"
36 #include "platform/graphics/GraphicsContext.h"
37 #include "platform/graphics/GraphicsTypes.h" 36 #include "platform/graphics/GraphicsTypes.h"
38 #include "platform/graphics/GraphicsTypes3D.h" 37 #include "platform/graphics/GraphicsTypes3D.h"
39 #include "platform/graphics/ImageBufferSurface.h" 38 #include "platform/graphics/ImageBufferSurface.h"
40 #include "platform/transforms/AffineTransform.h" 39 #include "platform/transforms/AffineTransform.h"
41 #include "wtf/Forward.h" 40 #include "wtf/Forward.h"
42 #include "wtf/OwnPtr.h" 41 #include "wtf/OwnPtr.h"
43 #include "wtf/PassOwnPtr.h" 42 #include "wtf/PassOwnPtr.h"
44 #include "wtf/PassRefPtr.h" 43 #include "wtf/PassRefPtr.h"
45 #include "wtf/Uint8ClampedArray.h" 44 #include "wtf/Uint8ClampedArray.h"
46 #include "wtf/Vector.h" 45 #include "wtf/Vector.h"
47 46
48 class SkCanvas; 47 class SkCanvas;
49 48
50 namespace blink { 49 namespace blink {
51 class WebGraphicsContext3D; 50 class WebGraphicsContext3D;
52 } 51 }
53 52
54 namespace WebCore { 53 namespace WebCore {
55 54
56 class DrawingBuffer; 55 class DrawingBuffer;
56 class GraphicsContext;
57 class Image; 57 class Image;
58 class ImageBufferClient; 58 class ImageBufferClient;
59 class IntPoint; 59 class IntPoint;
60 class IntRect; 60 class IntRect;
61 61
62 enum Multiply { 62 enum Multiply {
63 Premultiplied, 63 Premultiplied,
64 Unmultiplied 64 Unmultiplied
65 }; 65 };
66 66
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 IntSize m_size; 150 IntSize m_size;
151 RefPtr<Uint8ClampedArray> m_data; 151 RefPtr<Uint8ClampedArray> m_data;
152 }; 152 };
153 153
154 String PLATFORM_EXPORT ImageDataToDataURL(const ImageDataBuffer&, const String& mimeType, const double* quality); 154 String PLATFORM_EXPORT ImageDataToDataURL(const ImageDataBuffer&, const String& mimeType, const double* quality);
155 155
156 } // namespace WebCore 156 } // namespace WebCore
157 157
158 #endif // ImageBuffer_h 158 #endif // ImageBuffer_h
OLDNEW
« no previous file with comments | « Source/platform/graphics/GraphicsLayer.cpp ('k') | Source/platform/graphics/filters/FEMorphology.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698