diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2017-08-22 10:59:49 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-22 17:46:46 +0000 |
commit | 4a6525492593866be3653a8a37923fe876b5171e (patch) | |
tree | b8c919b47c6cc2ea8f5aa67b2c257e6e8b3a371e /fpdfsdk/cpdfsdk_pageview.h | |
parent | 300bb27bf4a9a84fcd3f1348a4c0076d68a305ce (diff) | |
download | pdfium-4a6525492593866be3653a8a37923fe876b5171e.tar.xz |
Simplifying state of CPDFSDK_PageView.
Change-Id: Ic0849cce80e1797637fd875bdedd7cc560b98f22
Reviewed-on: https://pdfium-review.googlesource.com/11210
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_pageview.h')
-rw-r--r-- | fpdfsdk/cpdfsdk_pageview.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/fpdfsdk/cpdfsdk_pageview.h b/fpdfsdk/cpdfsdk_pageview.h index face5072c7..c23aaa7988 100644 --- a/fpdfsdk/cpdfsdk_pageview.h +++ b/fpdfsdk/cpdfsdk_pageview.h @@ -14,6 +14,7 @@ #include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_system.h" #include "fpdfsdk/cpdfsdk_annot.h" +#include "fpdfsdk/cpdfsdk_annothandlermgr.h" class CFX_RenderDevice; class CPDF_AnnotList; @@ -104,6 +105,13 @@ class CPDFSDK_PageView final : public CPDF_Page::View { int GetPageIndexForStaticPDF() const; + void EnterWidget(CPDFSDK_AnnotHandlerMgr* pAnnotHandlerMgr, + CPDFSDK_Annot::ObservedPtr* pAnnot, + uint32_t nFlag); + void ExitWidget(CPDFSDK_AnnotHandlerMgr* pAnnotHandlerMgr, + bool callExitCallback, + uint32_t nFlag); + CFX_Matrix m_curMatrix; UnderlyingPageType* const m_page; std::unique_ptr<CPDF_AnnotList> m_pAnnotList; @@ -113,7 +121,6 @@ class CPDFSDK_PageView final : public CPDF_Page::View { #ifndef PDF_ENABLE_XFA bool m_bOwnsPage; #endif // PDF_ENABLE_XFA - bool m_bEnterWidget; bool m_bOnWidget; bool m_bValid; bool m_bLocked; |