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

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

Issue 2062313002: Make code compile with clang_use_chrome_plugin (part IV) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: remove unused file Created 4 years, 6 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_page.cpp ('k') | fpdfsdk/fpdfxfa/include/fpdfxfa_doc.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 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;
39 41
40 void GetLanguage(CFX_WideString& wsLanguage) override; 42 void GetLanguage(CFX_WideString& wsLanguage) override;
41 void GetPlatform(CFX_WideString& wsPlatform) override; 43 void GetPlatform(CFX_WideString& wsPlatform) override;
42 void GetVariation(CFX_WideString& wsVariation) override; 44 void GetVariation(CFX_WideString& wsVariation) override;
43 void GetVersion(CFX_WideString& wsVersion) override; 45 void GetVersion(CFX_WideString& wsVersion) override;
44 void GetFoxitVersion(CFX_WideString& wsFoxitVersion) override { 46 void GetFoxitVersion(CFX_WideString& wsFoxitVersion) override;
45 wsFoxitVersion = L"7.0";
46 }
47 47
48 void GetAppName(CFX_WideString& wsName) override; 48 void GetAppName(CFX_WideString& wsName) override;
49 void GetFoxitAppName(CFX_WideString& wsFoxitName) override { 49 void GetFoxitAppName(CFX_WideString& wsFoxitName) override;
50 wsFoxitName = L"Foxit";
51 }
52 50
53 void Beep(uint32_t dwType) override; 51 void Beep(uint32_t dwType) override;
54 int32_t MsgBox(const CFX_WideString& wsMessage, 52 int32_t MsgBox(const CFX_WideString& wsMessage,
55 const CFX_WideString& wsTitle, 53 const CFX_WideString& wsTitle,
56 uint32_t dwIconType, 54 uint32_t dwIconType,
57 uint32_t dwButtonType) override; 55 uint32_t dwButtonType) override;
58 CFX_WideString Response(const CFX_WideString& wsQuestion, 56 CFX_WideString Response(const CFX_WideString& wsQuestion,
59 const CFX_WideString& wsTitle, 57 const CFX_WideString& wsTitle,
60 const CFX_WideString& wsDefaultAnswer, 58 const CFX_WideString& wsDefaultAnswer,
61 FX_BOOL bMark) override; 59 FX_BOOL bMark) override;
(...skipping 21 matching lines...) Expand all
83 static CPDFXFA_App* g_pApp; 81 static CPDFXFA_App* g_pApp;
84 82
85 FX_BOOL m_bJavaScriptInitialized; 83 FX_BOOL m_bJavaScriptInitialized;
86 CXFA_FFApp* m_pXFAApp; 84 CXFA_FFApp* m_pXFAApp;
87 v8::Isolate* m_pIsolate; 85 v8::Isolate* m_pIsolate;
88 IFXJS_Runtime* m_pJSRuntime; 86 IFXJS_Runtime* m_pJSRuntime;
89 CFX_WideString m_csAppType; 87 CFX_WideString m_csAppType;
90 }; 88 };
91 89
92 #endif // FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_ 90 #endif // FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_
OLDNEW
« no previous file with comments | « fpdfsdk/fpdfxfa/fpdfxfa_page.cpp ('k') | fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698