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

Side by Side Diff: fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp

Issue 2384503003: Move fpdfsdk/include to fpdfsdk (Closed)
Patch Set: Rebase to master Created 4 years, 2 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/fpdfview.cpp ('k') | fpdfsdk/fpdfxfa/fpdfxfa_app.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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/fpdfxfa/cpdfxfa_docenvironment.h" 7 #include "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h"
8 8
9 #include "core/fpdfapi/fpdf_parser/cpdf_array.h" 9 #include "core/fpdfapi/fpdf_parser/cpdf_array.h"
10 #include "core/fpdfapi/fpdf_parser/cpdf_stream_acc.h" 10 #include "core/fpdfapi/fpdf_parser/cpdf_stream_acc.h"
11 #include "core/fpdfapi/fpdf_parser/cpdf_string.h" 11 #include "core/fpdfapi/fpdf_parser/cpdf_string.h"
12 #include "fpdfsdk/cpdfsdk_document.h"
13 #include "fpdfsdk/cpdfsdk_environment.h"
14 #include "fpdfsdk/cpdfsdk_interform.h"
15 #include "fpdfsdk/cpdfsdk_pageview.h"
12 #include "fpdfsdk/fpdfxfa/fpdfxfa_doc.h" 16 #include "fpdfsdk/fpdfxfa/fpdfxfa_doc.h"
13 #include "fpdfsdk/fpdfxfa/fpdfxfa_page.h" 17 #include "fpdfsdk/fpdfxfa/fpdfxfa_page.h"
14 #include "fpdfsdk/include/cpdfsdk_document.h"
15 #include "fpdfsdk/include/cpdfsdk_environment.h"
16 #include "fpdfsdk/include/cpdfsdk_interform.h"
17 #include "fpdfsdk/include/cpdfsdk_pageview.h"
18 #include "fpdfsdk/javascript/ijs_runtime.h" 18 #include "fpdfsdk/javascript/ijs_runtime.h"
19 #include "xfa/fxfa/include/xfa_ffdocview.h" 19 #include "xfa/fxfa/include/xfa_ffdocview.h"
20 #include "xfa/fxfa/include/xfa_ffwidget.h" 20 #include "xfa/fxfa/include/xfa_ffwidget.h"
21 #include "xfa/fxfa/include/xfa_ffwidgethandler.h" 21 #include "xfa/fxfa/include/xfa_ffwidgethandler.h"
22 22
23 #define IDS_XFA_Validate_Input \ 23 #define IDS_XFA_Validate_Input \
24 "At least one required field was empty. Please fill in the required " \ 24 "At least one required field was empty. Please fill in the required " \
25 "fields\r\n(highlighted) before continuing." 25 "fields\r\n(highlighted) before continuing."
26 26
27 // submit 27 // submit
(...skipping 983 matching lines...) Expand 10 before | Expand all | Expand 10 after
1011 if (!m_pJSContext) { 1011 if (!m_pJSContext) {
1012 m_pDocument->GetSDKDoc()->GetEnv()->GetJSRuntime()->SetReaderDocument( 1012 m_pDocument->GetSDKDoc()->GetEnv()->GetJSRuntime()->SetReaderDocument(
1013 m_pDocument->GetSDKDoc()); 1013 m_pDocument->GetSDKDoc());
1014 m_pJSContext = 1014 m_pJSContext =
1015 m_pDocument->GetSDKDoc()->GetEnv()->GetJSRuntime()->NewContext(); 1015 m_pDocument->GetSDKDoc()->GetEnv()->GetJSRuntime()->NewContext();
1016 } 1016 }
1017 1017
1018 return m_pDocument->GetSDKDoc()->GetEnv()->GetJSRuntime()->GetValueByName( 1018 return m_pDocument->GetSDKDoc()->GetEnv()->GetJSRuntime()->GetValueByName(
1019 szPropName, pValue); 1019 szPropName, pValue);
1020 } 1020 }
OLDNEW
« no previous file with comments | « fpdfsdk/fpdfview.cpp ('k') | fpdfsdk/fpdfxfa/fpdfxfa_app.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698