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

Side by Side Diff: xfa/include/fwl/lightwidget/barcode.h

Issue 1722803002: Sort includes in xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review cleanups Created 4 years, 10 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/include/fwl/fwl.h ('k') | xfa/include/fwl/theme/barcodetp.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_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_ 7 #ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_
8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_ 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_
9 9
10 #include "xfa/include/fwl/lightwidget/edit.h"
11
10 class CFWL_Widget; 12 class CFWL_Widget;
11 class CFWL_WidgetProperties; 13 class CFWL_WidgetProperties;
12 class IFWL_BarcodeDP; 14 class IFWL_BarcodeDP;
13 class CFWL_Edit;
14 class CFWL_Barcode;
15 class CFWL_BarcodeDP; 15 class CFWL_BarcodeDP;
16
16 class CFWL_Barcode : public CFWL_Edit { 17 class CFWL_Barcode : public CFWL_Edit {
17 public: 18 public:
18 static CFWL_Barcode* Create(); 19 static CFWL_Barcode* Create();
19 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); 20 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL);
20 void SetType(BC_TYPE type); 21 void SetType(BC_TYPE type);
21 FX_BOOL IsProtectedType(); 22 FX_BOOL IsProtectedType();
22 23
23 public: 24 public:
24 void SetCharEncoding(BC_CHAR_ENCODING encoding) { 25 void SetCharEncoding(BC_CHAR_ENCODING encoding) {
25 m_barcodeData.m_dwAttributeMask |= FWL_BCDATTRIBUTE_CHARENCODING; 26 m_barcodeData.m_dwAttributeMask |= FWL_BCDATTRIBUTE_CHARENCODING;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 FX_DWORD m_dwAttributeMask; 111 FX_DWORD m_dwAttributeMask;
111 virtual FX_DWORD GetBarcodeAttributeMask() { return m_dwAttributeMask; } 112 virtual FX_DWORD GetBarcodeAttributeMask() { return m_dwAttributeMask; }
112 113
113 public: 114 public:
114 CFWL_BarcodeDP() : m_dwAttributeMask(0) {} 115 CFWL_BarcodeDP() : m_dwAttributeMask(0) {}
115 }; 116 };
116 CFWL_BarcodeDP m_barcodeData; 117 CFWL_BarcodeDP m_barcodeData;
117 }; 118 };
118 119
119 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_ 120 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_
OLDNEW
« no previous file with comments | « xfa/include/fwl/fwl.h ('k') | xfa/include/fwl/theme/barcodetp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698