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

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

Issue 2522663002: Remove the GetCaption dataprovider method (Closed)
Patch Set: Remove tooltip 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 | « BUILD.gn ('k') | xfa/fwl/core/cfwl_barcode.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 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"
11 #include "xfa/fwl/core/fwl_error.h" 11 #include "xfa/fwl/core/fwl_error.h"
12 #include "xfa/fwl/core/ifwl_barcode.h" 12 #include "xfa/fwl/core/ifwl_barcode.h"
13 13
14 class CFWL_Barcode : public CFWL_Edit, public IFWL_Barcode::DataProvider { 14 class CFWL_Barcode : public CFWL_Edit, public IFWL_Barcode::DataProvider {
15 public: 15 public:
16 explicit CFWL_Barcode(const IFWL_App* pApp); 16 explicit CFWL_Barcode(const IFWL_App* pApp);
17 ~CFWL_Barcode() override; 17 ~CFWL_Barcode() override;
18 18
19 void Initialize(); 19 void Initialize();
20 20
21 // IFWL_Widget::DataProvider
22 void GetCaption(IFWL_Widget* pWidget, CFX_WideString& wsCaption) override;
23
24 // IFWL_Barcode::DataProvider 21 // IFWL_Barcode::DataProvider
25 BC_CHAR_ENCODING GetCharEncoding() const override; 22 BC_CHAR_ENCODING GetCharEncoding() const override;
26 int32_t GetModuleHeight() const override; 23 int32_t GetModuleHeight() const override;
27 int32_t GetModuleWidth() const override; 24 int32_t GetModuleWidth() const override;
28 int32_t GetDataLength() const override; 25 int32_t GetDataLength() const override;
29 bool GetCalChecksum() const override; 26 bool GetCalChecksum() const override;
30 bool GetPrintChecksum() const override; 27 bool GetPrintChecksum() const override;
31 BC_TEXT_LOC GetTextLocation() const override; 28 BC_TEXT_LOC GetTextLocation() const override;
32 int32_t GetWideNarrowRatio() const override; 29 int32_t GetWideNarrowRatio() const override;
33 FX_CHAR GetStartChar() const override; 30 FX_CHAR GetStartChar() const override;
(...skipping 29 matching lines...) Expand all
63 BC_TEXT_LOC m_eTextLocation; 60 BC_TEXT_LOC m_eTextLocation;
64 int32_t m_nWideNarrowRatio; 61 int32_t m_nWideNarrowRatio;
65 FX_CHAR m_cStartChar; 62 FX_CHAR m_cStartChar;
66 FX_CHAR m_cEndChar; 63 FX_CHAR m_cEndChar;
67 int32_t m_nECLevel; 64 int32_t m_nECLevel;
68 bool m_bTruncated; 65 bool m_bTruncated;
69 uint32_t m_dwAttributeMask; 66 uint32_t m_dwAttributeMask;
70 }; 67 };
71 68
72 #endif // XFA_FWL_CORE_CFWL_BARCODE_H_ 69 #endif // XFA_FWL_CORE_CFWL_BARCODE_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | xfa/fwl/core/cfwl_barcode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698