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

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

Issue 2050913002: Remove foxit app related setter and getter APIs in XFA code (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: rebase and fix indexes 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
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 18 matching lines...) Expand all
29 FX_BOOL IsJavaScriptInitialized() const { return m_bJavaScriptInitialized; } 29 FX_BOOL IsJavaScriptInitialized() const { return m_bJavaScriptInitialized; }
30 void SetJavaScriptInitialized(FX_BOOL bInitialized) { 30 void SetJavaScriptInitialized(FX_BOOL bInitialized) {
31 m_bJavaScriptInitialized = bInitialized; 31 m_bJavaScriptInitialized = bInitialized;
32 } 32 }
33 33
34 v8::Isolate* GetJSERuntime() const { return m_pIsolate; } 34 v8::Isolate* GetJSERuntime() const { return m_pIsolate; }
35 35
36 // IFXA_AppProvider: 36 // IFXA_AppProvider:
37 void GetAppType(CFX_WideString& wsAppType) override; 37 void GetAppType(CFX_WideString& wsAppType) override;
38 void SetAppType(const CFX_WideStringC& wsAppType) override; 38 void SetAppType(const CFX_WideStringC& wsAppType) override;
39 void SetFoxitAppType(const CFX_WideStringC& wsFoxitAppType) override;
40 void GetFoxitAppType(CFX_WideString& wsFoxitAppType) override;
41 39
42 void GetLanguage(CFX_WideString& wsLanguage) override; 40 void GetLanguage(CFX_WideString& wsLanguage) override;
43 void GetPlatform(CFX_WideString& wsPlatform) override; 41 void GetPlatform(CFX_WideString& wsPlatform) override;
44 void GetVariation(CFX_WideString& wsVariation) override; 42 void GetVariation(CFX_WideString& wsVariation) override;
45 void GetVersion(CFX_WideString& wsVersion) override; 43 void GetVersion(CFX_WideString& wsVersion) override;
46 void GetFoxitVersion(CFX_WideString& wsFoxitVersion) override;
47
48 void GetAppName(CFX_WideString& wsName) override; 44 void GetAppName(CFX_WideString& wsName) override;
49 void GetFoxitAppName(CFX_WideString& wsFoxitName) override;
50 45
51 void Beep(uint32_t dwType) override; 46 void Beep(uint32_t dwType) override;
52 int32_t MsgBox(const CFX_WideString& wsMessage, 47 int32_t MsgBox(const CFX_WideString& wsMessage,
53 const CFX_WideString& wsTitle, 48 const CFX_WideString& wsTitle,
54 uint32_t dwIconType, 49 uint32_t dwIconType,
55 uint32_t dwButtonType) override; 50 uint32_t dwButtonType) override;
56 CFX_WideString Response(const CFX_WideString& wsQuestion, 51 CFX_WideString Response(const CFX_WideString& wsQuestion,
57 const CFX_WideString& wsTitle, 52 const CFX_WideString& wsTitle,
58 const CFX_WideString& wsDefaultAnswer, 53 const CFX_WideString& wsDefaultAnswer,
59 FX_BOOL bMark) override; 54 FX_BOOL bMark) override;
(...skipping 21 matching lines...) Expand all
81 static CPDFXFA_App* g_pApp; 76 static CPDFXFA_App* g_pApp;
82 77
83 FX_BOOL m_bJavaScriptInitialized; 78 FX_BOOL m_bJavaScriptInitialized;
84 CXFA_FFApp* m_pXFAApp; 79 CXFA_FFApp* m_pXFAApp;
85 v8::Isolate* m_pIsolate; 80 v8::Isolate* m_pIsolate;
86 IFXJS_Runtime* m_pJSRuntime; 81 IFXJS_Runtime* m_pJSRuntime;
87 CFX_WideString m_csAppType; 82 CFX_WideString m_csAppType;
88 }; 83 };
89 84
90 #endif // FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_ 85 #endif // FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698