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

Unified Diff: fpdfsdk/cpdfsdk_document.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 side-by-side diff with in-line comments
Download patch
Index: fpdfsdk/cpdfsdk_document.h
diff --git a/fpdfsdk/cpdfsdk_document.h b/fpdfsdk/cpdfsdk_document.h
index 561bfc198d6d3cf4fccc5e95099f28de5ec04392..921a8df972094cb4babc7350abcbfef580f5f4c0 100644
--- a/fpdfsdk/cpdfsdk_document.h
+++ b/fpdfsdk/cpdfsdk_document.h
@@ -17,7 +17,7 @@
#include "public/fpdf_formfill.h"
class CPDF_OCContext;
-class CPDFSDK_Environment;
+class CPDFSDK_FormFillEnvironment;
class CPDFSDK_InterForm;
class CPDFSDK_PageView;
class IJS_Runtime;
@@ -26,7 +26,8 @@ class CPDFSDK_Document : public CFX_Observable<CPDFSDK_Document> {
public:
static CPDFSDK_Document* FromFPDFFormHandle(FPDF_FORMHANDLE hHandle);
- CPDFSDK_Document(UnderlyingDocumentType* pDoc, CPDFSDK_Environment* pEnv);
+ CPDFSDK_Document(UnderlyingDocumentType* pDoc,
+ CPDFSDK_FormFillEnvironment* pEnv);
~CPDFSDK_Document();
CPDFSDK_InterForm* GetInterForm();
@@ -89,7 +90,7 @@ class CPDFSDK_Document : public CFX_Observable<CPDFSDK_Document> {
void ClearChangeMark() { m_bChangeMask = FALSE; }
CFX_WideString GetPath();
UnderlyingPageType* GetPage(int nIndex);
- CPDFSDK_Environment* GetEnv() { return m_pEnv; }
+ CPDFSDK_FormFillEnvironment* GetEnv() { return m_pEnv; }
void ProcJavascriptFun();
FX_BOOL ProcOpenAction();
CPDF_OCContext* GetOCContext();
@@ -99,7 +100,7 @@ class CPDFSDK_Document : public CFX_Observable<CPDFSDK_Document> {
UnderlyingDocumentType* m_pDoc;
std::unique_ptr<CPDFSDK_InterForm> m_pInterForm;
CPDFSDK_Annot::ObservedPtr m_pFocusAnnot;
- CPDFSDK_Environment* m_pEnv;
+ CPDFSDK_FormFillEnvironment* m_pEnv;
std::unique_ptr<CPDF_OCContext> m_pOccontent;
FX_BOOL m_bChangeMask;
FX_BOOL m_bBeingDestroyed;

Powered by Google App Engine
This is Rietveld 408576698