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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h

Issue 2798823002: Rewrite references to "wtf/" to "platform/wtf/" in platform/graphics. (Closed)
Patch Set: 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
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 10 matching lines...) Expand all
21 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef DecodingImageGenerator_h 26 #ifndef DecodingImageGenerator_h
27 #define DecodingImageGenerator_h 27 #define DecodingImageGenerator_h
28 28
29 #include "platform/PlatformExport.h" 29 #include "platform/PlatformExport.h"
30 #include "platform/image-decoders/SegmentReader.h" 30 #include "platform/image-decoders/SegmentReader.h"
31 #include "platform/wtf/Allocator.h"
32 #include "platform/wtf/Noncopyable.h"
33 #include "platform/wtf/PassRefPtr.h"
34 #include "platform/wtf/RefPtr.h"
31 #include "third_party/skia/include/core/SkImageGenerator.h" 35 #include "third_party/skia/include/core/SkImageGenerator.h"
32 #include "third_party/skia/include/core/SkImageInfo.h" 36 #include "third_party/skia/include/core/SkImageInfo.h"
33 #include "wtf/Allocator.h"
34 #include "wtf/Noncopyable.h"
35 #include "wtf/PassRefPtr.h"
36 #include "wtf/RefPtr.h"
37 37
38 class SkData; 38 class SkData;
39 39
40 namespace blink { 40 namespace blink {
41 41
42 class ImageFrameGenerator; 42 class ImageFrameGenerator;
43 43
44 // Implements SkImageGenerator, used by SkPixelRef to populate a discardable 44 // Implements SkImageGenerator, used by SkPixelRef to populate a discardable
45 // memory with a decoded image frame. ImageFrameGenerator does the actual 45 // memory with a decoded image frame. ImageFrameGenerator does the actual
46 // decoding. 46 // decoding.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 RefPtr<ImageFrameGenerator> m_frameGenerator; 81 RefPtr<ImageFrameGenerator> m_frameGenerator;
82 const RefPtr<SegmentReader> m_data; // Data source. 82 const RefPtr<SegmentReader> m_data; // Data source.
83 const bool m_allDataReceived; 83 const bool m_allDataReceived;
84 const size_t m_frameIndex; 84 const size_t m_frameIndex;
85 bool m_canYUVDecode; 85 bool m_canYUVDecode;
86 }; 86 };
87 87
88 } // namespace blink 88 } // namespace blink
89 89
90 #endif // DecodingImageGenerator_h_ 90 #endif // DecodingImageGenerator_h_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698