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

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

Issue 2044093002: Blink image-decoders: (lazy) deferred image decoding support for ICO (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // Allows creating readonly snapshots that may be read in another thread. 88 // Allows creating readonly snapshots that may be read in another thread.
89 OwnPtr<SkRWBuffer> m_rwBuffer; 89 OwnPtr<SkRWBuffer> m_rwBuffer;
90 bool m_allDataReceived; 90 bool m_allDataReceived;
91 OwnPtr<ImageDecoder> m_actualDecoder; 91 OwnPtr<ImageDecoder> m_actualDecoder;
92 92
93 String m_filenameExtension; 93 String m_filenameExtension;
94 IntSize m_size; 94 IntSize m_size;
95 int m_repetitionCount; 95 int m_repetitionCount;
96 bool m_hasColorProfile; 96 bool m_hasColorProfile;
97 bool m_canYUVDecode; 97 bool m_canYUVDecode;
98 bool m_hasHotSpot;
99 IntPoint m_hotSpot;
98 100
99 // Caches frame state information. 101 // Caches frame state information.
100 Vector<DeferredFrameData> m_frameData; 102 Vector<DeferredFrameData> m_frameData;
101 RefPtr<ImageFrameGenerator> m_frameGenerator; 103 RefPtr<ImageFrameGenerator> m_frameGenerator;
102 }; 104 };
103 105
104 } // namespace blink 106 } // namespace blink
105 107
106 #endif 108 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698