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

Side by Side Diff: fpdfsdk/src/javascript/app.cpp

Issue 1105813002: Merge to XFA: Remove unused nParamNum values from JS method tables. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 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/src/javascript/PublicMethods.cpp ('k') | fpdfsdk/src/javascript/color.cpp » ('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 #include "../../include/javascript/JavaScript.h" 7 #include "../../include/javascript/JavaScript.h"
8 #include "../../include/javascript/IJavaScript.h" 8 #include "../../include/javascript/IJavaScript.h"
9 #include "../../include/javascript/JS_Define.h" 9 #include "../../include/javascript/JS_Define.h"
10 #include "../../include/javascript/JS_Object.h" 10 #include "../../include/javascript/JS_Object.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 JS_STATIC_PROP_ENTRY(language) 87 JS_STATIC_PROP_ENTRY(language)
88 JS_STATIC_PROP_ENTRY(media) 88 JS_STATIC_PROP_ENTRY(media)
89 JS_STATIC_PROP_ENTRY(platform) 89 JS_STATIC_PROP_ENTRY(platform)
90 JS_STATIC_PROP_ENTRY(runtimeHighlight) 90 JS_STATIC_PROP_ENTRY(runtimeHighlight)
91 JS_STATIC_PROP_ENTRY(viewerType) 91 JS_STATIC_PROP_ENTRY(viewerType)
92 JS_STATIC_PROP_ENTRY(viewerVariation) 92 JS_STATIC_PROP_ENTRY(viewerVariation)
93 JS_STATIC_PROP_ENTRY(viewerVersion) 93 JS_STATIC_PROP_ENTRY(viewerVersion)
94 END_JS_STATIC_PROP() 94 END_JS_STATIC_PROP()
95 95
96 BEGIN_JS_STATIC_METHOD(CJS_App) 96 BEGIN_JS_STATIC_METHOD(CJS_App)
97 » JS_STATIC_METHOD_ENTRY(alert, 6) 97 » JS_STATIC_METHOD_ENTRY(alert)
98 » JS_STATIC_METHOD_ENTRY(beep, 1) 98 » JS_STATIC_METHOD_ENTRY(beep)
99 » JS_STATIC_METHOD_ENTRY(browseForDoc, 0) 99 » JS_STATIC_METHOD_ENTRY(browseForDoc)
100 » JS_STATIC_METHOD_ENTRY(clearInterval, 1) 100 » JS_STATIC_METHOD_ENTRY(clearInterval)
101 » JS_STATIC_METHOD_ENTRY(clearTimeOut, 1) 101 » JS_STATIC_METHOD_ENTRY(clearTimeOut)
102 » JS_STATIC_METHOD_ENTRY(execDialog, 3) 102 » JS_STATIC_METHOD_ENTRY(execDialog)
103 » JS_STATIC_METHOD_ENTRY(execMenuItem, 1) 103 » JS_STATIC_METHOD_ENTRY(execMenuItem)
104 » JS_STATIC_METHOD_ENTRY(findComponent, 1) 104 » JS_STATIC_METHOD_ENTRY(findComponent)
105 » JS_STATIC_METHOD_ENTRY(goBack, 0) 105 » JS_STATIC_METHOD_ENTRY(goBack)
106 » JS_STATIC_METHOD_ENTRY(goForward, 0) 106 » JS_STATIC_METHOD_ENTRY(goForward)
107 » JS_STATIC_METHOD_ENTRY(launchURL, 0) 107 » JS_STATIC_METHOD_ENTRY(launchURL)
108 » JS_STATIC_METHOD_ENTRY(mailMsg, 0) 108 » JS_STATIC_METHOD_ENTRY(mailMsg)
109 » JS_STATIC_METHOD_ENTRY(newFDF, 0) 109 » JS_STATIC_METHOD_ENTRY(newFDF)
110 » JS_STATIC_METHOD_ENTRY(newDoc, 0) 110 » JS_STATIC_METHOD_ENTRY(newDoc)
111 » JS_STATIC_METHOD_ENTRY(openDoc, 0) 111 » JS_STATIC_METHOD_ENTRY(openDoc)
112 » JS_STATIC_METHOD_ENTRY(openFDF, 5) 112 » JS_STATIC_METHOD_ENTRY(openFDF)
113 » JS_STATIC_METHOD_ENTRY(popUpMenuEx, 0) 113 » JS_STATIC_METHOD_ENTRY(popUpMenuEx)
114 » JS_STATIC_METHOD_ENTRY(popUpMenu, 0) 114 » JS_STATIC_METHOD_ENTRY(popUpMenu)
115 » JS_STATIC_METHOD_ENTRY(response, 0) 115 » JS_STATIC_METHOD_ENTRY(response)
116 » JS_STATIC_METHOD_ENTRY(setInterval, 2) 116 » JS_STATIC_METHOD_ENTRY(setInterval)
117 » JS_STATIC_METHOD_ENTRY(setTimeOut, 2) 117 » JS_STATIC_METHOD_ENTRY(setTimeOut)
118 END_JS_STATIC_METHOD() 118 END_JS_STATIC_METHOD()
119 119
120 IMPLEMENT_JS_CLASS(CJS_App,app) 120 IMPLEMENT_JS_CLASS(CJS_App,app)
121 121
122 app::app(CJS_Object * pJSObject) : CJS_EmbedObj(pJSObject) , 122 app::app(CJS_Object * pJSObject) : CJS_EmbedObj(pJSObject) ,
123 m_bCalculate(true), 123 m_bCalculate(true),
124 m_bRuntimeHighLight(false) 124 m_bRuntimeHighLight(false)
125 // m_pMenuHead(NULL) 125 // m_pMenuHead(NULL)
126 { 126 {
127 } 127 }
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 933
934 FX_BOOL app::media(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError) 934 FX_BOOL app::media(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError)
935 { 935 {
936 return FALSE; 936 return FALSE;
937 } 937 }
938 938
939 FX_BOOL app::execDialog(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Val ue& vRet, CFX_WideString& sError) 939 FX_BOOL app::execDialog(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Val ue& vRet, CFX_WideString& sError)
940 { 940 {
941 return TRUE; 941 return TRUE;
942 } 942 }
OLDNEW
« no previous file with comments | « fpdfsdk/src/javascript/PublicMethods.cpp ('k') | fpdfsdk/src/javascript/color.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698