Replace XFA_HWIDGET with IXFA_Widget*
authorTom Sepez <tsepez@chromium.org>
Tue, 2 Jun 2015 17:35:27 +0000 (10:35 -0700)
committerTom Sepez <tsepez@chromium.org>
Tue, 2 Jun 2015 17:35:27 +0000 (10:35 -0700)
commiteed467dcf3c661cddaecf4f996bc8964e7090cf9
tree12eb9093d2760566d920ce2862b61371082e75a6
parent56ba4292f1454f259b52a68dd962cc2d8c2027c8
Replace XFA_HWIDGET with IXFA_Widget*

A second case of casting willy-nilly between unrelated structures
to provide information hiding.  Bad Idea.  Remove dozens of casts
in the process.

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/1155273002
29 files changed:
fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h
fpdfsdk/include/fsdk_annothandler.h
fpdfsdk/include/fsdk_baseannot.h
fpdfsdk/include/fsdk_baseform.h
fpdfsdk/include/fsdk_mgr.h
fpdfsdk/src/fpdfformfill.cpp
fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp
fpdfsdk/src/fsdk_annothandler.cpp
fpdfsdk/src/fsdk_baseform.cpp
fpdfsdk/src/fsdk_mgr.cpp
xfa/include/fxfa/fxfa.h
xfa/src/fxfa/src/app/xfa_ffchoicelist.cpp
xfa/src/fxfa/src/app/xfa_ffdocview.cpp
xfa/src/fxfa/src/app/xfa_ffdocview.h
xfa/src/fxfa/src/app/xfa_ffnotify.cpp
xfa/src/fxfa/src/app/xfa_ffnotify.h
xfa/src/fxfa/src/app/xfa_ffpageview.cpp
xfa/src/fxfa/src/app/xfa_ffpageview.h
xfa/src/fxfa/src/app/xfa_ffsignature.cpp
xfa/src/fxfa/src/app/xfa_fftextedit.cpp
xfa/src/fxfa/src/app/xfa_ffwidget.h
xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp
xfa/src/fxfa/src/app/xfa_ffwidgethandler.cpp
xfa/src/fxfa/src/app/xfa_ffwidgethandler.h
xfa/src/fxfa/src/app/xfa_fwladapter.cpp
xfa/src/fxfa/src/app/xfa_rendercontext.h
xfa/src/fxfa/src/common/xfa_document.h
xfa/src/fxfa/src/parser/xfa_script_hostpseudomodel.cpp
xfa/src/fxfa/src/parser/xfa_script_layoutpseudomodel.cpp