summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-07-18 06:01:07 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-18 06:01:07 -0700
commite8a80664a888526ca4f0d08b4e6b290eb0aa0d76 (patch)
tree063d663071a01f8eb58cc23e278e77039cfdab2f /fpdfsdk
parent8d5315004400be520bd988c1789e3b0a800fb100 (diff)
downloadpdfium-e8a80664a888526ca4f0d08b4e6b290eb0aa0d76.tar.xz
Remove foxit app related setter and getter APIs in XFA code
No need to get or set foxit app type, name, and version, thus remove all these APIs and implementation. Review-Url: https://codereview.chromium.org/2050913002
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/fpdfxfa/fpdfxfa_app.cpp14
-rw-r--r--fpdfsdk/fpdfxfa/include/fpdfxfa_app.h5
2 files changed, 0 insertions, 19 deletions
diff --git a/fpdfsdk/fpdfxfa/fpdfxfa_app.cpp b/fpdfsdk/fpdfxfa/fpdfxfa_app.cpp
index 5fe114a64c..5774a54785 100644
--- a/fpdfsdk/fpdfxfa/fpdfxfa_app.cpp
+++ b/fpdfsdk/fpdfxfa/fpdfxfa_app.cpp
@@ -93,20 +93,10 @@ void CPDFXFA_App::GetAppName(CFX_WideString& wsName) {
}
}
-void CPDFXFA_App::GetFoxitAppName(CFX_WideString& wsFoxitName) {
- wsFoxitName = L"Foxit";
-}
-
void CPDFXFA_App::SetAppType(const CFX_WideStringC& wsAppType) {
m_csAppType = wsAppType;
}
-void CPDFXFA_App::SetFoxitAppType(const CFX_WideStringC& wsFoxitAppType) {}
-
-void CPDFXFA_App::GetFoxitAppType(CFX_WideString& wsFoxitAppType) {
- wsFoxitAppType.clear();
-}
-
void CPDFXFA_App::GetLanguage(CFX_WideString& wsLanguage) {
CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0);
if (pEnv) {
@@ -129,10 +119,6 @@ void CPDFXFA_App::GetVersion(CFX_WideString& wsVersion) {
wsVersion = JS_STR_VIEWERVERSION_XFA;
}
-void CPDFXFA_App::GetFoxitVersion(CFX_WideString& wsFoxitVersion) {
- wsFoxitVersion = L"7.0";
-}
-
void CPDFXFA_App::Beep(uint32_t dwType) {
CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0);
if (pEnv) {
diff --git a/fpdfsdk/fpdfxfa/include/fpdfxfa_app.h b/fpdfsdk/fpdfxfa/include/fpdfxfa_app.h
index 993d4b4254..7b96e4378f 100644
--- a/fpdfsdk/fpdfxfa/include/fpdfxfa_app.h
+++ b/fpdfsdk/fpdfxfa/include/fpdfxfa_app.h
@@ -36,17 +36,12 @@ class CPDFXFA_App : public IXFA_AppProvider {
// IFXA_AppProvider:
void GetAppType(CFX_WideString& wsAppType) override;
void SetAppType(const CFX_WideStringC& wsAppType) override;
- void SetFoxitAppType(const CFX_WideStringC& wsFoxitAppType) override;
- void GetFoxitAppType(CFX_WideString& wsFoxitAppType) override;
void GetLanguage(CFX_WideString& wsLanguage) override;
void GetPlatform(CFX_WideString& wsPlatform) override;
void GetVariation(CFX_WideString& wsVariation) override;
void GetVersion(CFX_WideString& wsVersion) override;
- void GetFoxitVersion(CFX_WideString& wsFoxitVersion) override;
-
void GetAppName(CFX_WideString& wsName) override;
- void GetFoxitAppName(CFX_WideString& wsFoxitName) override;
void Beep(uint32_t dwType) override;
int32_t MsgBox(const CFX_WideString& wsMessage,