Chromium Code Reviews| 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; |
| }; |