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

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

Issue 2305443005: Remove unused dwFlags parameter in CPDFSDK_AnnotHandlerMgr::OnDraw and its calls. (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_widgethandler.h ('k') | fpdfsdk/include/ipdfsdk_annothandler.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_XFAWIDGETHANDLER_H_ 7 #ifndef FPDFSDK_INCLUDE_CPDFSDK_XFAWIDGETHANDLER_H_
8 #define FPDFSDK_INCLUDE_CPDFSDK_XFAWIDGETHANDLER_H_ 8 #define FPDFSDK_INCLUDE_CPDFSDK_XFAWIDGETHANDLER_H_
9 9
10 #include "core/fxcrt/include/fx_basic.h" 10 #include "core/fxcrt/include/fx_basic.h"
(...skipping 21 matching lines...) Expand all
32 void ReleaseAnnot(CPDFSDK_Annot* pAnnot) override; 32 void ReleaseAnnot(CPDFSDK_Annot* pAnnot) override;
33 void DeleteAnnot(CPDFSDK_Annot* pAnnot) override; 33 void DeleteAnnot(CPDFSDK_Annot* pAnnot) override;
34 CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView, 34 CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView,
35 CPDFSDK_Annot* pAnnot) override; 35 CPDFSDK_Annot* pAnnot) override;
36 FX_BOOL HitTest(CPDFSDK_PageView* pPageView, 36 FX_BOOL HitTest(CPDFSDK_PageView* pPageView,
37 CPDFSDK_Annot* pAnnot, 37 CPDFSDK_Annot* pAnnot,
38 const CFX_FloatPoint& point) override; 38 const CFX_FloatPoint& point) override;
39 void OnDraw(CPDFSDK_PageView* pPageView, 39 void OnDraw(CPDFSDK_PageView* pPageView,
40 CPDFSDK_Annot* pAnnot, 40 CPDFSDK_Annot* pAnnot,
41 CFX_RenderDevice* pDevice, 41 CFX_RenderDevice* pDevice,
42 CFX_Matrix* pUser2Device, 42 CFX_Matrix* pUser2Device) override;
43 uint32_t dwFlags) override;
44 void OnDrawSleep(CPDFSDK_PageView* pPageView, 43 void OnDrawSleep(CPDFSDK_PageView* pPageView,
45 CPDFSDK_Annot* pAnnot, 44 CPDFSDK_Annot* pAnnot,
46 CFX_RenderDevice* pDevice, 45 CFX_RenderDevice* pDevice,
47 CFX_Matrix* pUser2Device, 46 CFX_Matrix* pUser2Device,
48 const CFX_FloatRect& rcWindow, 47 const CFX_FloatRect& rcWindow,
49 uint32_t dwFlags) override; 48 uint32_t dwFlags) override;
50 void OnCreate(CPDFSDK_Annot* pAnnot) override; 49 void OnCreate(CPDFSDK_Annot* pAnnot) override;
51 void OnLoad(CPDFSDK_Annot* pAnnot) override; 50 void OnLoad(CPDFSDK_Annot* pAnnot) override;
52 void OnDelete(CPDFSDK_Annot* pAnnot) override; 51 void OnDelete(CPDFSDK_Annot* pAnnot) override;
53 void OnRelease(CPDFSDK_Annot* pAnnot) override; 52 void OnRelease(CPDFSDK_Annot* pAnnot) override;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 CPDFSDK_Annot* pNewAnnot) override; 102 CPDFSDK_Annot* pNewAnnot) override;
104 103
105 private: 104 private:
106 CXFA_FFWidgetHandler* GetXFAWidgetHandler(CPDFSDK_Annot* pAnnot); 105 CXFA_FFWidgetHandler* GetXFAWidgetHandler(CPDFSDK_Annot* pAnnot);
107 uint32_t GetFWLFlags(uint32_t dwFlag); 106 uint32_t GetFWLFlags(uint32_t dwFlag);
108 107
109 CPDFDoc_Environment* m_pApp; 108 CPDFDoc_Environment* m_pApp;
110 }; 109 };
111 110
112 #endif // FPDFSDK_INCLUDE_CPDFSDK_XFAWIDGETHANDLER_H_ 111 #endif // FPDFSDK_INCLUDE_CPDFSDK_XFAWIDGETHANDLER_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/cpdfsdk_widgethandler.h ('k') | fpdfsdk/include/ipdfsdk_annothandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698