summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpvt_generateap.h
diff options
context:
space:
mode:
authorjaepark <jaepark@google.com>2016-08-09 10:23:14 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-09 10:23:14 -0700
commitaf7ab33c73f58f18d0db0c90d93fa0aab0bc83f3 (patch)
tree22b899ffa9ef0475128bbce29c37a4803bd84a1a /core/fpdfdoc/cpvt_generateap.h
parentf3c883239be0e016d0577f0d9d52185387f64856 (diff)
downloadpdfium-af7ab33c73f58f18d0db0c90d93fa0aab0bc83f3.tar.xz
Generate default AP stream for square annotation.
This patch generates a default AP stream for square annotation so that square annotations without AP stream can be displayed. Also, roll DEPS for testing/corpus to 7f07c22 to test square annotations. BUG=62625 Review-Url: https://codereview.chromium.org/2219683002
Diffstat (limited to 'core/fpdfdoc/cpvt_generateap.h')
-rw-r--r--core/fpdfdoc/cpvt_generateap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fpdfdoc/cpvt_generateap.h b/core/fpdfdoc/cpvt_generateap.h
index 3e4bbfe5ce..e0dd706439 100644
--- a/core/fpdfdoc/cpvt_generateap.h
+++ b/core/fpdfdoc/cpvt_generateap.h
@@ -31,6 +31,8 @@ class CPVT_GenerateAP {
CPDF_Dictionary* pAnnotDict);
static bool GenerateListBoxAP(CPDF_Document* pDoc,
CPDF_Dictionary* pAnnotDict);
+ static bool GenerateSquareAP(CPDF_Document* pDoc,
+ CPDF_Dictionary* pAnnotDict);
static bool GenerateSquigglyAP(CPDF_Document* pDoc,
CPDF_Dictionary* pAnnotDict);
static bool GenerateStrikeOutAP(CPDF_Document* pDoc,