diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-10-04 19:29:30 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-04 19:29:30 +0000 |
commit | d8ac668fad0211b5d8055866f835d38315d5dabb (patch) | |
tree | 7e571c9f7418623015b094c3fdee4965aa079885 /fpdfsdk/pwl/cpwl_special_button.cpp | |
parent | 7c40157c9d8d72b91dcde3e79f2a083e4319e2eb (diff) | |
download | pdfium-d8ac668fad0211b5d8055866f835d38315d5dabb.tar.xz |
Remove CPWL_Wnd::GetClassName() and overrides.
It's only used in two tests, and there it is not essential, so save
some strings and vtable space.
Change-Id: If8c68e5e2580dbe588bccb942f9008efb66fe490
Reviewed-on: https://pdfium-review.googlesource.com/c/43472
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/pwl/cpwl_special_button.cpp')
-rw-r--r-- | fpdfsdk/pwl/cpwl_special_button.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fpdfsdk/pwl/cpwl_special_button.cpp b/fpdfsdk/pwl/cpwl_special_button.cpp index f95918f60a..061d024382 100644 --- a/fpdfsdk/pwl/cpwl_special_button.cpp +++ b/fpdfsdk/pwl/cpwl_special_button.cpp @@ -13,10 +13,6 @@ CPWL_PushButton::CPWL_PushButton() {} CPWL_PushButton::~CPWL_PushButton() {} -ByteString CPWL_PushButton::GetClassName() const { - return "CPWL_PushButton"; -} - CFX_FloatRect CPWL_PushButton::GetFocusRect() const { return GetWindowRect().GetDeflated(static_cast<float>(GetBorderWidth()), static_cast<float>(GetBorderWidth())); @@ -26,10 +22,6 @@ CPWL_CheckBox::CPWL_CheckBox() : m_bChecked(false) {} CPWL_CheckBox::~CPWL_CheckBox() {} -ByteString CPWL_CheckBox::GetClassName() const { - return "CPWL_CheckBox"; -} - void CPWL_CheckBox::SetCheck(bool bCheck) { m_bChecked = bCheck; } @@ -55,10 +47,6 @@ CPWL_RadioButton::CPWL_RadioButton() : m_bChecked(false) {} CPWL_RadioButton::~CPWL_RadioButton() {} -ByteString CPWL_RadioButton::GetClassName() const { - return "CPWL_RadioButton"; -} - bool CPWL_RadioButton::OnLButtonUp(const CFX_PointF& point, uint32_t nFlag) { if (IsReadOnly()) return false; |