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

Side by Side Diff: fpdfsdk/cpdfsdk_environment.cpp

Issue 2357203003: Make the I in IFormFiller explicit (Closed)
Patch Set: Remove locals Created 4 years, 3 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/cpdfsdk_annothandlermgr.cpp ('k') | fpdfsdk/cpdfsdk_interform.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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 "fpdfsdk/include/cpdfsdk_environment.h" 7 #include "fpdfsdk/include/cpdfsdk_environment.h"
8 8
9 #include "fpdfsdk/formfiller/cffl_iformfiller.h" 9 #include "fpdfsdk/formfiller/cffl_interactiveformfiller.h"
10 #include "fpdfsdk/include/cpdfsdk_annothandlermgr.h" 10 #include "fpdfsdk/include/cpdfsdk_annothandlermgr.h"
11 #include "fpdfsdk/include/fsdk_actionhandler.h" 11 #include "fpdfsdk/include/fsdk_actionhandler.h"
12 #include "fpdfsdk/javascript/ijs_runtime.h" 12 #include "fpdfsdk/javascript/ijs_runtime.h"
13 13
14 #ifdef PDF_ENABLE_XFA 14 #ifdef PDF_ENABLE_XFA
15 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_app.h" 15 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_app.h"
16 #endif // PDF_ENABLE_XFA 16 #endif // PDF_ENABLE_XFA
17 17
18 namespace { 18 namespace {
19 19
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 m_pAnnotHandlerMgr.reset(new CPDFSDK_AnnotHandlerMgr(this)); 200 m_pAnnotHandlerMgr.reset(new CPDFSDK_AnnotHandlerMgr(this));
201 return m_pAnnotHandlerMgr.get(); 201 return m_pAnnotHandlerMgr.get();
202 } 202 }
203 203
204 CPDFSDK_ActionHandler* CPDFSDK_Environment::GetActionHander() { 204 CPDFSDK_ActionHandler* CPDFSDK_Environment::GetActionHander() {
205 if (!m_pActionHandler) 205 if (!m_pActionHandler)
206 m_pActionHandler.reset(new CPDFSDK_ActionHandler()); 206 m_pActionHandler.reset(new CPDFSDK_ActionHandler());
207 return m_pActionHandler.get(); 207 return m_pActionHandler.get();
208 } 208 }
209 209
210 CFFL_IFormFiller* CPDFSDK_Environment::GetIFormFiller() { 210 CFFL_InteractiveFormFiller* CPDFSDK_Environment::GetInteractiveFormFiller() {
211 if (!m_pIFormFiller) 211 if (!m_pFormFiller)
212 m_pIFormFiller.reset(new CFFL_IFormFiller(this)); 212 m_pFormFiller.reset(new CFFL_InteractiveFormFiller(this));
213 return m_pIFormFiller.get(); 213 return m_pFormFiller.get();
214 } 214 }
OLDNEW
« no previous file with comments | « fpdfsdk/cpdfsdk_annothandlermgr.cpp ('k') | fpdfsdk/cpdfsdk_interform.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698