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

Side by Side Diff: Source/core/platform/graphics/ImageSource.cpp

Issue 14488003: Absolutify paths to platform/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: scripts, 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 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
3 * Copyright (C) 2007 Alp Toker <alp.toker@collabora.co.uk> 3 * Copyright (C) 2007 Alp Toker <alp.toker@collabora.co.uk>
4 * Copyright (C) 2008, Google Inc. All rights reserved. 4 * Copyright (C) 2008, Google Inc. All rights reserved.
5 * Copyright (C) 2007-2009 Torch Mobile, Inc 5 * Copyright (C) 2007-2009 Torch Mobile, Inc
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 13 matching lines...) Expand all
24 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #include "config.h" 29 #include "config.h"
30 #include "core/platform/graphics/ImageSource.h" 30 #include "core/platform/graphics/ImageSource.h"
31 31
32 #include "core/platform/image-decoders/ImageDecoder.h" 32 #include "core/platform/image-decoders/ImageDecoder.h"
33 33
34 #include "NotImplemented.h" 34 #include "core/platform/NotImplemented.h"
35 #include "PlatformMemoryInstrumentation.h" 35 #include "core/platform/PlatformMemoryInstrumentation.h"
36 #include "core/platform/graphics/ImageOrientation.h" 36 #include "core/platform/graphics/ImageOrientation.h"
37 37
38 #include "core/platform/graphics/chromium/DeferredImageDecoder.h" 38 #include "core/platform/graphics/chromium/DeferredImageDecoder.h"
39 39
40 namespace WebCore { 40 namespace WebCore {
41 41
42 #if ENABLE(IMAGE_DECODER_DOWN_SAMPLING) 42 #if ENABLE(IMAGE_DECODER_DOWN_SAMPLING)
43 unsigned ImageSource::s_maxPixelsPerDecodedImage = 1024 * 1024; 43 unsigned ImageSource::s_maxPixelsPerDecodedImage = 1024 * 1024;
44 #endif 44 #endif
45 45
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 return m_decoder->frameBytesAtIndex(index); 203 return m_decoder->frameBytesAtIndex(index);
204 } 204 }
205 205
206 void ImageSource::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const 206 void ImageSource::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
207 { 207 {
208 MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Image); 208 MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Image);
209 info.addMember(m_decoder, "decoder"); 209 info.addMember(m_decoder, "decoder");
210 } 210 }
211 211
212 } 212 }
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/ImageBuffer.cpp ('k') | Source/core/platform/graphics/LayoutBoxExtent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698