summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/fwl_widgetimp.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-05-27 11:13:09 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-27 11:13:09 -0700
commita54bc400fa69491ad72ad97f74742ec28cbe849a (patch)
tree3e3897a7b0014a54a70f4c1d992a76566a2ceb99 /xfa/fwl/core/fwl_widgetimp.h
parent816ff7b92ff0f94e4ffaafc975b08d2c4c1a6417 (diff)
downloadpdfium-a54bc400fa69491ad72ad97f74742ec28cbe849a.tar.xz
Add back-pointer to "Associated widget" to CFWL_WidgetImp.
This is the last use of CFX_PrivateData, which is now removed. Review-Url: https://codereview.chromium.org/2016743002
Diffstat (limited to 'xfa/fwl/core/fwl_widgetimp.h')
-rw-r--r--xfa/fwl/core/fwl_widgetimp.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/xfa/fwl/core/fwl_widgetimp.h b/xfa/fwl/core/fwl_widgetimp.h
index 8a887126e3..be97c060f2 100644
--- a/xfa/fwl/core/fwl_widgetimp.h
+++ b/xfa/fwl/core/fwl_widgetimp.h
@@ -52,10 +52,6 @@ class CFWL_WidgetImp {
uint32_t dwStylesExRemoved);
virtual uint32_t GetStates();
virtual void SetStates(uint32_t dwStates, FX_BOOL bSet = TRUE);
- virtual FWL_Error SetPrivateData(void* module_id,
- void* pData,
- PD_CALLBACK_FREEDATA callback);
- virtual void* GetPrivateData(void* module_id);
virtual FWL_Error Update();
virtual FWL_Error LockUpdate();
virtual FWL_Error UnlockUpdate();
@@ -82,6 +78,8 @@ class CFWL_WidgetImp {
void SetEventKey(uint32_t key);
void* GetLayoutItem() const;
void SetLayoutItem(void* pItem);
+ void* GetAssociateWidget() const;
+ void SetAssociateWidget(void* pAssociate);
protected:
friend class CFWL_WidgetImpDelegate;
@@ -159,12 +157,12 @@ class CFWL_WidgetImp {
CFWL_WidgetMgr* m_pWidgetMgr;
CFWL_AppImp* m_pOwnerApp;
CFWL_WidgetImpProperties* m_pProperties;
- CFX_PrivateData* m_pPrivateData;
IFWL_WidgetDelegate* m_pDelegate;
IFWL_WidgetDelegate* m_pCurDelegate;
IFWL_Widget* m_pOuter;
IFWL_Widget* m_pInterface;
void* m_pLayoutItem;
+ void* m_pAssociate;
int32_t m_iLock;
uint32_t m_nEventKey;
};