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

Unified Diff: fpdfsdk/include/fsdk_mgr.h

Issue 1737593006: Re-land "Replace CPDF_Rect and CPDF_Point with CFX types." (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Ooops. Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/include/fsdk_baseform.h ('k') | fpdfsdk/include/fx_systemhandler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/include/fsdk_mgr.h
diff --git a/fpdfsdk/include/fsdk_mgr.h b/fpdfsdk/include/fsdk_mgr.h
index 1e2620a19227482da2ad2fc326821428e9937e62..4e9aab40bb8171e957fe0e239c59388c59a6392f 100644
--- a/fpdfsdk/include/fsdk_mgr.h
+++ b/fpdfsdk/include/fsdk_mgr.h
@@ -603,20 +603,20 @@ class CPDFSDK_PageView final {
CPDF_Document* GetPDFDocument();
CPDFSDK_Document* GetSDKDocument() { return m_pSDKDoc; }
- FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_UINT nFlag);
- FX_BOOL OnLButtonUp(const CPDF_Point& point, FX_UINT nFlag);
+ FX_BOOL OnLButtonDown(const CFX_FloatPoint& point, FX_UINT nFlag);
+ FX_BOOL OnLButtonUp(const CFX_FloatPoint& point, FX_UINT nFlag);
#ifdef PDF_ENABLE_XFA
- FX_BOOL OnRButtonDown(const CPDF_Point& point, FX_UINT nFlag);
- FX_BOOL OnRButtonUp(const CPDF_Point& point, FX_UINT nFlag);
+ FX_BOOL OnRButtonDown(const CFX_FloatPoint& point, FX_UINT nFlag);
+ FX_BOOL OnRButtonUp(const CFX_FloatPoint& point, FX_UINT nFlag);
#endif // PDF_ENABLE_XFA
FX_BOOL OnChar(int nChar, FX_UINT nFlag);
FX_BOOL OnKeyDown(int nKeyCode, int nFlag);
FX_BOOL OnKeyUp(int nKeyCode, int nFlag);
- FX_BOOL OnMouseMove(const CPDF_Point& point, int nFlag);
+ FX_BOOL OnMouseMove(const CFX_FloatPoint& point, int nFlag);
FX_BOOL OnMouseWheel(double deltaX,
double deltaY,
- const CPDF_Point& point,
+ const CFX_FloatPoint& point,
int nFlag);
bool IsValidAnnot(const CPDF_Annot* p) const;
void GetCurrentMatrix(CFX_Matrix& matrix) { matrix = m_curMatrix; }
« no previous file with comments | « fpdfsdk/include/fsdk_baseform.h ('k') | fpdfsdk/include/fx_systemhandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698