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

Side by Side Diff: fpdfsdk/fpdfxfa/include/fpdfxfa_app.h

Issue 2154843002: Clean up singleton implementation (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: rebase Created 4 years, 5 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/fpdfxfa/fpdfxfa_app.cpp ('k') | fpdfsdk/javascript/JS_GlobalData.h » ('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 #ifndef FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_ 7 #ifndef FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_
8 #define FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_ 8 #define FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_
9 9
10 #include "xfa/fxfa/include/fxfa.h" 10 #include "xfa/fxfa/include/fxfa.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 FX_BOOL PutRequestURL(const CFX_WideString& wsURL, 66 FX_BOOL PutRequestURL(const CFX_WideString& wsURL,
67 const CFX_WideString& wsData, 67 const CFX_WideString& wsData,
68 const CFX_WideString& wsEncode) override; 68 const CFX_WideString& wsEncode) override;
69 69
70 void LoadString(int32_t iStringID, CFX_WideString& wsString) override; 70 void LoadString(int32_t iStringID, CFX_WideString& wsString) override;
71 IFWL_AdapterTimerMgr* GetTimerMgr() override; 71 IFWL_AdapterTimerMgr* GetTimerMgr() override;
72 72
73 CFX_ArrayTemplate<CPDFDoc_Environment*> m_pEnvList; 73 CFX_ArrayTemplate<CPDFDoc_Environment*> m_pEnvList;
74 74
75 protected: 75 protected:
76 static CPDFXFA_App* g_pApp;
77
78 FX_BOOL m_bJavaScriptInitialized; 76 FX_BOOL m_bJavaScriptInitialized;
79 CXFA_FFApp* m_pXFAApp; 77 CXFA_FFApp* m_pXFAApp;
80 v8::Isolate* m_pIsolate; 78 v8::Isolate* m_pIsolate;
81 IFXJS_Runtime* m_pJSRuntime; 79 IFXJS_Runtime* m_pJSRuntime;
82 CFX_WideString m_csAppType; 80 CFX_WideString m_csAppType;
83 }; 81 };
84 82
85 #endif // FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_ 83 #endif // FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_
OLDNEW
« no previous file with comments | « fpdfsdk/fpdfxfa/fpdfxfa_app.cpp ('k') | fpdfsdk/javascript/JS_GlobalData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698