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

Side by Side Diff: xfa/src/fxfa/src/app/xfa_ffdochandler.cpp

Issue 1746053003: Remove foxitlib.h and foxitxfa.h and IWYU. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review cleanup Created 4 years, 9 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 | « xfa/src/fxfa/src/app/xfa_ffdochandler.h ('k') | xfa/src/fxfa/src/app/xfa_ffdocview.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 "xfa/src/foxitlib.h" 7 #include "xfa/src/fxfa/src/app/xfa_ffdochandler.h"
8
8 #include "xfa/src/fxfa/src/app/xfa_ffdoc.h" 9 #include "xfa/src/fxfa/src/app/xfa_ffdoc.h"
9 #include "xfa/src/fxfa/src/app/xfa_ffdochandler.h"
10 #include "xfa/src/fxfa/src/common/xfa_script.h" 10 #include "xfa/src/fxfa/src/common/xfa_script.h"
11 11
12 CXFA_FFDocHandler::CXFA_FFDocHandler() {} 12 CXFA_FFDocHandler::CXFA_FFDocHandler() {}
13 CXFA_FFDocHandler::~CXFA_FFDocHandler() {} 13 CXFA_FFDocHandler::~CXFA_FFDocHandler() {}
14 void CXFA_FFDocHandler::ReleaseDoc(IXFA_Doc* hDoc) { 14 void CXFA_FFDocHandler::ReleaseDoc(IXFA_Doc* hDoc) {
15 delete hDoc; // virtual dtor. 15 delete hDoc; // virtual dtor.
16 } 16 }
17 IXFA_DocProvider* CXFA_FFDocHandler::GetDocProvider(IXFA_Doc* hDoc) { 17 IXFA_DocProvider* CXFA_FFDocHandler::GetDocProvider(IXFA_Doc* hDoc) {
18 return static_cast<CXFA_FFDoc*>(hDoc)->GetDocProvider(); 18 return static_cast<CXFA_FFDoc*>(hDoc)->GetDocProvider();
19 } 19 }
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 } 101 }
102 IXFA_ScriptContext* pScriptContext = pXFADoc->GetScriptContext(); 102 IXFA_ScriptContext* pScriptContext = pXFADoc->GetScriptContext();
103 if (!pScriptContext) { 103 if (!pScriptContext) {
104 return FALSE; 104 return FALSE;
105 } 105 }
106 return pScriptContext->RunScript( 106 return pScriptContext->RunScript(
107 (XFA_SCRIPTLANGTYPE)eScriptType, wsScript, hRetValue, 107 (XFA_SCRIPTLANGTYPE)eScriptType, wsScript, hRetValue,
108 hThisObject ? (CXFA_Object*)FXJSE_Value_ToObject(hThisObject, NULL) 108 hThisObject ? (CXFA_Object*)FXJSE_Value_ToObject(hThisObject, NULL)
109 : NULL); 109 : NULL);
110 } 110 }
OLDNEW
« no previous file with comments | « xfa/src/fxfa/src/app/xfa_ffdochandler.h ('k') | xfa/src/fxfa/src/app/xfa_ffdocview.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698