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

Side by Side Diff: xfa/src/fxfa/src/app/xfa_ffbarcode.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/fxfa/src/app/xfa_ffapp.cpp ('k') | xfa/src/fxfa/src/app/xfa_ffbarcode.cpp » ('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 _FXFA_FORMFILLER_BARCODE_IMP_H 7 #ifndef _FXFA_FORMFILLER_BARCODE_IMP_H
8 #define _FXFA_FORMFILLER_BARCODE_IMP_H 8 #define _FXFA_FORMFILLER_BARCODE_IMP_H
9 class CXFA_FFTextEdit; 9 class CXFA_FFTextEdit;
10 class CXFA_FFBarcode : public CXFA_FFTextEdit 10 class CXFA_FFBarcode : public CXFA_FFTextEdit
11 { 11 {
12 public: 12 public:
13 CXFA_FFBarcode(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); 13 CXFA_FFBarcode(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc);
14 virtual ~CXFA_FFBarcode(); 14 virtual ~CXFA_FFBarcode();
15 virtual FX_BOOL LoadWidget(); 15 virtual FX_BOOL LoadWidget();
16 virtual void» RenderWidget(CFX_Graphics* pGS, CFX_Matrix* pMatrix = NU LL, FX_DWORD dwStatus = 0, FX_INT32 iRotate = 0); 16 virtual void» RenderWidget(CFX_Graphics* pGS, CFX_Matrix* pMatrix = NU LL, FX_DWORD dwStatus = 0, int32_t iRotate = 0);
17 virtual void UpdateWidgetProperty(); 17 virtual void UpdateWidgetProperty();
18 virtual FX_BOOL OnLButtonDown(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy ); 18 virtual FX_BOOL OnLButtonDown(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy );
19 virtual FX_BOOL OnRButtonDown(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy ); 19 virtual FX_BOOL OnRButtonDown(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy );
20 }; 20 };
21 enum XFA_BARCODETYPEENUM { 21 enum XFA_BARCODETYPEENUM {
22 XFA_BARCODETYPE_aztec, 22 XFA_BARCODETYPE_aztec,
23 XFA_BARCODETYPE_codabar, 23 XFA_BARCODETYPE_codabar,
24 XFA_BARCODETYPE_code11, 24 XFA_BARCODETYPE_code11,
25 XFA_BARCODETYPE_code128, 25 XFA_BARCODETYPE_code128,
26 XFA_BARCODETYPE_code128A, 26 XFA_BARCODETYPE_code128A,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 XFA_BARCODETYPE_upcAadd5, 76 XFA_BARCODETYPE_upcAadd5,
77 XFA_BARCODETYPE_upcApwcd, 77 XFA_BARCODETYPE_upcApwcd,
78 XFA_BARCODETYPE_upcE, 78 XFA_BARCODETYPE_upcE,
79 XFA_BARCODETYPE_upcEadd2, 79 XFA_BARCODETYPE_upcEadd2,
80 XFA_BARCODETYPE_upcEadd5, 80 XFA_BARCODETYPE_upcEadd5,
81 XFA_BARCODETYPE_upcean2, 81 XFA_BARCODETYPE_upcean2,
82 XFA_BARCODETYPE_upcean5, 82 XFA_BARCODETYPE_upcean5,
83 XFA_BARCODETYPE_upsMaxicode 83 XFA_BARCODETYPE_upsMaxicode
84 }; 84 };
85 struct XFA_BARCODETYPEENUMINFO { 85 struct XFA_BARCODETYPEENUMINFO {
86 FX_UINT32» » » » » uHash; 86 uint32_t» » » » » uHash;
87 FX_LPCWSTR pName; 87 FX_LPCWSTR pName;
88 XFA_BARCODETYPEENUM eName; 88 XFA_BARCODETYPEENUM eName;
89 BC_TYPE eBCType; 89 BC_TYPE eBCType;
90 }; 90 };
91 typedef XFA_BARCODETYPEENUMINFO const * XFA_LPCBARCODETYPEENUMINFO; 91 typedef XFA_BARCODETYPEENUMINFO const * XFA_LPCBARCODETYPEENUMINFO;
92 extern const XFA_BARCODETYPEENUMINFO g_XFABarCodeTypeEnumData[]; 92 extern const XFA_BARCODETYPEENUMINFO g_XFABarCodeTypeEnumData[];
93 #endif 93 #endif
OLDNEW
« no previous file with comments | « xfa/src/fxfa/src/app/xfa_ffapp.cpp ('k') | xfa/src/fxfa/src/app/xfa_ffbarcode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698