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

Side by Side Diff: xfa/src/fxbarcode/oned/BC_OneDimWriter.h

Issue 1747123002: Fix and enable lint checks. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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/fxbarcode/BC_TwoDimWriter.h ('k') | xfa/src/fxfa/src/app/xfa_textlayout.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_SRC_FXBARCODE_ONED_BC_ONEDIMWRITER_H_ 7 #ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDIMWRITER_H_
8 #define XFA_SRC_FXBARCODE_ONED_BC_ONEDIMWRITER_H_ 8 #define XFA_SRC_FXBARCODE_ONED_BC_ONEDIMWRITER_H_
9 9
10 #include "core/include/fxge/fx_ge.h" 10 #include "core/include/fxge/fx_ge.h"
(...skipping 16 matching lines...) Expand all
27 uint8_t* Encode(const CFX_ByteString& contents, 27 uint8_t* Encode(const CFX_ByteString& contents,
28 BCFORMAT format, 28 BCFORMAT format,
29 int32_t& outWidth, 29 int32_t& outWidth,
30 int32_t& outHeight, 30 int32_t& outHeight,
31 int32_t hints, 31 int32_t hints,
32 int32_t& e); 32 int32_t& e);
33 virtual uint8_t* Encode(const CFX_ByteString& contents, 33 virtual uint8_t* Encode(const CFX_ByteString& contents,
34 int32_t& outLength, 34 int32_t& outLength,
35 int32_t& e) { 35 int32_t& e) {
36 return NULL; 36 return NULL;
37 }; 37 }
38 virtual void RenderResult(const CFX_WideStringC& contents, 38 virtual void RenderResult(const CFX_WideStringC& contents,
39 uint8_t* code, 39 uint8_t* code,
40 int32_t codeLength, 40 int32_t codeLength,
41 FX_BOOL isDevice, 41 FX_BOOL isDevice,
42 int32_t& e); 42 int32_t& e);
43 virtual void RenderBitmapResult(CFX_DIBitmap*& pOutBitmap, 43 virtual void RenderBitmapResult(CFX_DIBitmap*& pOutBitmap,
44 const CFX_WideStringC& contents, 44 const CFX_WideStringC& contents,
45 int32_t& e); 45 int32_t& e);
46 virtual void RenderDeviceResult(CFX_RenderDevice* device, 46 virtual void RenderDeviceResult(CFX_RenderDevice* device,
47 const CFX_Matrix* matrix, 47 const CFX_Matrix* matrix,
48 const CFX_WideStringC& contents, 48 const CFX_WideStringC& contents,
49 int32_t& e); 49 int32_t& e);
50 virtual FX_BOOL CheckContentValidity(const CFX_WideStringC& contents) { 50 virtual FX_BOOL CheckContentValidity(const CFX_WideStringC& contents) {
51 return TRUE; 51 return TRUE;
52 }; 52 }
53 virtual CFX_WideString FilterContents(const CFX_WideStringC& contents) { 53 virtual CFX_WideString FilterContents(const CFX_WideStringC& contents) {
54 return CFX_WideString(); 54 return CFX_WideString();
55 } 55 }
56 virtual CFX_WideString RenderTextContents(const CFX_WideStringC& contents) { 56 virtual CFX_WideString RenderTextContents(const CFX_WideStringC& contents) {
57 return CFX_WideString(); 57 return CFX_WideString();
58 } 58 }
59 virtual void SetPrintChecksum(FX_BOOL checksum); 59 virtual void SetPrintChecksum(FX_BOOL checksum);
60 virtual void SetDataLength(int32_t length); 60 virtual void SetDataLength(int32_t length);
61 virtual void SetCalcChecksum(int32_t state); 61 virtual void SetCalcChecksum(int32_t state);
62 virtual void SetFontSize(FX_FLOAT size); 62 virtual void SetFontSize(FX_FLOAT size);
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 int32_t AppendPattern(uint8_t* target, 111 int32_t AppendPattern(uint8_t* target,
112 int32_t pos, 112 int32_t pos,
113 const int32_t* pattern, 113 const int32_t* pattern,
114 int32_t patternLength, 114 int32_t patternLength,
115 int32_t startColor, 115 int32_t startColor,
116 int32_t& e); 116 int32_t& e);
117 FX_WCHAR Upper(FX_WCHAR ch); 117 FX_WCHAR Upper(FX_WCHAR ch);
118 }; 118 };
119 119
120 #endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDIMWRITER_H_ 120 #endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDIMWRITER_H_
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/BC_TwoDimWriter.h ('k') | xfa/src/fxfa/src/app/xfa_textlayout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698