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

Side by Side Diff: xfa/fxfa/app/xfa_ffbarcode.h

Issue 2071683002: Make code compile with clang_use_chrome_plugin (part V) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: clean up 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
« no previous file with comments | « xfa/fxfa/app/xfa_ffapp.cpp ('k') | xfa/fxfa/app/xfa_ffcheckbutton.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 XFA_FXFA_APP_XFA_FFBARCODE_H_ 7 #ifndef XFA_FXFA_APP_XFA_FFBARCODE_H_
8 #define XFA_FXFA_APP_XFA_FFBARCODE_H_ 8 #define XFA_FXFA_APP_XFA_FFBARCODE_H_
9 9
10 #include "xfa/fxbarcode/include/BC_Library.h" 10 #include "xfa/fxbarcode/include/BC_Library.h"
11 #include "xfa/fxfa/app/xfa_fftextedit.h" 11 #include "xfa/fxfa/app/xfa_fftextedit.h"
12 #include "xfa/fxfa/include/xfa_ffpageview.h" 12 #include "xfa/fxfa/include/xfa_ffpageview.h"
13 13
14 class CXFA_FFBarcode : public CXFA_FFTextEdit { 14 class CXFA_FFBarcode : public CXFA_FFTextEdit {
15 public: 15 public:
16 CXFA_FFBarcode(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); 16 CXFA_FFBarcode(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc);
17 virtual ~CXFA_FFBarcode(); 17 ~CXFA_FFBarcode() override;
18 virtual FX_BOOL LoadWidget(); 18
19 virtual void RenderWidget(CFX_Graphics* pGS, 19 // CXFA_FFTextEdit
20 CFX_Matrix* pMatrix = NULL, 20 FX_BOOL LoadWidget() override;
21 uint32_t dwStatus = 0, 21 void RenderWidget(CFX_Graphics* pGS,
22 int32_t iRotate = 0); 22 CFX_Matrix* pMatrix = NULL,
23 virtual void UpdateWidgetProperty(); 23 uint32_t dwStatus = 0,
24 virtual FX_BOOL OnLButtonDown(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy); 24 int32_t iRotate = 0) override;
25 virtual FX_BOOL OnRButtonDown(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy); 25 void UpdateWidgetProperty() override;
26 FX_BOOL OnLButtonDown(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) override;
27 FX_BOOL OnRButtonDown(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) override;
26 }; 28 };
27 29
28 enum XFA_BARCODETYPEENUM { 30 enum XFA_BARCODETYPEENUM {
29 XFA_BARCODETYPE_aztec, 31 XFA_BARCODETYPE_aztec,
30 XFA_BARCODETYPE_codabar, 32 XFA_BARCODETYPE_codabar,
31 XFA_BARCODETYPE_code11, 33 XFA_BARCODETYPE_code11,
32 XFA_BARCODETYPE_code128, 34 XFA_BARCODETYPE_code128,
33 XFA_BARCODETYPE_code128A, 35 XFA_BARCODETYPE_code128A,
34 XFA_BARCODETYPE_code128B, 36 XFA_BARCODETYPE_code128B,
35 XFA_BARCODETYPE_code128C, 37 XFA_BARCODETYPE_code128C,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 }; 93 };
92 struct XFA_BARCODETYPEENUMINFO { 94 struct XFA_BARCODETYPEENUMINFO {
93 uint32_t uHash; 95 uint32_t uHash;
94 const FX_WCHAR* pName; 96 const FX_WCHAR* pName;
95 XFA_BARCODETYPEENUM eName; 97 XFA_BARCODETYPEENUM eName;
96 BC_TYPE eBCType; 98 BC_TYPE eBCType;
97 }; 99 };
98 typedef XFA_BARCODETYPEENUMINFO const* XFA_LPCBARCODETYPEENUMINFO; 100 typedef XFA_BARCODETYPEENUMINFO const* XFA_LPCBARCODETYPEENUMINFO;
99 101
100 #endif // XFA_FXFA_APP_XFA_FFBARCODE_H_ 102 #endif // XFA_FXFA_APP_XFA_FFBARCODE_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffapp.cpp ('k') | xfa/fxfa/app/xfa_ffcheckbutton.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698