diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-07-05 16:00:48 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-05 21:24:34 +0000 |
commit | 0fdd1aea658bc65e4d136c58818451b9ddad00e0 (patch) | |
tree | 7b435514a01e74198159de880f65408e1b77ab2e /fpdfsdk/pdfwindow/cpwl_combo_box.h | |
parent | d32623b507c7e78221eb9f5f62641e3113501a5c (diff) | |
download | pdfium-0fdd1aea658bc65e4d136c58818451b9ddad00e0.tar.xz |
Cleanup IOn* methods and CPWL_CBEdit
This CL removes various IOn* methods and consolidates code where
possible. The CPWL_CBEdit class is also removed as it was a subclass
of CPWL_Edit which added no extra functionality.
Change-Id: Ifac579ab252b7ca64f8c9b3caeac443683a39c58
Reviewed-on: https://pdfium-review.googlesource.com/7279
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/pdfwindow/cpwl_combo_box.h')
-rw-r--r-- | fpdfsdk/pdfwindow/cpwl_combo_box.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_combo_box.h b/fpdfsdk/pdfwindow/cpwl_combo_box.h index 15915e64b4..25f0886fe4 100644 --- a/fpdfsdk/pdfwindow/cpwl_combo_box.h +++ b/fpdfsdk/pdfwindow/cpwl_combo_box.h @@ -14,12 +14,6 @@ #include "fpdfsdk/pdfwindow/cpwl_list_box.h" #include "fpdfsdk/pdfwindow/cpwl_wnd.h" -class CPWL_CBEdit : public CPWL_Edit { - public: - CPWL_CBEdit() {} - ~CPWL_CBEdit() override {} -}; - class CPWL_CBListBox : public CPWL_ListBox { public: CPWL_CBListBox() {} @@ -93,7 +87,7 @@ class CPWL_ComboBox : public CPWL_Wnd { void CreateListBox(const PWL_CREATEPARAM& cp); void SetPopup(bool bPopup); - CFX_UnownedPtr<CPWL_CBEdit> m_pEdit; + CFX_UnownedPtr<CPWL_Edit> m_pEdit; CFX_UnownedPtr<CPWL_CBButton> m_pButton; CFX_UnownedPtr<CPWL_CBListBox> m_pList; CFX_FloatRect m_rcOldWindow; |