From 35512aa7e4acc3ceb9c6aef5d61eebfb4ae802af Mon Sep 17 00:00:00 2001 From: jaepark Date: Mon, 29 Aug 2016 17:15:08 -0700 Subject: Display content of the annotation when mouse hover. Each annotation has its contents, and users should be able to see the contents. In this patch, PDFium creates a Popup annotation for each annotation and stores the author and the content. When a user mouse hover on the annotation, PDFium draws the corresponding Popup annotation and displays the content. Also, roll DEPS for testing/corpus to 5867fa6. BUG=62625 Review-Url: https://codereview.chromium.org/2273893002 --- fpdfsdk/include/fsdk_mgr.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'fpdfsdk/include/fsdk_mgr.h') diff --git a/fpdfsdk/include/fsdk_mgr.h b/fpdfsdk/include/fsdk_mgr.h index 2892407f3f..924cd444e0 100644 --- a/fpdfsdk/include/fsdk_mgr.h +++ b/fpdfsdk/include/fsdk_mgr.h @@ -616,10 +616,8 @@ class CPDFSDK_PageView final : public CPDF_Page::View { std::unique_ptr m_pAnnotList; std::vector m_fxAnnotArray; CPDFSDK_Document* const m_pSDKDoc; -#ifdef PDF_ENABLE_XFA CPDFSDK_Annot* m_CaptureWidget; -#else // PDF_ENABLE_XFA - CPDFSDK_Widget* m_CaptureWidget; +#ifndef PDF_ENABLE_XFA FX_BOOL m_bTakeOverPage; #endif // PDF_ENABLE_XFA FX_BOOL m_bEnterWidget; -- cgit v1.2.3