More master side changes for convergence with XFA.
authorTom Sepez <tsepez@chromium.org>
Wed, 21 Oct 2015 22:55:42 +0000 (15:55 -0700)
committerTom Sepez <tsepez@chromium.org>
Wed, 21 Oct 2015 22:55:42 +0000 (15:55 -0700)
commit69ceb6a9761b3ccb228a2405e9a493a3666e0601
treeaeda419b1fc75d5c2d2147b172edd47ae12298ac
parent3b2ab45f0a883046a7c457e8435b5a9b2c1c4156
More master side changes for convergence with XFA.

- Add new CPDFSDK_Document::GetPDFDocument()
- FPDFDocumentFromCPDFDocument() to match XFA
- rename some JS variables to be consistent with XFA
- remove unused param from CJS_GlobalData().
- kill dead code used XFA only.

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/1413883005 .
fpdfsdk/include/fsdk_define.h
fpdfsdk/include/fsdk_mgr.h
fpdfsdk/src/fpdf_dataavail.cpp
fpdfsdk/src/fpdfeditpage.cpp
fpdfsdk/src/fpdfview.cpp
fpdfsdk/src/javascript/Document.cpp
fpdfsdk/src/javascript/JS_Define.h
fpdfsdk/src/javascript/JS_GlobalData.cpp
fpdfsdk/src/javascript/JS_GlobalData.h
fpdfsdk/src/javascript/JS_Runtime.cpp