From 134ac9105586407eb3b1e06001101ff893dd4a31 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 15 Sep 2017 15:32:01 -0700 Subject: Introduce CPWL_Wnd::PrivateData class. First step in passing ownership of this memory to the CPWL_Wnd. In turn, nest two other classes that also require PrivateData to satisfy nesting rules. Move one stray #define to the appropriate file while at it. Change-Id: I565934565421f5843a3b792b3bdc21b5e8839eb8 Reviewed-on: https://pdfium-review.googlesource.com/14170 Commit-Queue: Tom Sepez Reviewed-by: Lei Zhang --- fpdfsdk/formfiller/cffl_combobox.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fpdfsdk/formfiller/cffl_combobox.h') diff --git a/fpdfsdk/formfiller/cffl_combobox.h b/fpdfsdk/formfiller/cffl_combobox.h index 7d5a38ef56..dc8441d1cd 100644 --- a/fpdfsdk/formfiller/cffl_combobox.h +++ b/fpdfsdk/formfiller/cffl_combobox.h @@ -19,7 +19,8 @@ struct FFL_ComboBoxState { CFX_WideString sValue; }; -class CFFL_ComboBox : public CFFL_TextObject, public IPWL_FocusHandler { +class CFFL_ComboBox : public CFFL_TextObject, + public CPWL_Wnd::FocusHandlerIface { public: CFFL_ComboBox(CPDFSDK_FormFillEnvironment* pApp, CPDFSDK_Widget* pWidget); ~CFFL_ComboBox() override; @@ -45,7 +46,7 @@ class CFFL_ComboBox : public CFFL_TextObject, public IPWL_FocusHandler { bool IsFieldFull(CPDFSDK_PageView* pPageView) override; #endif - // IPWL_FocusHandler: + // CPWL_Wnd::FocusHandlerIface: void OnSetFocus(CPWL_Edit* pEdit) override; private: -- cgit v1.2.3