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

Side by Side Diff: fpdfsdk/include/cpdfsdk_widgethandler.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_baannothandler.h ('k') | fpdfsdk/include/cpdfsdk_xfawidgethandler.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_WIDGETHANDLER_H_ 7 #ifndef FPDFSDK_INCLUDE_CPDFSDK_WIDGETHANDLER_H_
8 #define FPDFSDK_INCLUDE_CPDFSDK_WIDGETHANDLER_H_ 8 #define FPDFSDK_INCLUDE_CPDFSDK_WIDGETHANDLER_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 void ReleaseAnnot(CPDFSDK_Annot* pAnnot) override; 37 void ReleaseAnnot(CPDFSDK_Annot* pAnnot) override;
38 void DeleteAnnot(CPDFSDK_Annot* pAnnot) override; 38 void DeleteAnnot(CPDFSDK_Annot* pAnnot) override;
39 CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView, 39 CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView,
40 CPDFSDK_Annot* pAnnot) override; 40 CPDFSDK_Annot* pAnnot) override;
41 FX_BOOL HitTest(CPDFSDK_PageView* pPageView, 41 FX_BOOL HitTest(CPDFSDK_PageView* pPageView,
42 CPDFSDK_Annot* pAnnot, 42 CPDFSDK_Annot* pAnnot,
43 const CFX_FloatPoint& point) override; 43 const CFX_FloatPoint& point) override;
44 void OnDraw(CPDFSDK_PageView* pPageView, 44 void OnDraw(CPDFSDK_PageView* pPageView,
45 CPDFSDK_Annot* pAnnot, 45 CPDFSDK_Annot* pAnnot,
46 CFX_RenderDevice* pDevice, 46 CFX_RenderDevice* pDevice,
47 CFX_Matrix* pUser2Device, 47 CFX_Matrix* pUser2Device) override;
48 uint32_t dwFlags) override;
49 void OnDrawSleep(CPDFSDK_PageView* pPageView, 48 void OnDrawSleep(CPDFSDK_PageView* pPageView,
50 CPDFSDK_Annot* pAnnot, 49 CPDFSDK_Annot* pAnnot,
51 CFX_RenderDevice* pDevice, 50 CFX_RenderDevice* pDevice,
52 CFX_Matrix* pUser2Device, 51 CFX_Matrix* pUser2Device,
53 const CFX_FloatRect& rcWindow, 52 const CFX_FloatRect& rcWindow,
54 uint32_t dwFlags) override; 53 uint32_t dwFlags) override;
55 void OnCreate(CPDFSDK_Annot* pAnnot) override; 54 void OnCreate(CPDFSDK_Annot* pAnnot) override;
56 void OnLoad(CPDFSDK_Annot* pAnnot) override; 55 void OnLoad(CPDFSDK_Annot* pAnnot) override;
57 void OnDelete(CPDFSDK_Annot* pAnnot) override; 56 void OnDelete(CPDFSDK_Annot* pAnnot) override;
58 void OnRelease(CPDFSDK_Annot* pAnnot) override; 57 void OnRelease(CPDFSDK_Annot* pAnnot) override;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 110
112 void SetFormFiller(CFFL_IFormFiller* pFiller) { m_pFormFiller = pFiller; } 111 void SetFormFiller(CFFL_IFormFiller* pFiller) { m_pFormFiller = pFiller; }
113 CFFL_IFormFiller* GetFormFiller() { return m_pFormFiller; } 112 CFFL_IFormFiller* GetFormFiller() { return m_pFormFiller; }
114 113
115 private: 114 private:
116 CPDFDoc_Environment* m_pApp; 115 CPDFDoc_Environment* m_pApp;
117 CFFL_IFormFiller* m_pFormFiller; 116 CFFL_IFormFiller* m_pFormFiller;
118 }; 117 };
119 118
120 #endif // FPDFSDK_INCLUDE_CPDFSDK_WIDGETHANDLER_H_ 119 #endif // FPDFSDK_INCLUDE_CPDFSDK_WIDGETHANDLER_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/cpdfsdk_baannothandler.h ('k') | fpdfsdk/include/cpdfsdk_xfawidgethandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698