Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: fpdfsdk/include/cpdfsdk_annothandlermgr.h

Issue 2323203002: Define behaviors of FPDF_RenderPageBitmap_Retail and FPDF_FFLDraw. (Closed)
Patch Set: roll DEPS Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/fsdk_mgr.cpp ('k') | fpdfsdk/include/cpdfsdk_baannothandler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef FPDFSDK_INCLUDE_CPDFSDK_ANNOTHANDLERMGR_H_ 7 #ifndef FPDFSDK_INCLUDE_CPDFSDK_ANNOTHANDLERMGR_H_
8 #define FPDFSDK_INCLUDE_CPDFSDK_ANNOTHANDLERMGR_H_ 8 #define FPDFSDK_INCLUDE_CPDFSDK_ANNOTHANDLERMGR_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 30 matching lines...) Expand all
41 #endif // PDF_ENABLE_XFA 41 #endif // PDF_ENABLE_XFA
42 virtual void ReleaseAnnot(CPDFSDK_Annot* pAnnot); 42 virtual void ReleaseAnnot(CPDFSDK_Annot* pAnnot);
43 43
44 virtual void Annot_OnCreate(CPDFSDK_Annot* pAnnot); 44 virtual void Annot_OnCreate(CPDFSDK_Annot* pAnnot);
45 virtual void Annot_OnLoad(CPDFSDK_Annot* pAnnot); 45 virtual void Annot_OnLoad(CPDFSDK_Annot* pAnnot);
46 46
47 IPDFSDK_AnnotHandler* GetAnnotHandler(CPDFSDK_Annot* pAnnot) const; 47 IPDFSDK_AnnotHandler* GetAnnotHandler(CPDFSDK_Annot* pAnnot) const;
48 virtual void Annot_OnDraw(CPDFSDK_PageView* pPageView, 48 virtual void Annot_OnDraw(CPDFSDK_PageView* pPageView,
49 CPDFSDK_Annot* pAnnot, 49 CPDFSDK_Annot* pAnnot,
50 CFX_RenderDevice* pDevice, 50 CFX_RenderDevice* pDevice,
51 CFX_Matrix* pUser2Device); 51 CFX_Matrix* pUser2Device,
52 bool bDrawAnnots);
52 53
53 virtual void Annot_OnMouseEnter(CPDFSDK_PageView* pPageView, 54 virtual void Annot_OnMouseEnter(CPDFSDK_PageView* pPageView,
54 CPDFSDK_Annot* pAnnot, 55 CPDFSDK_Annot* pAnnot,
55 uint32_t nFlags); 56 uint32_t nFlags);
56 virtual void Annot_OnMouseExit(CPDFSDK_PageView* pPageView, 57 virtual void Annot_OnMouseExit(CPDFSDK_PageView* pPageView,
57 CPDFSDK_Annot* pAnnot, 58 CPDFSDK_Annot* pAnnot,
58 uint32_t nFlags); 59 uint32_t nFlags);
59 virtual FX_BOOL Annot_OnLButtonDown(CPDFSDK_PageView* pPageView, 60 virtual FX_BOOL Annot_OnLButtonDown(CPDFSDK_PageView* pPageView,
60 CPDFSDK_Annot* pAnnot, 61 CPDFSDK_Annot* pAnnot,
61 uint32_t nFlags, 62 uint32_t nFlags,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 std::unique_ptr<CPDFSDK_BAAnnotHandler> m_pBAAnnotHandler; 115 std::unique_ptr<CPDFSDK_BAAnnotHandler> m_pBAAnnotHandler;
115 std::unique_ptr<CPDFSDK_WidgetHandler> m_pWidgetHandler; 116 std::unique_ptr<CPDFSDK_WidgetHandler> m_pWidgetHandler;
116 #ifdef PDF_ENABLE_XFA 117 #ifdef PDF_ENABLE_XFA
117 std::unique_ptr<CPDFSDK_XFAWidgetHandler> m_pXFAWidgetHandler; 118 std::unique_ptr<CPDFSDK_XFAWidgetHandler> m_pXFAWidgetHandler;
118 #endif // PDF_ENABLE_XFA 119 #endif // PDF_ENABLE_XFA
119 120
120 CPDFDoc_Environment* m_pApp; 121 CPDFDoc_Environment* m_pApp;
121 }; 122 };
122 123
123 #endif // FPDFSDK_INCLUDE_CPDFSDK_ANNOTHANDLERMGR_H_ 124 #endif // FPDFSDK_INCLUDE_CPDFSDK_ANNOTHANDLERMGR_H_
OLDNEW
« no previous file with comments | « fpdfsdk/fsdk_mgr.cpp ('k') | fpdfsdk/include/cpdfsdk_baannothandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698