Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: fpdfsdk/fsdk_baseform.cpp

Issue 1863163002: Move code from fpdfsdk/include to the sub directories. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/fsdk_baseannot.cpp ('k') | fpdfsdk/fsdk_mgr.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include "fpdfsdk/include/fsdk_baseform.h" 7 #include "fpdfsdk/include/fsdk_baseform.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "core/fpdfapi/fpdf_page/include/cpdf_page.h" 13 #include "core/fpdfapi/fpdf_page/include/cpdf_page.h"
14 #include "core/fpdfapi/fpdf_parser/include/cfdf_document.h" 14 #include "core/fpdfapi/fpdf_parser/include/cfdf_document.h"
15 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" 15 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h"
16 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" 16 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h"
17 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream.h" 17 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream.h"
18 #include "fpdfsdk/formfiller/cffl_formfiller.h" 18 #include "fpdfsdk/formfiller/cffl_formfiller.h"
19 #include "fpdfsdk/include/fsdk_actionhandler.h" 19 #include "fpdfsdk/include/fsdk_actionhandler.h"
20 #include "fpdfsdk/include/fsdk_baseannot.h" 20 #include "fpdfsdk/include/fsdk_baseannot.h"
21 #include "fpdfsdk/include/fsdk_define.h" 21 #include "fpdfsdk/include/fsdk_define.h"
22 #include "fpdfsdk/include/fsdk_mgr.h" 22 #include "fpdfsdk/include/fsdk_mgr.h"
23 #include "fpdfsdk/javascript/ijs_context.h" 23 #include "fpdfsdk/javascript/ijs_context.h"
24 #include "fpdfsdk/javascript/ijs_runtime.h" 24 #include "fpdfsdk/javascript/ijs_runtime.h"
25 #include "fpdfsdk/pdfwindow/PWL_Utils.h" 25 #include "fpdfsdk/pdfwindow/PWL_Utils.h"
26 26
27 #ifdef PDF_ENABLE_XFA 27 #ifdef PDF_ENABLE_XFA
28 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h" 28 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h"
29 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h" 29 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h"
30 #include "xfa/include/fxfa/xfa_ffwidget.h" 30 #include "xfa/include/fxfa/xfa_ffwidget.h"
31 #endif // PDF_ENABLE_XFA 31 #endif // PDF_ENABLE_XFA
32 32
33 CPDFSDK_Widget::CPDFSDK_Widget(CPDF_Annot* pAnnot, 33 CPDFSDK_Widget::CPDFSDK_Widget(CPDF_Annot* pAnnot,
34 CPDFSDK_PageView* pPageView, 34 CPDFSDK_PageView* pPageView,
35 CPDFSDK_InterForm* pInterForm) 35 CPDFSDK_InterForm* pInterForm)
36 : CPDFSDK_BAAnnot(pAnnot, pPageView), 36 : CPDFSDK_BAAnnot(pAnnot, pPageView),
37 m_pInterForm(pInterForm), 37 m_pInterForm(pInterForm),
38 m_nAppAge(0), 38 m_nAppAge(0),
39 m_nValueAge(0) 39 m_nValueAge(0)
(...skipping 2786 matching lines...) Expand 10 before | Expand all | Expand 10 after
2826 break; 2826 break;
2827 } 2827 }
2828 } 2828 }
2829 } 2829 }
2830 2830
2831 CFX_FloatRect CBA_AnnotIterator::GetAnnotRect(const CPDFSDK_Annot* pAnnot) { 2831 CFX_FloatRect CBA_AnnotIterator::GetAnnotRect(const CPDFSDK_Annot* pAnnot) {
2832 CFX_FloatRect rcAnnot; 2832 CFX_FloatRect rcAnnot;
2833 pAnnot->GetPDFAnnot()->GetRect(rcAnnot); 2833 pAnnot->GetPDFAnnot()->GetRect(rcAnnot);
2834 return rcAnnot; 2834 return rcAnnot;
2835 } 2835 }
OLDNEW
« no previous file with comments | « fpdfsdk/fsdk_baseannot.cpp ('k') | fpdfsdk/fsdk_mgr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698