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

Unified Diff: core/fpdfdoc/cpdf_dest.h

Issue 2481743004: Add FPDFDest_GetLocationInPage API (Closed)
Patch Set: Created 4 years, 1 month 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
Index: core/fpdfdoc/cpdf_dest.h
diff --git a/core/fpdfdoc/cpdf_dest.h b/core/fpdfdoc/cpdf_dest.h
index 8f38192fd87f14a7082ae1a1a46eaaf6fa1e5a38..29c82405c64c282df37a6908a93ba3c5409cd1a9 100644
--- a/core/fpdfdoc/cpdf_dest.h
+++ b/core/fpdfdoc/cpdf_dest.h
@@ -25,6 +25,14 @@ class CPDF_Dest {
int GetZoomMode();
FX_FLOAT GetParam(int index);
+ bool HasXYZ() const;
Lei Zhang 2016/11/07 20:19:20 Why not just let GetXYZ() return a bool?
dsinclair 2016/11/07 21:49:18 Done.
+ void GetXYZ(bool* hasX,
Lei Zhang 2016/11/07 20:27:16 Do you want to name the variabled bHasX and so on?
dsinclair 2016/11/07 21:49:18 Sigh. Done. pHas I believe as they're pointers.
+ bool* hasY,
+ bool* hasZoom,
+ float* x,
+ float* y,
+ float* zoom) const;
+
private:
CPDF_Object* m_pObj;
};
« no previous file with comments | « BUILD.gn ('k') | core/fpdfdoc/cpdf_dest.cpp » ('j') | core/fpdfdoc/cpdf_dest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698