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

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

Issue 2521303002: Rename IFWL_App to CFWL_App (Closed)
Patch Set: Rebase to master Created 4 years 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/fwl/core/ifwl_widget.cpp ('k') | xfa/fxfa/app/xfa_ffbarcode.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 <memory> 10 #include <memory>
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 return false; 68 return false;
69 } 69 }
70 70
71 void CXFA_FileRead::Release() { 71 void CXFA_FileRead::Release() {
72 delete this; 72 delete this;
73 } 73 }
74 74
75 CXFA_FFApp::CXFA_FFApp(IXFA_AppProvider* pProvider) 75 CXFA_FFApp::CXFA_FFApp(IXFA_AppProvider* pProvider)
76 : m_pProvider(pProvider), 76 : m_pProvider(pProvider),
77 m_pWidgetMgrDelegate(nullptr), 77 m_pWidgetMgrDelegate(nullptr),
78 m_pFWLApp(new IFWL_App(this)) { 78 m_pFWLApp(new CFWL_App(this)) {}
79 }
80 79
81 CXFA_FFApp::~CXFA_FFApp() {} 80 CXFA_FFApp::~CXFA_FFApp() {}
82 81
83 CXFA_FFDocHandler* CXFA_FFApp::GetDocHandler() { 82 CXFA_FFDocHandler* CXFA_FFApp::GetDocHandler() {
84 if (!m_pDocHandler) 83 if (!m_pDocHandler)
85 m_pDocHandler.reset(new CXFA_FFDocHandler); 84 m_pDocHandler.reset(new CXFA_FFDocHandler);
86 return m_pDocHandler.get(); 85 return m_pDocHandler.get();
87 } 86 }
88 87
89 CXFA_FFDoc* CXFA_FFApp::CreateDoc(IXFA_DocEnvironment* pDocEnvironment, 88 CXFA_FFDoc* CXFA_FFApp::CreateDoc(IXFA_DocEnvironment* pDocEnvironment,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 return m_pAdapterWidgetMgr.get(); 141 return m_pAdapterWidgetMgr.get();
143 } 142 }
144 143
145 IFWL_AdapterTimerMgr* CXFA_FFApp::GetTimerMgr() const { 144 IFWL_AdapterTimerMgr* CXFA_FFApp::GetTimerMgr() const {
146 return m_pProvider->GetTimerMgr(); 145 return m_pProvider->GetTimerMgr();
147 } 146 }
148 147
149 void CXFA_FFApp::ClearEventTargets() { 148 void CXFA_FFApp::ClearEventTargets() {
150 m_pFWLApp->GetNoteDriver()->ClearEventTargets(false); 149 m_pFWLApp->GetNoteDriver()->ClearEventTargets(false);
151 } 150 }
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_widget.cpp ('k') | xfa/fxfa/app/xfa_ffbarcode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698