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

Side by Side Diff: third_party/WebKit/Source/platform/image-decoders/ImageFrame.h

Issue 2798863003: Rewrite references to "wtf/" to "platform/wtf/" in platform/image-decoders. (Closed)
Patch Set: Remove unused RefPtr.h. Created 3 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
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) Research In Motion Limited 2009-2010. All rights reserved. 3 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 11 matching lines...) Expand all
22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 #ifndef ImageFrame_h 27 #ifndef ImageFrame_h
28 #define ImageFrame_h 28 #define ImageFrame_h
29 29
30 #include "platform/PlatformExport.h" 30 #include "platform/PlatformExport.h"
31 #include "platform/geometry/IntRect.h" 31 #include "platform/geometry/IntRect.h"
32 #include "platform/wtf/Allocator.h"
33 #include "platform/wtf/Assertions.h"
34 #include "platform/wtf/PassRefPtr.h"
32 #include "public/platform/WebVector.h" 35 #include "public/platform/WebVector.h"
33 #include "third_party/skia/include/core/SkBitmap.h" 36 #include "third_party/skia/include/core/SkBitmap.h"
34 #include "third_party/skia/include/core/SkColorPriv.h" 37 #include "third_party/skia/include/core/SkColorPriv.h"
35 #include "third_party/skia/include/core/SkImage.h" 38 #include "third_party/skia/include/core/SkImage.h"
36 #include "wtf/Allocator.h"
37 #include "wtf/Assertions.h"
38 #include "wtf/PassRefPtr.h"
39 39
40 namespace blink { 40 namespace blink {
41 41
42 // ImageFrame represents the decoded image data. This buffer is what all 42 // ImageFrame represents the decoded image data. This buffer is what all
43 // decoders write a single frame into. 43 // decoders write a single frame into.
44 class PLATFORM_EXPORT ImageFrame final { 44 class PLATFORM_EXPORT ImageFrame final {
45 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); 45 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
46 46
47 public: 47 public:
48 enum Status { FrameEmpty, FramePartial, FrameComplete }; 48 enum Status { FrameEmpty, FramePartial, FrameComplete };
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 // The frame that must be decoded before this frame can be decoded. 292 // The frame that must be decoded before this frame can be decoded.
293 // WTF::kNotFound if this frame doesn't require any previous frame. 293 // WTF::kNotFound if this frame doesn't require any previous frame.
294 // This is used by ImageDecoder::clearCacheExceptFrame(), and will never 294 // This is used by ImageDecoder::clearCacheExceptFrame(), and will never
295 // be read for image formats that do not have multiple frames. 295 // be read for image formats that do not have multiple frames.
296 size_t m_requiredPreviousFrameIndex; 296 size_t m_requiredPreviousFrameIndex;
297 }; 297 };
298 298
299 } // namespace blink 299 } // namespace blink
300 300
301 #endif 301 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698