diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-10 14:01:19 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-10 14:01:19 -0800 |
commit | 522c3d414e26a8a6b14407d664cee38fa3f52c07 (patch) | |
tree | c28e0d90fb00dd51860784504a5bd2b5ac161e9c /xfa/fwl/core/ifwl_barcode.h | |
parent | 08959c6b72b4fff388e2771b04929a3abc8f6615 (diff) | |
download | pdfium-522c3d414e26a8a6b14407d664cee38fa3f52c07.tar.xz |
IFWL method and param cleanup
Cleaning up virtual methods, unused methods, and visibility.
Review-Url: https://codereview.chromium.org/2491103002
Diffstat (limited to 'xfa/fwl/core/ifwl_barcode.h')
-rw-r--r-- | xfa/fwl/core/ifwl_barcode.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/xfa/fwl/core/ifwl_barcode.h b/xfa/fwl/core/ifwl_barcode.h index 28025fc8bc..1d88c32259 100644 --- a/xfa/fwl/core/ifwl_barcode.h +++ b/xfa/fwl/core/ifwl_barcode.h @@ -9,6 +9,7 @@ #include <memory> +#include "xfa/fwl/core/ifwl_dataprovider.h" #include "xfa/fwl/core/ifwl_edit.h" #include "xfa/fwl/core/ifwl_scrollbar.h" #include "xfa/fxbarcode/BC_Library.h" @@ -37,7 +38,7 @@ enum FWL_BCDAttribute { FWL_BCDATTRIBUTE_TRUNCATED = 1 << 12 }; -class IFWL_BarcodeDP : public IFWL_EditDP { +class IFWL_BarcodeDP : public IFWL_DataProvider { public: virtual BC_CHAR_ENCODING GetCharEncoding() const = 0; virtual int32_t GetModuleHeight() const = 0; @@ -66,9 +67,11 @@ class IFWL_Barcode : public IFWL_Edit { void Update() override; void DrawWidget(CFX_Graphics* pGraphics, const CFX_Matrix* pMatrix = nullptr) override; - FWL_Error SetText(const CFX_WideString& wsText) override; void OnProcessEvent(CFWL_Event* pEvent) override; + // IFWL_Edit + void SetText(const CFX_WideString& wsText) override; + void SetType(BC_TYPE type); bool IsProtectedType(); |