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

Side by Side Diff: xfa/fxfa/parser/xfa_script_hostpseudomodel.h

Issue 2132513003: Cleanup redundant method names. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review feedback 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 XFA_FXFA_PARSER_XFA_SCRIPT_HOSTPSEUDOMODEL_H_ 7 #ifndef XFA_FXFA_PARSER_XFA_SCRIPT_HOSTPSEUDOMODEL_H_
8 #define XFA_FXFA_PARSER_XFA_SCRIPT_HOSTPSEUDOMODEL_H_ 8 #define XFA_FXFA_PARSER_XFA_SCRIPT_HOSTPSEUDOMODEL_H_
9 9
10 #include "fxjse/include/cfxjse_arguments.h" 10 #include "fxjse/include/cfxjse_arguments.h"
11 #include "xfa/fxfa/parser/xfa_document.h" 11 #include "xfa/fxfa/parser/xfa_document.h"
12 #include "xfa/fxfa/parser/xfa_object.h" 12 #include "xfa/fxfa/parser/xfa_object.h"
13 13
14 class CScript_HostPseudoModel : public CXFA_Object { 14 class CScript_HostPseudoModel : public CXFA_Object {
15 public: 15 public:
16 CScript_HostPseudoModel(CXFA_Document* pDocument); 16 explicit CScript_HostPseudoModel(CXFA_Document* pDocument);
17 ~CScript_HostPseudoModel() override; 17 ~CScript_HostPseudoModel() override;
18 18
19 void Script_HostPseudoModel_AppType(CFXJSE_Value* pValue, 19 void AppType(CFXJSE_Value* pValue,
20 FX_BOOL bSetting, 20 FX_BOOL bSetting,
21 XFA_ATTRIBUTE eAttribute); 21 XFA_ATTRIBUTE eAttribute);
22 void Script_HostPseudoModel_FoxitAppType(CFXJSE_Value* pValue, 22 void FoxitAppType(CFXJSE_Value* pValue,
23 FX_BOOL bSetting, 23 FX_BOOL bSetting,
24 XFA_ATTRIBUTE eAttribute); 24 XFA_ATTRIBUTE eAttribute);
25 void Script_HostPseudoModel_CalculationsEnabled(CFXJSE_Value* pValue, 25 void CalculationsEnabled(CFXJSE_Value* pValue,
26 FX_BOOL bSetting, 26 FX_BOOL bSetting,
27 XFA_ATTRIBUTE eAttribute); 27 XFA_ATTRIBUTE eAttribute);
28 void Script_HostPseudoModel_CurrentPage(CFXJSE_Value* pValue, 28 void CurrentPage(CFXJSE_Value* pValue,
29 FX_BOOL bSetting, 29 FX_BOOL bSetting,
30 XFA_ATTRIBUTE eAttribute); 30 XFA_ATTRIBUTE eAttribute);
31 void Script_HostPseudoModel_Language(CFXJSE_Value* pValue, 31 void Language(CFXJSE_Value* pValue,
32 FX_BOOL bSetting, 32 FX_BOOL bSetting,
33 XFA_ATTRIBUTE eAttribute); 33 XFA_ATTRIBUTE eAttribute);
34 void Script_HostPseudoModel_NumPages(CFXJSE_Value* pValue, 34 void NumPages(CFXJSE_Value* pValue,
35 FX_BOOL bSetting, 35 FX_BOOL bSetting,
36 XFA_ATTRIBUTE eAttribute); 36 XFA_ATTRIBUTE eAttribute);
37 void Script_HostPseudoModel_Platform(CFXJSE_Value* pValue, 37 void Platform(CFXJSE_Value* pValue,
38 FX_BOOL bSetting, 38 FX_BOOL bSetting,
39 XFA_ATTRIBUTE eAttribute); 39 XFA_ATTRIBUTE eAttribute);
40 void Script_HostPseudoModel_Title(CFXJSE_Value* pValue, 40 void Title(CFXJSE_Value* pValue, FX_BOOL bSetting, XFA_ATTRIBUTE eAttribute);
41 FX_BOOL bSetting, 41 void ValidationsEnabled(CFXJSE_Value* pValue,
42 XFA_ATTRIBUTE eAttribute); 42 FX_BOOL bSetting,
43 void Script_HostPseudoModel_ValidationsEnabled(CFXJSE_Value* pValue, 43 XFA_ATTRIBUTE eAttribute);
44 FX_BOOL bSetting, 44 void Variation(CFXJSE_Value* pValue,
45 XFA_ATTRIBUTE eAttribute); 45 FX_BOOL bSetting,
46 void Script_HostPseudoModel_Variation(CFXJSE_Value* pValue, 46 XFA_ATTRIBUTE eAttribute);
47 FX_BOOL bSetting, 47 void Version(CFXJSE_Value* pValue,
48 XFA_ATTRIBUTE eAttribute); 48 FX_BOOL bSetting,
49 void Script_HostPseudoModel_Version(CFXJSE_Value* pValue, 49 XFA_ATTRIBUTE eAttribute);
50 FX_BOOL bSetting, 50 void FoxitVersion(CFXJSE_Value* pValue,
51 XFA_ATTRIBUTE eAttribute); 51 FX_BOOL bSetting,
52 void Script_HostPseudoModel_FoxitVersion(CFXJSE_Value* pValue, 52 XFA_ATTRIBUTE eAttribute);
53 FX_BOOL bSetting, 53 void Name(CFXJSE_Value* pValue, FX_BOOL bSetting, XFA_ATTRIBUTE eAttribute);
54 XFA_ATTRIBUTE eAttribute); 54 void FoxitName(CFXJSE_Value* pValue,
55 void Script_HostPseudoModel_Name(CFXJSE_Value* pValue, 55 FX_BOOL bSetting,
56 FX_BOOL bSetting, 56 XFA_ATTRIBUTE eAttribute);
57 XFA_ATTRIBUTE eAttribute);
58 void Script_HostPseudoModel_FoxitName(CFXJSE_Value* pValue,
59 FX_BOOL bSetting,
60 XFA_ATTRIBUTE eAttribute);
61 57
62 void Script_HostPseudoModel_GotoURL(CFXJSE_Arguments* pArguments); 58 void GotoURL(CFXJSE_Arguments* pArguments);
63 void Script_HostPseudoModel_OpenList(CFXJSE_Arguments* pArguments); 59 void OpenList(CFXJSE_Arguments* pArguments);
64 void Script_HostPseudoModel_Response(CFXJSE_Arguments* pArguments); 60 void Response(CFXJSE_Arguments* pArguments);
65 void Script_HostPseudoModel_DocumentInBatch(CFXJSE_Arguments* pArguments); 61 void DocumentInBatch(CFXJSE_Arguments* pArguments);
66 void Script_HostPseudoModel_ResetData(CFXJSE_Arguments* pArguments); 62 void ResetData(CFXJSE_Arguments* pArguments);
67 void Script_HostPseudoModel_Beep(CFXJSE_Arguments* pArguments); 63 void Beep(CFXJSE_Arguments* pArguments);
68 void Script_HostPseudoModel_SetFocus(CFXJSE_Arguments* pArguments); 64 void SetFocus(CFXJSE_Arguments* pArguments);
69 void Script_HostPseudoModel_GetFocus(CFXJSE_Arguments* pArguments); 65 void GetFocus(CFXJSE_Arguments* pArguments);
70 void Script_HostPseudoModel_MessageBox(CFXJSE_Arguments* pArguments); 66 void MessageBox(CFXJSE_Arguments* pArguments);
71 void Script_HostPseudoModel_DocumentCountInBatch( 67 void DocumentCountInBatch(CFXJSE_Arguments* pArguments);
72 CFXJSE_Arguments* pArguments); 68 void Print(CFXJSE_Arguments* pArguments);
73 void Script_HostPseudoModel_Print(CFXJSE_Arguments* pArguments); 69 void ImportData(CFXJSE_Arguments* pArguments);
74 void Script_HostPseudoModel_ImportData(CFXJSE_Arguments* pArguments); 70 void ExportData(CFXJSE_Arguments* pArguments);
75 void Script_HostPseudoModel_ExportData(CFXJSE_Arguments* pArguments); 71 void PageUp(CFXJSE_Arguments* pArguments);
76 void Script_HostPseudoModel_PageUp(CFXJSE_Arguments* pArguments); 72 void PageDown(CFXJSE_Arguments* pArguments);
77 void Script_HostPseudoModel_PageDown(CFXJSE_Arguments* pArguments); 73 void CurrentDateTime(CFXJSE_Arguments* pArguments);
78 void Script_HostPseudoModel_CurrentDateTime(CFXJSE_Arguments* pArguments);
79 74
80 protected: 75 protected:
81 void Script_HostPseudoModel_LoadString(CFXJSE_Value* pValue, 76 void LoadString(CFXJSE_Value* pValue,
82 CXFA_FFNotify* pNotify, 77 CXFA_FFNotify* pNotify,
83 uint32_t dwFlag); 78 uint32_t dwFlag);
84 FX_BOOL Script_HostPseudoModel_ValidateArgsForMsg( 79 FX_BOOL ValidateArgsForMsg(CFXJSE_Arguments* pArguments,
85 CFXJSE_Arguments* pArguments, 80 int32_t iArgIndex,
86 int32_t iArgIndex, 81 CFX_WideString& wsValue);
87 CFX_WideString& wsValue);
88 }; 82 };
89 83
90 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_HOSTPSEUDOMODEL_H_ 84 #endif // XFA_FXFA_PARSER_XFA_SCRIPT_HOSTPSEUDOMODEL_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_script_eventpseudomodel.cpp ('k') | xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698