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

Side by Side Diff: sky/engine/platform/image-decoders/gif/GIFImageReader.h

Issue 746023002: Make absolute and sort all Sky headers (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* ***** BEGIN LICENSE BLOCK ***** 2 /* ***** BEGIN LICENSE BLOCK *****
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 * 4 *
5 * The contents of this file are subject to the Mozilla Public License Version 5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with 6 * 1.1 (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at 7 * the License. You may obtain a copy of the License at
8 * http://www.mozilla.org/MPL/ 8 * http://www.mozilla.org/MPL/
9 * 9 *
10 * Software distributed under the License is distributed on an "AS IS" basis, 10 * Software distributed under the License is distributed on an "AS IS" basis,
(...skipping 22 matching lines...) Expand all
33 * the provisions above, a recipient may use your version of this file under 33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL. 34 * the terms of any one of the MPL, the GPL or the LGPL.
35 * 35 *
36 * ***** END LICENSE BLOCK ***** */ 36 * ***** END LICENSE BLOCK ***** */
37 37
38 #ifndef GIFImageReader_h 38 #ifndef GIFImageReader_h
39 #define GIFImageReader_h 39 #define GIFImageReader_h
40 40
41 // Define ourselves as the clientPtr. Mozilla just hacked their C++ callback cl ass into this old C decoder, 41 // Define ourselves as the clientPtr. Mozilla just hacked their C++ callback cl ass into this old C decoder,
42 // so we will too. 42 // so we will too.
43 #include "platform/SharedBuffer.h"
44 #include "platform/image-decoders/gif/GIFImageDecoder.h" 43 #include "platform/image-decoders/gif/GIFImageDecoder.h"
45 #include "wtf/Noncopyable.h" 44 #include "sky/engine/platform/SharedBuffer.h"
46 #include "wtf/OwnPtr.h" 45 #include "sky/engine/wtf/Noncopyable.h"
47 #include "wtf/PassOwnPtr.h" 46 #include "sky/engine/wtf/OwnPtr.h"
48 #include "wtf/Vector.h" 47 #include "sky/engine/wtf/PassOwnPtr.h"
48 #include "sky/engine/wtf/Vector.h"
49 49
50 namespace blink { 50 namespace blink {
51 51
52 #define MAX_DICTIONARY_ENTRY_BITS 12 52 #define MAX_DICTIONARY_ENTRY_BITS 12
53 #define MAX_DICTIONARY_ENTRIES 4096 // 2^MAX_DICTIONARY_ENTRY_BITS 53 #define MAX_DICTIONARY_ENTRIES 4096 // 2^MAX_DICTIONARY_ENTRY_BITS
54 #define MAX_COLORS 256 54 #define MAX_COLORS 256
55 #define BYTES_PER_COLORMAP_ENTRY 3 55 #define BYTES_PER_COLORMAP_ENTRY 3
56 56
57 const int cLoopCountNotSeen = -2; 57 const int cLoopCountNotSeen = -2;
58 58
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 358
359 Vector<OwnPtr<GIFFrameContext> > m_frames; 359 Vector<OwnPtr<GIFFrameContext> > m_frames;
360 360
361 RefPtr<blink::SharedBuffer> m_data; 361 RefPtr<blink::SharedBuffer> m_data;
362 bool m_parseCompleted; 362 bool m_parseCompleted;
363 }; 363 };
364 364
365 } // namespace blink 365 } // namespace blink
366 366
367 #endif 367 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698