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

Side by Side Diff: xfa/src/fgas/include/fx_sax.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 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
« no previous file with comments | « xfa/src/fgas/include/fx_rbk.h ('k') | xfa/src/fgas/include/fx_stm.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 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 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 _FX_SAX_ 7 #ifndef _FX_SAX_
8 #define _FX_SAX_ 8 #define _FX_SAX_
9 class IFX_SAXReaderHandler; 9 class IFX_SAXReaderHandler;
10 class IFX_SAXReader; 10 class IFX_SAXReader;
(...skipping 21 matching lines...) Expand all
32 virtual void OnTagBreak(FX_LPVOID pTag) = 0; 32 virtual void OnTagBreak(FX_LPVOID pTag) = 0;
33 virtual void OnTagData(FX_LPVOID pTag, FX_SAXNODE eType, FX_B STR bsData, FX_DWORD dwStartPos) = 0; 33 virtual void OnTagData(FX_LPVOID pTag, FX_SAXNODE eType, FX_B STR bsData, FX_DWORD dwStartPos) = 0;
34 virtual void OnTagClose(FX_LPVOID pTag, FX_DWORD dwEndPos) = 0; 34 virtual void OnTagClose(FX_LPVOID pTag, FX_DWORD dwEndPos) = 0;
35 virtual void OnTagEnd(FX_LPVOID pTag, FX_BSTR bsTagName, FX_D WORD dwEndPos) = 0; 35 virtual void OnTagEnd(FX_LPVOID pTag, FX_BSTR bsTagName, FX_D WORD dwEndPos) = 0;
36 virtual void OnTargetData(FX_LPVOID pTag, FX_SAXNODE eType, F X_BSTR bsData, FX_DWORD dwStartPos) = 0; 36 virtual void OnTargetData(FX_LPVOID pTag, FX_SAXNODE eType, F X_BSTR bsData, FX_DWORD dwStartPos) = 0;
37 }; 37 };
38 class IFX_SAXReader 38 class IFX_SAXReader
39 { 39 {
40 public: 40 public:
41 virtual void Release() = 0; 41 virtual void Release() = 0;
42 virtual FX_INT32» StartParse(IFX_FileRead *pFile, FX_DWORD dwStart = 0, FX _DWORD dwLen = -1, FX_DWORD dwParseMode = 0) = 0; 42 virtual int32_t» StartParse(IFX_FileRead *pFile, FX_DWORD dwStart = 0, FX _DWORD dwLen = -1, FX_DWORD dwParseMode = 0) = 0;
43 virtual FX_INT32» ContinueParse(IFX_Pause *pPause = NULL) = 0; 43 virtual int32_t» ContinueParse(IFX_Pause *pPause = NULL) = 0;
44 virtual void SkipCurrentNode() = 0; 44 virtual void SkipCurrentNode() = 0;
45 virtual void SetHandler(IFX_SAXReaderHandler *pHandler) = 0; 45 virtual void SetHandler(IFX_SAXReaderHandler *pHandler) = 0;
46 }; 46 };
47 IFX_SAXReader* FX_SAXReader_Create(); 47 IFX_SAXReader* FX_SAXReader_Create();
48 #endif 48 #endif
OLDNEW
« no previous file with comments | « xfa/src/fgas/include/fx_rbk.h ('k') | xfa/src/fgas/include/fx_stm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698