XFA: merge patch from CL 828203002, clean up bookmark codes
authorBo Xu <bo_xu@foxitsoftware.com>
Mon, 5 Jan 2015 20:39:36 +0000 (12:39 -0800)
committerBo Xu <bo_xu@foxitsoftware.com>
Mon, 5 Jan 2015 20:51:33 +0000 (12:51 -0800)
commit5d9acf8ee5dbbaad838f14f1fa173d892c4300ab
tree3cb71eab9457a4a6bb495d9ed5ad436825f9561f
parent5c57933509aedb46399d320da16dfcc3e5acf28d
XFA: merge patch from CL 828203002, clean up bookmark codes

Clean up bookmark related codes.

Remove CPDF_Dictionary*() operator in CPDF_Bookmark class.
Unify naming conventions and coding styles.
Change some functions to const.

Change the name of function argument to |pDict| for FPDF_xxx type variable.
This makes the code more clear and gives better variable naming

R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/828203002

Conflicts:
fpdfsdk/src/fpdfdoc.cpp
core/include/fpdfdoc/fpdf_doc.h
core/src/fpdfdoc/doc_bookmark.cpp
fpdfsdk/src/fpdfdoc.cpp