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

Side by Side Diff: core/fxcodec/codec/ccodec_gifmodule.h

Issue 2477443002: Remove FX_BOOL from core (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « core/fxcodec/codec/ccodec_flatemodule.h ('k') | core/fxcodec/codec/ccodec_jpegmodule.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef CORE_FXCODEC_CODEC_CCODEC_GIFMODULE_H_ 7 #ifndef CORE_FXCODEC_CODEC_CCODEC_GIFMODULE_H_
8 #define CORE_FXCODEC_CODEC_CCODEC_GIFMODULE_H_ 8 #define CORE_FXCODEC_CODEC_CCODEC_GIFMODULE_H_
9 9
10 #include "core/fxcrt/fx_system.h" 10 #include "core/fxcrt/fx_system.h"
(...skipping 24 matching lines...) Expand all
35 int32_t LoadFrameInfo(FXGIF_Context* pContext, int* frame_num); 35 int32_t LoadFrameInfo(FXGIF_Context* pContext, int* frame_num);
36 36
37 int32_t LoadFrame(FXGIF_Context* pContext, 37 int32_t LoadFrame(FXGIF_Context* pContext,
38 int frame_num, 38 int frame_num,
39 CFX_DIBAttribute* pAttribute); 39 CFX_DIBAttribute* pAttribute);
40 40
41 void (*RecordCurrentPositionCallback)(void* pModule, uint32_t& cur_pos); 41 void (*RecordCurrentPositionCallback)(void* pModule, uint32_t& cur_pos);
42 uint8_t* (*AskLocalPaletteBufCallback)(void* pModule, 42 uint8_t* (*AskLocalPaletteBufCallback)(void* pModule,
43 int32_t frame_num, 43 int32_t frame_num,
44 int32_t pal_size); 44 int32_t pal_size);
45 FX_BOOL (*InputRecordPositionBufCallback)(void* pModule, 45 bool (*InputRecordPositionBufCallback)(void* pModule,
46 uint32_t rcd_pos, 46 uint32_t rcd_pos,
47 const FX_RECT& img_rc, 47 const FX_RECT& img_rc,
48 int32_t pal_num, 48 int32_t pal_num,
49 void* pal_ptr, 49 void* pal_ptr,
50 int32_t delay_time, 50 int32_t delay_time,
51 FX_BOOL user_input, 51 bool user_input,
52 int32_t trans_index, 52 int32_t trans_index,
53 int32_t disposal_method, 53 int32_t disposal_method,
54 FX_BOOL interlace); 54 bool interlace);
55 void (*ReadScanlineCallback)(void* pModule, 55 void (*ReadScanlineCallback)(void* pModule,
56 int32_t row_num, 56 int32_t row_num,
57 uint8_t* row_buf); 57 uint8_t* row_buf);
58 58
59 protected: 59 protected:
60 FX_CHAR m_szLastError[256]; 60 FX_CHAR m_szLastError[256];
61 }; 61 };
62 62
63 #endif // CORE_FXCODEC_CODEC_CCODEC_GIFMODULE_H_ 63 #endif // CORE_FXCODEC_CODEC_CCODEC_GIFMODULE_H_
OLDNEW
« no previous file with comments | « core/fxcodec/codec/ccodec_flatemodule.h ('k') | core/fxcodec/codec/ccodec_jpegmodule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698