From 625ad667d0c0c17d5bc11d505f04861d90b45078 Mon Sep 17 00:00:00 2001 From: weili Date: Wed, 15 Jun 2016 11:21:33 -0700 Subject: Make code compile with clang_use_chrome_plugin (part IV) This change mainly contains files in fpdfsdk/ directory. This is part of the efforts to make PDFium code compilable by Clang chromium style plugins. The changes are mainly the following: -- move inline constructor/destructor of complex class/struct out-of-line; -- add constructor/destructor of complex class/struct if not explicitly defined; -- add explicit out-of-line copy constructor when needed; -- move inline virtual functions out-of-line; -- Properly mark virtual functions with 'override'; -- some minor cleanups plus removing an unused file and splitting cxfa_eventparam out from fxfa.h BUG=pdfium:469 Review-Url: https://codereview.chromium.org/2062313002 --- BUILD.gn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'BUILD.gn') diff --git a/BUILD.gn b/BUILD.gn index 7d202f7b9c..dd927c0367 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -1123,7 +1123,6 @@ if (pdf_enable_xfa) { "xfa/fxbarcode/BC_BinaryBitmap.h", "xfa/fxbarcode/BC_BufferedImageLuminanceSource.cpp", "xfa/fxbarcode/BC_BufferedImageLuminanceSource.h", - "xfa/fxbarcode/BC_DecoderResult.h", "xfa/fxbarcode/BC_Dimension.cpp", "xfa/fxbarcode/BC_Dimension.h", "xfa/fxbarcode/BC_Library.cpp", @@ -1376,6 +1375,7 @@ if (pdf_enable_xfa) { "xfa/fxbarcode/qrcode/BC_QRGridSampler.cpp", "xfa/fxbarcode/qrcode/BC_QRGridSampler.h", "xfa/fxbarcode/utils.h", + "xfa/fxfa/app/cxfa_eventparam.cpp", "xfa/fxfa/app/xfa_checksum.cpp", "xfa/fxfa/app/xfa_ffapp.cpp", "xfa/fxfa/app/xfa_ffbarcode.cpp", @@ -1438,6 +1438,7 @@ if (pdf_enable_xfa) { "xfa/fxfa/fm2js/xfa_program.h", "xfa/fxfa/fm2js/xfa_simpleexpression.cpp", "xfa/fxfa/fm2js/xfa_simpleexpression.h", + "xfa/fxfa/include/cxfa_eventparam.h", "xfa/fxfa/include/fxfa.h", "xfa/fxfa/include/fxfa_basic.h", "xfa/fxfa/include/fxfa_widget.h", -- cgit v1.2.3