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

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

Issue 2522663002: Remove the GetCaption dataprovider method (Closed)
Patch Set: Remove tooltip Created 4 years 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/fwl/core/cfwl_barcode.h ('k') | xfa/fwl/core/cfwl_checkbox.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 #include "xfa/fwl/core/cfwl_barcode.h" 7 #include "xfa/fwl/core/cfwl_barcode.h"
8 8
9 #include <memory> 9 #include <memory>
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 void CFWL_Barcode::SetType(BC_TYPE type) { 96 void CFWL_Barcode::SetType(BC_TYPE type) {
97 if (GetWidget()) 97 if (GetWidget())
98 ToBarcode(GetWidget())->SetType(type); 98 ToBarcode(GetWidget())->SetType(type);
99 } 99 }
100 100
101 bool CFWL_Barcode::IsProtectedType() { 101 bool CFWL_Barcode::IsProtectedType() {
102 return GetWidget() ? ToBarcode(GetWidget())->IsProtectedType() : false; 102 return GetWidget() ? ToBarcode(GetWidget())->IsProtectedType() : false;
103 } 103 }
104 104
105 void CFWL_Barcode::GetCaption(IFWL_Widget* pWidget, CFX_WideString& wsCaption) {
106 }
107
108 BC_CHAR_ENCODING CFWL_Barcode::GetCharEncoding() const { 105 BC_CHAR_ENCODING CFWL_Barcode::GetCharEncoding() const {
109 return m_eCharEncoding; 106 return m_eCharEncoding;
110 } 107 }
111 108
112 int32_t CFWL_Barcode::GetModuleHeight() const { 109 int32_t CFWL_Barcode::GetModuleHeight() const {
113 return m_nModuleHeight; 110 return m_nModuleHeight;
114 } 111 }
115 112
116 int32_t CFWL_Barcode::GetModuleWidth() const { 113 int32_t CFWL_Barcode::GetModuleWidth() const {
117 return m_nModuleWidth; 114 return m_nModuleWidth;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 return m_nECLevel; 150 return m_nECLevel;
154 } 151 }
155 152
156 bool CFWL_Barcode::GetTruncated() const { 153 bool CFWL_Barcode::GetTruncated() const {
157 return m_bTruncated; 154 return m_bTruncated;
158 } 155 }
159 156
160 uint32_t CFWL_Barcode::GetBarcodeAttributeMask() const { 157 uint32_t CFWL_Barcode::GetBarcodeAttributeMask() const {
161 return m_dwAttributeMask; 158 return m_dwAttributeMask;
162 } 159 }
OLDNEW
« no previous file with comments | « xfa/fwl/core/cfwl_barcode.h ('k') | xfa/fwl/core/cfwl_checkbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698