diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-09-21 15:43:56 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-21 19:57:09 +0000 |
commit | a5eb9f05b7c3f82630784e043ccf75c4e019b18f (patch) | |
tree | 5c4adb283ed60a04661b28c6bcbda59aabf2f8fd /xfa/fwl/cfwl_widgetmgr.h | |
parent | 65ecca4bc9c8e043b355c459486870ac1518095d (diff) | |
download | pdfium-a5eb9f05b7c3f82630784e043ccf75c4e019b18f.tar.xz |
Cleanup WidgetMgr ownership
The CXFA_FFApp can get the FWLWidgetMgr from the CFWL_App and does not
need to store a copy. This removes the need to pass the delegate into
the GetFWLAdapterWidgetMgr() method and we can set the capabilities
directy.
Change-Id: If4794d07fa0fb5dd32b816a21f04e6d7710886ca
Reviewed-on: https://pdfium-review.googlesource.com/14611
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa/fwl/cfwl_widgetmgr.h')
-rw-r--r-- | xfa/fwl/cfwl_widgetmgr.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xfa/fwl/cfwl_widgetmgr.h b/xfa/fwl/cfwl_widgetmgr.h index f633ba8706..c7e48a1f60 100644 --- a/xfa/fwl/cfwl_widgetmgr.h +++ b/xfa/fwl/cfwl_widgetmgr.h @@ -28,7 +28,6 @@ class CFWL_WidgetMgr { explicit CFWL_WidgetMgr(CXFA_FFApp* pAdapterNative); ~CFWL_WidgetMgr(); - void OnSetCapability(uint32_t dwCapability); void OnProcessMessageToForm(CFWL_Message* pMessage); void OnDrawWidget(CFWL_Widget* pWidget, CXFA_Graphics* pGraphics, |