Make CPDFXFA_App / IXFA_AppProvider saner
authorTom Sepez <tsepez@chromium.org>
Wed, 27 May 2015 19:25:00 +0000 (12:25 -0700)
committerTom Sepez <tsepez@chromium.org>
Wed, 27 May 2015 19:25:00 +0000 (12:25 -0700)
commitbdeeb8a036442302b821686a03698b0bb98952e1
tree2ef5fadc13ca977f4ed134d9e2074fade72282f9
parent599851360cf036418a13ad246bf0334f46eabacb
Make CPDFXFA_App / IXFA_AppProvider saner

Move interface comments from the implementation header to the
interface header.

Replace Create / Release functions with static methods.

Replace dubious Release() methods with deletion via virtual dtor, also
for IXFA_App and IXFA_FontMgr while we're at it.

Untabify and fix (theoretically) illegal _CAP include guard definitions
for fpdfxfa/ headers.

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/1153553003
15 files changed:
fpdfsdk/include/fpdfxfa/fpdfxfa_app.h
fpdfsdk/src/fpdf_dataavail.cpp
fpdfsdk/src/fpdfeditpage.cpp
fpdfsdk/src/fpdfformfill.cpp
fpdfsdk/src/fpdfsave.cpp
fpdfsdk/src/fpdfview.cpp
fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp
fpdfsdk/src/fsdk_mgr.cpp
fpdfsdk/src/javascript/JS_Runtime.cpp
fpdfsdk/src/javascript/global.cpp
xfa/include/fxfa/fxfa.h
xfa/src/fxfa/src/app/xfa_ffapp.cpp
xfa/src/fxfa/src/app/xfa_ffapp.h
xfa/src/fxfa/src/app/xfa_fontmgr.cpp
xfa/src/fxfa/src/app/xfa_fontmgr.h