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

Side by Side Diff: xfa/fwl/core/cfwl_barcode.h

Issue 2488963005: Continue IFWL widget cleanup. (Closed)
Patch Set: Rebase to master 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 | « no previous file | xfa/fwl/core/cfwl_barcode.cpp » ('j') | xfa/fwl/core/cfwl_barcode.cpp » ('J')
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_FWL_CORE_CFWL_BARCODE_H_ 7 #ifndef XFA_FWL_CORE_CFWL_BARCODE_H_
8 #define XFA_FWL_CORE_CFWL_BARCODE_H_ 8 #define XFA_FWL_CORE_CFWL_BARCODE_H_
9 9
10 #include "xfa/fwl/core/cfwl_edit.h" 10 #include "xfa/fwl/core/cfwl_edit.h"
(...skipping 19 matching lines...) Expand all
30 void SetTextLocation(BC_TEXT_LOC location); 30 void SetTextLocation(BC_TEXT_LOC location);
31 void SetWideNarrowRatio(int32_t ratio); 31 void SetWideNarrowRatio(int32_t ratio);
32 void SetStartChar(FX_CHAR startChar); 32 void SetStartChar(FX_CHAR startChar);
33 void SetEndChar(FX_CHAR endChar); 33 void SetEndChar(FX_CHAR endChar);
34 void SetVersion(int32_t version); 34 void SetVersion(int32_t version);
35 void SetErrorCorrectionLevel(int32_t ecLevel); 35 void SetErrorCorrectionLevel(int32_t ecLevel);
36 void SetTruncated(bool truncated); 36 void SetTruncated(bool truncated);
37 void ResetBarcodeAttributes(); 37 void ResetBarcodeAttributes();
38 38
39 // IFWL_DataProvider 39 // IFWL_DataProvider
40 FWL_Error GetCaption(IFWL_Widget* pWidget, 40 void GetCaption(IFWL_Widget* pWidget, CFX_WideString& wsCaption) override;
41 CFX_WideString& wsCaption) override;
42 41
43 // IFWL_BarcodeDP 42 // IFWL_BarcodeDP
44 BC_CHAR_ENCODING GetCharEncoding() const override; 43 BC_CHAR_ENCODING GetCharEncoding() const override;
45 int32_t GetModuleHeight() const override; 44 int32_t GetModuleHeight() const override;
46 int32_t GetModuleWidth() const override; 45 int32_t GetModuleWidth() const override;
47 int32_t GetDataLength() const override; 46 int32_t GetDataLength() const override;
48 bool GetCalChecksum() const override; 47 bool GetCalChecksum() const override;
49 bool GetPrintChecksum() const override; 48 bool GetPrintChecksum() const override;
50 BC_TEXT_LOC GetTextLocation() const override; 49 BC_TEXT_LOC GetTextLocation() const override;
51 int32_t GetWideNarrowRatio() const override; 50 int32_t GetWideNarrowRatio() const override;
(...skipping 15 matching lines...) Expand all
67 int32_t m_nWideNarrowRatio; 66 int32_t m_nWideNarrowRatio;
68 FX_CHAR m_cStartChar; 67 FX_CHAR m_cStartChar;
69 FX_CHAR m_cEndChar; 68 FX_CHAR m_cEndChar;
70 int32_t m_nVersion; 69 int32_t m_nVersion;
71 int32_t m_nECLevel; 70 int32_t m_nECLevel;
72 bool m_bTruncated; 71 bool m_bTruncated;
73 uint32_t m_dwAttributeMask; 72 uint32_t m_dwAttributeMask;
74 }; 73 };
75 74
76 #endif // XFA_FWL_CORE_CFWL_BARCODE_H_ 75 #endif // XFA_FWL_CORE_CFWL_BARCODE_H_
OLDNEW
« no previous file with comments | « no previous file | xfa/fwl/core/cfwl_barcode.cpp » ('j') | xfa/fwl/core/cfwl_barcode.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698