Chromium Code Reviews| Index: xfa/fxfa/app/xfa_ffnotify.h |
| diff --git a/xfa/fxfa/app/xfa_ffnotify.h b/xfa/fxfa/app/xfa_ffnotify.h |
| index 6bf39ee6d2d60a7dc73ddbbc9847114b649614b2..a34dd44ee7210acb03154fc6dcf5cc32d30251f2 100644 |
| --- a/xfa/fxfa/app/xfa_ffnotify.h |
| +++ b/xfa/fxfa/app/xfa_ffnotify.h |
| @@ -32,11 +32,12 @@ class CXFA_FFNotify { |
| void* pAdditional = NULL, |
| void* pAdditional2 = NULL); |
| CXFA_LayoutItem* OnCreateLayoutItem(CXFA_Node* pNode); |
| - void OnLayoutEvent(CXFA_LayoutProcessor* pLayout, |
| - CXFA_LayoutItem* pSender, |
| - XFA_LAYOUTEVENT eEvent, |
| - void* pParam = NULL, |
| - void* pParam2 = NULL); |
| + void OnLayoutItemAdd(CXFA_LayoutProcessor* pLayout, |
| + CXFA_LayoutItem* pSender, |
| + int32_t iPageIdx, |
| + uint32_t dwStatus); |
| + void OnLayoutItemRemoving(CXFA_LayoutProcessor* pLayout, |
|
Tom Sepez
2016/04/14 22:45:44
nit: verb tense. OnLayoutItemAdded/Removed to mat
Lei Zhang
2016/04/15 01:16:40
Added / Removing (since it's called right before t
|
| + CXFA_LayoutItem* pSender); |
| void StartFieldDrawLayout(CXFA_Node* pItem, |
| FX_FLOAT& fCalcWidth, |
| @@ -75,27 +76,8 @@ class CXFA_FFNotify { |
| void* pParam4); |
| void OnChildAdded(CXFA_Node* pSender, void* pParam, void* pParam2); |
| void OnChildRemoved(CXFA_Node* pSender, void* pParam, void* pParam2); |
| - void OnLayoutItemAdd(CXFA_FFDocView* pDocView, |
| - CXFA_LayoutProcessor* pLayout, |
| - CXFA_LayoutItem* pSender, |
| - void* pParam, |
| - void* pParam2); |
| - void OnLayoutItemRemoving(CXFA_FFDocView* pDocView, |
| - CXFA_LayoutProcessor* pLayout, |
| - CXFA_LayoutItem* pSender, |
| - void* pParam, |
| - void* pParam2); |
| - void OnLayoutItemRectChanged(CXFA_FFDocView* pDocView, |
| - CXFA_LayoutProcessor* pLayout, |
| - CXFA_LayoutItem* pSender, |
| - void* pParam, |
| - void* pParam2); |
| - void OnLayoutItemStatustChanged(CXFA_FFDocView* pDocView, |
| - CXFA_LayoutProcessor* pLayout, |
| - CXFA_LayoutItem* pSender, |
| - void* pParam, |
| - void* pParam2); |
| - CXFA_FFDoc* m_pDoc; |
| + |
| + CXFA_FFDoc* const m_pDoc; |
| }; |
| #endif // XFA_FXFA_APP_XFA_FFNOTIFY_H_ |