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

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

Issue 2304613004: Remove unused IPDFSDK_AnnotHandler::OnDrawSleep. (Closed)
Patch Set: 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/include/cpdfsdk_xfawidgethandler.h ('k') | no next file » | 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_IPDFSDK_ANNOTHANDLER_H_ 7 #ifndef FPDFSDK_INCLUDE_IPDFSDK_ANNOTHANDLER_H_
8 #define FPDFSDK_INCLUDE_IPDFSDK_ANNOTHANDLER_H_ 8 #define FPDFSDK_INCLUDE_IPDFSDK_ANNOTHANDLER_H_
9 9
10 #include "core/fxcrt/include/fx_basic.h" 10 #include "core/fxcrt/include/fx_basic.h"
(...skipping 26 matching lines...) Expand all
37 virtual void DeleteAnnot(CPDFSDK_Annot* pAnnot) = 0; 37 virtual void DeleteAnnot(CPDFSDK_Annot* pAnnot) = 0;
38 virtual CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView, 38 virtual CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView,
39 CPDFSDK_Annot* pAnnot) = 0; 39 CPDFSDK_Annot* pAnnot) = 0;
40 virtual FX_BOOL HitTest(CPDFSDK_PageView* pPageView, 40 virtual FX_BOOL HitTest(CPDFSDK_PageView* pPageView,
41 CPDFSDK_Annot* pAnnot, 41 CPDFSDK_Annot* pAnnot,
42 const CFX_FloatPoint& point) = 0; 42 const CFX_FloatPoint& point) = 0;
43 virtual void OnDraw(CPDFSDK_PageView* pPageView, 43 virtual void OnDraw(CPDFSDK_PageView* pPageView,
44 CPDFSDK_Annot* pAnnot, 44 CPDFSDK_Annot* pAnnot,
45 CFX_RenderDevice* pDevice, 45 CFX_RenderDevice* pDevice,
46 CFX_Matrix* pUser2Device) = 0; 46 CFX_Matrix* pUser2Device) = 0;
47 virtual void OnDrawSleep(CPDFSDK_PageView* pPageView,
48 CPDFSDK_Annot* pAnnot,
49 CFX_RenderDevice* pDevice,
50 CFX_Matrix* pUser2Device,
51 const CFX_FloatRect& rcWindow,
52 uint32_t dwFlags) = 0;
53
54 virtual void OnCreate(CPDFSDK_Annot* pAnnot) = 0; 47 virtual void OnCreate(CPDFSDK_Annot* pAnnot) = 0;
55 virtual void OnLoad(CPDFSDK_Annot* pAnnot) = 0; 48 virtual void OnLoad(CPDFSDK_Annot* pAnnot) = 0;
56 virtual void OnDelete(CPDFSDK_Annot* pAnnot) = 0; 49 virtual void OnDelete(CPDFSDK_Annot* pAnnot) = 0;
57 virtual void OnRelease(CPDFSDK_Annot* pAnnot) = 0; 50 virtual void OnRelease(CPDFSDK_Annot* pAnnot) = 0;
58 virtual void OnMouseEnter(CPDFSDK_PageView* pPageView, 51 virtual void OnMouseEnter(CPDFSDK_PageView* pPageView,
59 CPDFSDK_Annot* pAnnot, 52 CPDFSDK_Annot* pAnnot,
60 uint32_t nFlag) = 0; 53 uint32_t nFlag) = 0;
61 virtual void OnMouseExit(CPDFSDK_PageView* pPageView, 54 virtual void OnMouseExit(CPDFSDK_PageView* pPageView,
62 CPDFSDK_Annot* pAnnot, 55 CPDFSDK_Annot* pAnnot,
63 uint32_t nFlag) = 0; 56 uint32_t nFlag) = 0;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 virtual void OnSelected(CPDFSDK_Annot* pAnnot) = 0; 96 virtual void OnSelected(CPDFSDK_Annot* pAnnot) = 0;
104 virtual FX_BOOL OnSetFocus(CPDFSDK_Annot* pAnnot, uint32_t nFlag) = 0; 97 virtual FX_BOOL OnSetFocus(CPDFSDK_Annot* pAnnot, uint32_t nFlag) = 0;
105 virtual FX_BOOL OnKillFocus(CPDFSDK_Annot* pAnnot, uint32_t nFlag) = 0; 98 virtual FX_BOOL OnKillFocus(CPDFSDK_Annot* pAnnot, uint32_t nFlag) = 0;
106 #ifdef PDF_ENABLE_XFA 99 #ifdef PDF_ENABLE_XFA
107 virtual FX_BOOL OnXFAChangedFocus(CPDFSDK_Annot* pOldAnnot, 100 virtual FX_BOOL OnXFAChangedFocus(CPDFSDK_Annot* pOldAnnot,
108 CPDFSDK_Annot* pNewAnnot) = 0; 101 CPDFSDK_Annot* pNewAnnot) = 0;
109 #endif // PDF_ENABLE_XFA 102 #endif // PDF_ENABLE_XFA
110 }; 103 };
111 104
112 #endif // FPDFSDK_INCLUDE_IPDFSDK_ANNOTHANDLER_H_ 105 #endif // FPDFSDK_INCLUDE_IPDFSDK_ANNOTHANDLER_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/cpdfsdk_xfawidgethandler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698