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

Side by Side Diff: xfa/fxfa/app/xfa_ffapp.cpp

Issue 2443723002: Rename IFX_ stream names (Closed)
Patch Set: Nits Created 4 years, 1 month 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/fxfa/app/xfa_checksum.cpp ('k') | xfa/fxfa/app/xfa_ffdoc.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/fxfa/xfa_ffapp.h" 7 #include "xfa/fxfa/xfa_ffapp.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <utility> 10 #include <utility>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 CXFA_TimeZoneProvider::Destroy(); 83 CXFA_TimeZoneProvider::Destroy();
84 } 84 }
85 85
86 CXFA_FFDocHandler* CXFA_FFApp::GetDocHandler() { 86 CXFA_FFDocHandler* CXFA_FFApp::GetDocHandler() {
87 if (!m_pDocHandler) 87 if (!m_pDocHandler)
88 m_pDocHandler.reset(new CXFA_FFDocHandler); 88 m_pDocHandler.reset(new CXFA_FFDocHandler);
89 return m_pDocHandler.get(); 89 return m_pDocHandler.get();
90 } 90 }
91 91
92 CXFA_FFDoc* CXFA_FFApp::CreateDoc(IXFA_DocEnvironment* pDocEnvironment, 92 CXFA_FFDoc* CXFA_FFApp::CreateDoc(IXFA_DocEnvironment* pDocEnvironment,
93 IFX_FileRead* pStream, 93 IFX_SeekableReadStream* pStream,
94 FX_BOOL bTakeOverFile) { 94 FX_BOOL bTakeOverFile) {
95 std::unique_ptr<CXFA_FFDoc> pDoc(new CXFA_FFDoc(this, pDocEnvironment)); 95 std::unique_ptr<CXFA_FFDoc> pDoc(new CXFA_FFDoc(this, pDocEnvironment));
96 FX_BOOL bSuccess = pDoc->OpenDoc(pStream, bTakeOverFile); 96 FX_BOOL bSuccess = pDoc->OpenDoc(pStream, bTakeOverFile);
97 return bSuccess ? pDoc.release() : nullptr; 97 return bSuccess ? pDoc.release() : nullptr;
98 } 98 }
99 99
100 CXFA_FFDoc* CXFA_FFApp::CreateDoc(IXFA_DocEnvironment* pDocEnvironment, 100 CXFA_FFDoc* CXFA_FFApp::CreateDoc(IXFA_DocEnvironment* pDocEnvironment,
101 CPDF_Document* pPDFDoc) { 101 CPDF_Document* pPDFDoc) {
102 if (!pPDFDoc) 102 if (!pPDFDoc)
103 return nullptr; 103 return nullptr;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 pDelegate->OnSetCapability(FWL_WGTMGR_DisableThread | 142 pDelegate->OnSetCapability(FWL_WGTMGR_DisableThread |
143 FWL_WGTMGR_DisableForm); 143 FWL_WGTMGR_DisableForm);
144 m_pWidgetMgrDelegate = pDelegate; 144 m_pWidgetMgrDelegate = pDelegate;
145 } 145 }
146 return m_pAdapterWidgetMgr.get(); 146 return m_pAdapterWidgetMgr.get();
147 } 147 }
148 148
149 IFWL_AdapterTimerMgr* CXFA_FFApp::GetTimerMgr() const { 149 IFWL_AdapterTimerMgr* CXFA_FFApp::GetTimerMgr() const {
150 return m_pProvider->GetTimerMgr(); 150 return m_pProvider->GetTimerMgr();
151 } 151 }
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_checksum.cpp ('k') | xfa/fxfa/app/xfa_ffdoc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698