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

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

Issue 1395713002: Merge to XFA: Rename IFXJS_Runtime and IFXJS_Context to IJS_. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 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/include/jsapi/fxjs_v8.h ('k') | fpdfsdk/src/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 "../../../public/fpdf_formfill.h" 7 #include "../../../public/fpdf_formfill.h"
8 #include "../../include/fsdk_define.h" 8 #include "../../include/fsdk_define.h"
9 #include "../../include/fpdfxfa/fpdfxfa_doc.h" 9 #include "../../include/fpdfxfa/fpdfxfa_doc.h"
10 #include "../../include/fsdk_mgr.h" 10 #include "../../include/fsdk_mgr.h"
(...skipping 1320 matching lines...) Expand 10 before | Expand all | Expand 10 after
1331 if (!m_pJSContext) { 1331 if (!m_pJSContext) {
1332 m_pSDKDoc->GetEnv()->GetJSRuntime()->SetReaderDocument(m_pSDKDoc); 1332 m_pSDKDoc->GetEnv()->GetJSRuntime()->SetReaderDocument(m_pSDKDoc);
1333 m_pJSContext = m_pSDKDoc->GetEnv()->GetJSRuntime()->NewContext(); 1333 m_pJSContext = m_pSDKDoc->GetEnv()->GetJSRuntime()->NewContext();
1334 } 1334 }
1335 1335
1336 return _GetHValueByName(szPropName, hValue, 1336 return _GetHValueByName(szPropName, hValue,
1337 m_pSDKDoc->GetEnv()->GetJSRuntime()); 1337 m_pSDKDoc->GetEnv()->GetJSRuntime());
1338 } 1338 }
1339 FX_BOOL CPDFXFA_Document::_GetHValueByName(const CFX_ByteStringC& utf8Name, 1339 FX_BOOL CPDFXFA_Document::_GetHValueByName(const CFX_ByteStringC& utf8Name,
1340 FXJSE_HVALUE hValue, 1340 FXJSE_HVALUE hValue,
1341 IFXJS_Runtime* runTime) { 1341 IJS_Runtime* runTime) {
1342 return runTime->GetHValueByName(utf8Name, hValue); 1342 return runTime->GetHValueByName(utf8Name, hValue);
1343 } 1343 }
OLDNEW
« no previous file with comments | « fpdfsdk/include/jsapi/fxjs_v8.h ('k') | fpdfsdk/src/fsdk_actionhandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698