summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_widgetmgr.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-08-16 11:08:33 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-16 17:19:42 +0000
commit816d7e4a0dccc049a1defe8a17e1b05c211665e1 (patch)
treea93c632b87bd4614ad34a570bb86e7cf8b6c44fb /xfa/fwl/cfwl_widgetmgr.h
parent0c6b07d3fdbbabda8753e6457f4323237fc5be30 (diff)
downloadpdfium-816d7e4a0dccc049a1defe8a17e1b05c211665e1.tar.xz
Remove CFWL_WidgetMgrDelegate
This class is actually an accidentally renamed interface. There is only one concrete class so fold the interface back into the concrete class. Change-Id: If921a34595fad85750389f071ffdc9a5eae09f8e Reviewed-on: https://pdfium-review.googlesource.com/11150 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fwl/cfwl_widgetmgr.h')
-rw-r--r--xfa/fwl/cfwl_widgetmgr.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/xfa/fwl/cfwl_widgetmgr.h b/xfa/fwl/cfwl_widgetmgr.h
index 3b26c7155d..9ea2238c4f 100644
--- a/xfa/fwl/cfwl_widgetmgr.h
+++ b/xfa/fwl/cfwl_widgetmgr.h
@@ -12,7 +12,6 @@
#include <vector>
#include "core/fxcrt/fx_system.h"
-#include "xfa/fwl/ifwl_widgetmgrdelegate.h"
#include "xfa/fxgraphics/cxfa_graphics.h"
#define FWL_WGTMGR_DisableForm 0x00000002
@@ -24,17 +23,16 @@ class CXFA_Graphics;
class CFX_Matrix;
class CFWL_Widget;
-class CFWL_WidgetMgr : public CFWL_WidgetMgrDelegate {
+class CFWL_WidgetMgr {
public:
explicit CFWL_WidgetMgr(CXFA_FFApp* pAdapterNative);
~CFWL_WidgetMgr();
- // CFWL_WidgetMgrDelegate
- void OnSetCapability(uint32_t dwCapability) override;
- void OnProcessMessageToForm(CFWL_Message* pMessage) override;
+ void OnSetCapability(uint32_t dwCapability);
+ void OnProcessMessageToForm(CFWL_Message* pMessage);
void OnDrawWidget(CFWL_Widget* pWidget,
CXFA_Graphics* pGraphics,
- const CFX_Matrix* pMatrix) override;
+ const CFX_Matrix* pMatrix);
CFWL_Widget* GetParentWidget(CFWL_Widget* pWidget) const;
CFWL_Widget* GetOwnerWidget(CFWL_Widget* pWidget) const;