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

Side by Side Diff: fpdfsdk/cpdfsdk_formfillenvironment.h

Issue 2391313002: Rename CPDFSDK_Environment to CPDFSDK_FormfillEnvironment (Closed)
Patch Set: Rebase to master Created 4 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
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 #ifndef FPDFSDK_CPDFSDK_ENVIRONMENT_H_ 7 #ifndef FPDFSDK_CPDFSDK_FORMFILLENVIRONMENT_H_
8 #define FPDFSDK_CPDFSDK_ENVIRONMENT_H_ 8 #define FPDFSDK_CPDFSDK_FORMFILLENVIRONMENT_H_
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "core/fpdfapi/page/cpdf_page.h" 12 #include "core/fpdfapi/page/cpdf_page.h"
13 #include "core/fpdfapi/parser/cpdf_document.h" 13 #include "core/fpdfapi/parser/cpdf_document.h"
14 #include "core/fpdfdoc/cpdf_occontext.h" 14 #include "core/fpdfdoc/cpdf_occontext.h"
15 #include "core/fxcrt/cfx_observable.h" 15 #include "core/fxcrt/cfx_observable.h"
16 #include "fpdfsdk/cfx_systemhandler.h" 16 #include "fpdfsdk/cfx_systemhandler.h"
17 #include "fpdfsdk/fsdk_define.h" 17 #include "fpdfsdk/fsdk_define.h"
18 #include "public/fpdf_formfill.h" 18 #include "public/fpdf_formfill.h"
19 #include "public/fpdf_fwlevent.h" 19 #include "public/fpdf_fwlevent.h"
20 20
21 class CFFL_InteractiveFormFiller; 21 class CFFL_InteractiveFormFiller;
22 class CFX_SystemHandler; 22 class CFX_SystemHandler;
23 class CPDFSDK_ActionHandler; 23 class CPDFSDK_ActionHandler;
24 class CPDFSDK_AnnotHandlerMgr; 24 class CPDFSDK_AnnotHandlerMgr;
25 class CPDFSDK_Document; 25 class CPDFSDK_Document;
26 class IJS_Runtime; 26 class IJS_Runtime;
27 27
28 class CPDFSDK_Environment final { 28 class CPDFSDK_FormFillEnvironment final {
29 public: 29 public:
30 CPDFSDK_Environment(UnderlyingDocumentType* pDoc, FPDF_FORMFILLINFO* pFFinfo); 30 CPDFSDK_FormFillEnvironment(UnderlyingDocumentType* pDoc,
31 ~CPDFSDK_Environment(); 31 FPDF_FORMFILLINFO* pFFinfo);
32 ~CPDFSDK_FormFillEnvironment();
32 33
33 void Invalidate(FPDF_PAGE page, 34 void Invalidate(FPDF_PAGE page,
34 double left, 35 double left,
35 double top, 36 double top,
36 double right, 37 double right,
37 double bottom); 38 double bottom);
38 void OutputSelectedRect(FPDF_PAGE page, 39 void OutputSelectedRect(FPDF_PAGE page,
39 double left, 40 double left,
40 double top, 41 double top,
41 double right, 42 double right,
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 std::unique_ptr<CPDFSDK_AnnotHandlerMgr> m_pAnnotHandlerMgr; 165 std::unique_ptr<CPDFSDK_AnnotHandlerMgr> m_pAnnotHandlerMgr;
165 std::unique_ptr<CPDFSDK_ActionHandler> m_pActionHandler; 166 std::unique_ptr<CPDFSDK_ActionHandler> m_pActionHandler;
166 std::unique_ptr<IJS_Runtime> m_pJSRuntime; 167 std::unique_ptr<IJS_Runtime> m_pJSRuntime;
167 FPDF_FORMFILLINFO* const m_pInfo; 168 FPDF_FORMFILLINFO* const m_pInfo;
168 std::unique_ptr<CPDFSDK_Document> m_pSDKDoc; 169 std::unique_ptr<CPDFSDK_Document> m_pSDKDoc;
169 UnderlyingDocumentType* const m_pUnderlyingDoc; 170 UnderlyingDocumentType* const m_pUnderlyingDoc;
170 std::unique_ptr<CFFL_InteractiveFormFiller> m_pFormFiller; 171 std::unique_ptr<CFFL_InteractiveFormFiller> m_pFormFiller;
171 std::unique_ptr<CFX_SystemHandler> m_pSysHandler; 172 std::unique_ptr<CFX_SystemHandler> m_pSysHandler;
172 }; 173 };
173 174
174 #endif // FPDFSDK_CPDFSDK_ENVIRONMENT_H_ 175 #endif // FPDFSDK_CPDFSDK_FORMFILLENVIRONMENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698