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

Side by Side Diff: xfa/include/fwl/basewidget/fwl_barcode.h

Issue 1509203002: FWL refcounts never incremented (part 1) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: protected Created 5 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 | « no previous file | xfa/include/fwl/basewidget/fwl_caret.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 _FWL_BARCODE_H 7 #ifndef _FWL_BARCODE_H
8 #define _FWL_BARCODE_H 8 #define _FWL_BARCODE_H
9 #include "fwl_edit.h" 9 #include "fwl_edit.h"
10 class CFWL_WidgetImpProperties; 10 class CFWL_WidgetImpProperties;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual int32_t GetWideNarrowRatio() = 0; 42 virtual int32_t GetWideNarrowRatio() = 0;
43 virtual FX_CHAR GetStartChar() = 0; 43 virtual FX_CHAR GetStartChar() = 0;
44 virtual FX_CHAR GetEndChar() = 0; 44 virtual FX_CHAR GetEndChar() = 0;
45 virtual int32_t GetVersion() = 0; 45 virtual int32_t GetVersion() = 0;
46 virtual int32_t GetErrorCorrectionLevel() = 0; 46 virtual int32_t GetErrorCorrectionLevel() = 0;
47 virtual FX_BOOL GetTruncated() = 0; 47 virtual FX_BOOL GetTruncated() = 0;
48 virtual FX_DWORD GetBarcodeAttributeMask() = 0; 48 virtual FX_DWORD GetBarcodeAttributeMask() = 0;
49 }; 49 };
50 class IFWL_Barcode : public IFWL_Edit { 50 class IFWL_Barcode : public IFWL_Edit {
51 public: 51 public:
52 static IFWL_Barcode* Create(); 52 IFWL_Barcode();
53 FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties, 53 FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties,
54 IFWL_Widget* pOuter); 54 IFWL_Widget* pOuter);
55 void SetType(BC_TYPE type); 55 void SetType(BC_TYPE type);
56 FX_BOOL IsProtectedType(); 56 FX_BOOL IsProtectedType();
57
58 protected:
59 IFWL_Barcode();
60 }; 57 };
61 #endif 58 #endif
OLDNEW
« no previous file with comments | « no previous file | xfa/include/fwl/basewidget/fwl_caret.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698