summaryrefslogtreecommitdiff
path: root/fpdfsdk/pwl/cpwl_wnd.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-10-17 09:08:26 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-17 14:30:31 +0000
commit6dc4fb899acfee6261a44cde8015b5c8f3eb75a3 (patch)
tree712f5b8e4e943ec6b8a36c979444a48189a7f8a0 /fpdfsdk/pwl/cpwl_wnd.h
parent38ce5278ad391b66716425788b45a0bfa2331412 (diff)
downloadpdfium-6dc4fb899acfee6261a44cde8015b5c8f3eb75a3.tar.xz
Remove friends from PWL classes
This CL removes the friend entries from the various pwl/ classes. Change-Id: Ib93a2bedcde521eb92e53580b5d7cd9bca08902f Reviewed-on: https://pdfium-review.googlesource.com/16150 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/pwl/cpwl_wnd.h')
-rw-r--r--fpdfsdk/pwl/cpwl_wnd.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/fpdfsdk/pwl/cpwl_wnd.h b/fpdfsdk/pwl/cpwl_wnd.h
index a9a434dbd1..ba52420ade 100644
--- a/fpdfsdk/pwl/cpwl_wnd.h
+++ b/fpdfsdk/pwl/cpwl_wnd.h
@@ -249,9 +249,10 @@ class CPWL_Wnd : public CPWL_TimerHandler, public Observable<CPWL_Wnd> {
void SetChildMatrix(const CFX_Matrix& mt);
CFX_Matrix GetWindowMatrix() const;
- protected:
- friend class CPWL_MsgControl;
+ virtual void OnSetFocus();
+ virtual void OnKillFocus();
+ protected:
// CPWL_TimerHandler
CFX_SystemHandler* GetSystemHandler() const override;
@@ -267,9 +268,6 @@ class CPWL_Wnd : public CPWL_TimerHandler, public Observable<CPWL_Wnd> {
virtual void OnCreated();
virtual void OnDestroy();
- virtual void OnSetFocus();
- virtual void OnKillFocus();
-
void SetNotifyFlag(bool bNotifying = true) { m_bNotifying = bNotifying; }
bool IsNotifying() const { return m_bNotifying; }
bool IsValid() const { return m_bCreated; }