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

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

Issue 1847583004: Move the fpdfsdk/include/javascript folder (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/fpdfxfa/fpdfxfa_app.cpp ('k') | fpdfsdk/fsdk_actionhandler.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 "core/fpdfapi/fpdf_parser/include/cpdf_array.h" 7 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h"
8 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" 8 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h"
9 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream_acc.h" 9 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream_acc.h"
10 #include "core/fpdfapi/fpdf_parser/include/cpdf_string.h" 10 #include "core/fpdfapi/fpdf_parser/include/cpdf_string.h"
11 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_app.h" 11 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_app.h"
12 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h" 12 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h"
13 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h" 13 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h"
14 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h" 14 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h"
15 #include "fpdfsdk/include/fsdk_define.h" 15 #include "fpdfsdk/include/fsdk_define.h"
16 #include "fpdfsdk/include/fsdk_mgr.h" 16 #include "fpdfsdk/include/fsdk_mgr.h"
17 #include "fpdfsdk/include/javascript/IJavaScript.h" 17 #include "fpdfsdk/javascript/ijs_runtime.h"
18 #include "public/fpdf_formfill.h" 18 #include "public/fpdf_formfill.h"
19 19
20 #define IDS_XFA_Validate_Input \ 20 #define IDS_XFA_Validate_Input \
21 "At least one required field was empty. Please fill in the required " \ 21 "At least one required field was empty. Please fill in the required " \
22 "fields\r\n(highlighted) before continuing." 22 "fields\r\n(highlighted) before continuing."
23 23
24 // submit 24 // submit
25 #define FXFA_CONFIG 0x00000001 25 #define FXFA_CONFIG 0x00000001
26 #define FXFA_TEMPLATE 0x00000010 26 #define FXFA_TEMPLATE 0x00000010
27 #define FXFA_LOCALESET 0x00000100 27 #define FXFA_LOCALESET 0x00000100
(...skipping 1250 matching lines...) Expand 10 before | Expand all | Expand 10 after
1278 } 1278 }
1279 1279
1280 return _GetHValueByName(szPropName, hValue, 1280 return _GetHValueByName(szPropName, hValue,
1281 m_pSDKDoc->GetEnv()->GetJSRuntime()); 1281 m_pSDKDoc->GetEnv()->GetJSRuntime());
1282 } 1282 }
1283 FX_BOOL CPDFXFA_Document::_GetHValueByName(const CFX_ByteStringC& utf8Name, 1283 FX_BOOL CPDFXFA_Document::_GetHValueByName(const CFX_ByteStringC& utf8Name,
1284 FXJSE_HVALUE hValue, 1284 FXJSE_HVALUE hValue,
1285 IJS_Runtime* runTime) { 1285 IJS_Runtime* runTime) {
1286 return runTime->GetHValueByName(utf8Name, hValue); 1286 return runTime->GetHValueByName(utf8Name, hValue);
1287 } 1287 }
OLDNEW
« no previous file with comments | « fpdfsdk/fpdfxfa/fpdfxfa_app.cpp ('k') | fpdfsdk/fsdk_actionhandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698