summaryrefslogtreecommitdiff
path: root/xfa/include/fwl/core/fwl_note.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-06-19 14:58:28 -0700
committerLei Zhang <thestig@chromium.org>2015-06-19 14:58:28 -0700
commit568aff520b4ca33d851317a4ea88807b4fd2da40 (patch)
tree02c6409057908381d36efcd556dd8082044d5509 /xfa/include/fwl/core/fwl_note.h
parentc49828916f5b0766f8d6f0fd5bf0a6cc5bd3c1ec (diff)
downloadpdfium-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_note.h')
-rw-r--r--xfa/include/fwl/core/fwl_note.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xfa/include/fwl/core/fwl_note.h b/xfa/include/fwl/core/fwl_note.h
index ea8328fffb..c423cd5a24 100644
--- a/xfa/include/fwl/core/fwl_note.h
+++ b/xfa/include/fwl/core/fwl_note.h
@@ -346,6 +346,7 @@ typedef enum {
class IFWL_NoteDriver
{
public:
+ virtual ~IFWL_NoteDriver() {}
virtual FX_BOOL SendNote(CFWL_Note *pNote) = 0;
virtual FX_BOOL PostMessage(CFWL_Message *pMessage) = 0;
virtual FWL_ERR RegisterEventTarget(IFWL_Widget *pListener, IFWL_Widget *pEventSource = NULL, FX_DWORD dwFilter = FWL_EVENT_ALL_MASK) = 0;
@@ -363,12 +364,14 @@ IFWL_Widget* FWL_GetCurrentThreadModalWidget(IFWL_NoteThread *pNoteThread);
class IFWL_NoteLoop
{
public:
+ virtual ~IFWL_NoteLoop() {}
virtual FX_BOOL PreProcessMessage(CFWL_Message *pMessage) = 0;
virtual FWL_ERR Idle(int32_t count) = 0;
};
class IFWL_ToolTipTarget
{
public:
+ virtual ~IFWL_ToolTipTarget() {}
virtual IFWL_Widget* GetWidget() = 0;
virtual FX_BOOL IsShowed() = 0;
virtual FWL_ERR DrawToolTip(CFX_Graphics *pGraphics, const CFX_Matrix *pMatrix, IFWL_Widget *pToolTip) = 0;