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

Side by Side Diff: fpdfsdk/include/javascript/app.h

Issue 883393007: Kill off some dodgy JS callbacks (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: remove more now-unreachable code. Created 5 years, 10 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/include/javascript/JS_Object.h ('k') | fpdfsdk/src/fsdk_baseform.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 #ifndef _APP_H_ 7 #ifndef _APP_H_
8 #define _APP_H_ 8 #define _APP_H_
9 9
10 class CJS_Runtime; 10 class CJS_Runtime;
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // void AddMenuItem(APP_MENUITEM _ARRAY * pMenuItems, HMENU hMenu, MENUITEMINFO MenuItemInfo); 153 // void AddMenuItem(APP_MENUITEM _ARRAY * pMenuItems, HMENU hMenu, MENUITEMINFO MenuItemInfo);
154 // void InitMenuItemInfo(MENUITE MINFO& MenuItemInfo); 154 // void InitMenuItemInfo(MENUITE MINFO& MenuItemInfo);
155 // void DestroyPopUpMenu(); 155 // void DestroyPopUpMenu();
156 156
157 // void ParserMenuItem(APP_MENU* pHead, const CJS_Parameters&params); 157 // void ParserMenuItem(APP_MENU* pHead, const CJS_Parameters&params);
158 // void AddItemToMenu(APP_MENU* pHead, HMENU hMenu, MENUITEMINFO MenuItemInfo); 158 // void AddItemToMenu(APP_MENU* pHead, HMENU hMenu, MENUITEMINFO MenuItemInfo);
159 // void DestroyMenuItems(APP_MEN U* pHead); 159 // void DestroyMenuItems(APP_MEN U* pHead);
160 160
161 public: 161 public:
162 static CFX_WideString SysPathToPDFPath(const CFX_WideString& s OldPath); 162 static CFX_WideString SysPathToPDFPath(const CFX_WideString& s OldPath);
163 static CFX_WideString PDFPathToSysPath(const CFX_WideString& s OldPath);
164 static CFX_WideString RelativePathToSysPath(const CFX_WideStri ng& sOldPath, const CFX_WideString& sFilePath);
165
166 163
167 private: 164 private:
168 165
169 bool m_bCalculate; 166 bool m_bCalculate;
170 bool m_bRuntimeHighLight; 167 bool m_bRuntimeHighLight;
171 168
172 CFX_ArrayTemplate<CJS_Timer*> m_aTimer; 169 CFX_ArrayTemplate<CJS_Timer*> m_aTimer;
173 // APP_MENU* m_pMenuHead; 170 // APP_MENU* m_pMenuHead;
174 171
175 public: 172 public:
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 JS_STATIC_METHOD(openFDF, app); 212 JS_STATIC_METHOD(openFDF, app);
216 JS_STATIC_METHOD(popUpMenuEx, app); 213 JS_STATIC_METHOD(popUpMenuEx, app);
217 JS_STATIC_METHOD(popUpMenu, app); 214 JS_STATIC_METHOD(popUpMenu, app);
218 JS_STATIC_METHOD(response, app); 215 JS_STATIC_METHOD(response, app);
219 JS_STATIC_METHOD(setInterval, app); 216 JS_STATIC_METHOD(setInterval, app);
220 JS_STATIC_METHOD(setTimeOut, app); 217 JS_STATIC_METHOD(setTimeOut, app);
221 218
222 }; 219 };
223 220
224 #endif //_APP_H_ 221 #endif //_APP_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/javascript/JS_Object.h ('k') | fpdfsdk/src/fsdk_baseform.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698