diff options
author | Lei Zhang <thestig@chromium.org> | 2015-06-19 14:58:28 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-06-19 14:58:28 -0700 |
commit | 568aff520b4ca33d851317a4ea88807b4fd2da40 (patch) | |
tree | 02c6409057908381d36efcd556dd8082044d5509 /xfa/include/fwl/core/fwl_widget.h | |
parent | c49828916f5b0766f8d6f0fd5bf0a6cc5bd3c1ec (diff) | |
download | pdfium-568aff520b4ca33d851317a4ea88807b4fd2da40.tar.xz |
Fix -Wnon-virtual-dtor warnings on the XFA branch.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1183483003.
Diffstat (limited to 'xfa/include/fwl/core/fwl_widget.h')
-rw-r--r-- | xfa/include/fwl/core/fwl_widget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xfa/include/fwl/core/fwl_widget.h b/xfa/include/fwl/core/fwl_widget.h index b6377cdc9f..6c3164c5e0 100644 --- a/xfa/include/fwl/core/fwl_widget.h +++ b/xfa/include/fwl/core/fwl_widget.h @@ -15,9 +15,11 @@ class IFWL_WidgetDelegate; class IFWL_Custom;
class IFWL_Proxy;
class IFWL_Form;
+
class IFWL_DataProvider
{
public:
+ virtual ~IFWL_DataProvider() {}
virtual FWL_ERR GetCaption(IFWL_Widget *pWidget, CFX_WideString &wsCaption) = 0;
};
class IFWL_Widget : public IFWL_Target
@@ -59,6 +61,7 @@ public: class IFWL_WidgetDelegate
{
public:
+ virtual ~IFWL_WidgetDelegate() {}
virtual int32_t OnProcessMessage(CFWL_Message *pMessage) = 0;
virtual FWL_ERR OnProcessEvent(CFWL_Event *pEvent) = 0;
virtual FWL_ERR OnDrawWidget(CFX_Graphics *pGraphics, const CFX_Matrix *pMatrix = NULL) = 0;
@@ -103,6 +106,7 @@ protected: class IFWL_Proxy
{
public:
+ virtual ~IFWL_Proxy() {}
virtual FWL_ERR GetWidgetRect(CFX_RectF &rect, FX_BOOL bAutoSize = FALSE) = 0;
virtual FWL_ERR Update() = 0;
};
|