summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/PWL_Wnd.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-09-15 12:41:50 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-15 12:41:50 -0700
commit8faac627c4562098c62f8497e56a44500c3c199b (patch)
tree1eeca4146f5376e4416b39c52a091a6d60d93d54 /fpdfsdk/pdfwindow/PWL_Wnd.h
parent4935e606c632e38af8fca1729f8688fa0d152b90 (diff)
downloadpdfium-8faac627c4562098c62f8497e56a44500c3c199b.tar.xz
Cleanup CFX_SystemHandler.
This CL cleans up signatures and code in CFX_SystemHandler. Review-Url: https://codereview.chromium.org/2341693003
Diffstat (limited to 'fpdfsdk/pdfwindow/PWL_Wnd.h')
-rw-r--r--fpdfsdk/pdfwindow/PWL_Wnd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/pdfwindow/PWL_Wnd.h b/fpdfsdk/pdfwindow/PWL_Wnd.h
index de48a8c82d..ca2b4c77da 100644
--- a/fpdfsdk/pdfwindow/PWL_Wnd.h
+++ b/fpdfsdk/pdfwindow/PWL_Wnd.h
@@ -14,6 +14,7 @@
#include "core/fxcrt/include/fx_basic.h"
#include "fpdfsdk/cfx_systemhandler.h"
+class CPDFSDK_Widget;
class CPWL_MsgControl;
class CPWL_ScrollBar;
class CPWL_Timer;
@@ -197,7 +198,7 @@ struct PWL_CREATEPARAM {
IPWL_FocusHandler* pFocusHandler; // optional
uint32_t dwFlags; // optional
CPWL_Color sBackgroundColor; // optional
- FX_HWND hAttachedWnd; // required for no-reader framework
+ CPDFSDK_Widget* pAttachedWidget; // required for no-reader framework
BorderStyle nBorderStyle; // optional
int32_t dwBorderWidth; // optional
CPWL_Color sBorderColor; // optional
@@ -389,7 +390,6 @@ class CPWL_Wnd : public CPWL_TimerHandler {
void PWLtoWnd(const CFX_FloatPoint& point, int32_t& x, int32_t& y) const;
FX_RECT PWLtoWnd(const CFX_FloatRect& rect) const;
- FX_HWND GetAttachedHWnd() const;
FX_BOOL IsWndCaptureMouse(const CPWL_Wnd* pWnd) const;
FX_BOOL IsWndCaptureKeyboard(const CPWL_Wnd* pWnd) const;