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

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

Issue 14476012: Absolutify paths to most subfolders of platform/graphics/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: iwyu Created 7 years, 8 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 10 matching lines...) Expand all
21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28 #ifndef ImageBuffer_h 28 #ifndef ImageBuffer_h
29 #define ImageBuffer_h 29 #define ImageBuffer_h
30 30
31 #include "AffineTransform.h"
32 #include "ImageBufferDataSkia.h"
33 #include "core/platform/graphics/ColorSpace.h" 31 #include "core/platform/graphics/ColorSpace.h"
34 #include "core/platform/graphics/FloatRect.h" 32 #include "core/platform/graphics/FloatRect.h"
35 #include "core/platform/graphics/GraphicsContext.h" 33 #include "core/platform/graphics/GraphicsContext.h"
36 #include "core/platform/graphics/GraphicsTypes.h" 34 #include "core/platform/graphics/GraphicsTypes.h"
37 #include "core/platform/graphics/GraphicsTypes3D.h" 35 #include "core/platform/graphics/GraphicsTypes3D.h"
38 #include "core/platform/graphics/IntSize.h" 36 #include "core/platform/graphics/IntSize.h"
39 #include "core/platform/graphics/PlatformLayer.h" 37 #include "core/platform/graphics/PlatformLayer.h"
38 #include "core/platform/graphics/chromium/ImageBufferDataSkia.h"
39 #include "core/platform/graphics/transforms/AffineTransform.h"
40 #include <wtf/Forward.h> 40 #include <wtf/Forward.h>
41 #include <wtf/OwnPtr.h> 41 #include <wtf/OwnPtr.h>
42 #include <wtf/PassOwnPtr.h> 42 #include <wtf/PassOwnPtr.h>
43 #include <wtf/PassRefPtr.h> 43 #include <wtf/PassRefPtr.h>
44 #include <wtf/Uint8ClampedArray.h> 44 #include <wtf/Uint8ClampedArray.h>
45 #include <wtf/Vector.h> 45 #include <wtf/Vector.h>
46 46
47 namespace WebCore { 47 namespace WebCore {
48 48
49 class Image; 49 class Image;
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 // so that create() knows when it should return failure. 146 // so that create() knows when it should return failure.
147 ImageBuffer(const IntSize&, float resolutionScale, ColorSpace, Rendering Mode, bool& success); 147 ImageBuffer(const IntSize&, float resolutionScale, ColorSpace, Rendering Mode, bool& success);
148 ImageBuffer(const IntSize&, float resolutionScale, ColorSpace, const Gra phicsContext*, bool hasAlpha, bool& success); 148 ImageBuffer(const IntSize&, float resolutionScale, ColorSpace, const Gra phicsContext*, bool hasAlpha, bool& success);
149 }; 149 };
150 150
151 String ImageDataToDataURL(const ImageData&, const String& mimeType, const do uble* quality); 151 String ImageDataToDataURL(const ImageData&, const String& mimeType, const do uble* quality);
152 152
153 } // namespace WebCore 153 } // namespace WebCore
154 154
155 #endif // ImageBuffer_h 155 #endif // ImageBuffer_h
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/Image.cpp ('k') | Source/core/platform/graphics/ImageOrientation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698