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

Unified Diff: core/src/fpdfdoc/doc_utils.h

Issue 1776713004: Move CPDF_NumberTree to fpdfdoc. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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
Index: core/src/fpdfdoc/doc_utils.h
diff --git a/core/src/fpdfdoc/doc_utils.h b/core/src/fpdfdoc/doc_utils.h
index 58eee84380b3faf066256a80b1a47d7279593d07..fbb629c6b00abc23642b79546c13e044ab5f7405 100644
--- a/core/src/fpdfdoc/doc_utils.h
+++ b/core/src/fpdfdoc/doc_utils.h
@@ -9,6 +9,19 @@
#include <vector>
+class CPDF_Dictionary;
+class CPDF_FormField;
+
+class CPDF_NumberTree {
+ public:
+ CPDF_NumberTree(CPDF_Dictionary* pRoot) { m_pRoot = pRoot; }
Oliver Chang 2016/03/10 00:45:45 initialiser list?
Tom Sepez 2016/03/10 00:54:28 Done.
+
+ CPDF_Object* LookupValue(int num);
Oliver Chang 2016/03/10 00:45:45 while you're here, can this be made const?
Tom Sepez 2016/03/10 00:54:28 Done.
Oliver Chang 2016/03/10 00:55:25 Sorry, I meant CPDF_Object* LookupValue(int num) c
Tom Sepez 2016/03/10 00:58:40 Done.
+
+ protected:
+ CPDF_Dictionary* m_pRoot;
+};
+
CFX_WideString GetFullName(CPDF_Dictionary* pFieldDict);
void InitInterFormDict(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument);
FX_DWORD CountInterFormFonts(CPDF_Dictionary* pFormDict);

Powered by Google App Engine
This is Rietveld 408576698