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

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

Issue 426763003: Remove a few unused variables, functions, and member variables. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 years, 4 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/pdfwindow/PWL_Note.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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 JS_STATIC_METHOD_ENTRY(popUpMenu, 0) 113 JS_STATIC_METHOD_ENTRY(popUpMenu, 0)
114 JS_STATIC_METHOD_ENTRY(response, 0) 114 JS_STATIC_METHOD_ENTRY(response, 0)
115 JS_STATIC_METHOD_ENTRY(setInterval, 2) 115 JS_STATIC_METHOD_ENTRY(setInterval, 2)
116 JS_STATIC_METHOD_ENTRY(setTimeOut, 2) 116 JS_STATIC_METHOD_ENTRY(setTimeOut, 2)
117 END_JS_STATIC_METHOD() 117 END_JS_STATIC_METHOD()
118 118
119 IMPLEMENT_JS_CLASS(CJS_App,app) 119 IMPLEMENT_JS_CLASS(CJS_App,app)
120 120
121 app::app(CJS_Object * pJSObject) : CJS_EmbedObj(pJSObject) , 121 app::app(CJS_Object * pJSObject) : CJS_EmbedObj(pJSObject) ,
122 m_bCalculate(true), 122 m_bCalculate(true),
123 m_pRuntime(NULL),
124 m_bRuntimeHighLight(false) 123 m_bRuntimeHighLight(false)
125 // m_pMenuHead(NULL) 124 // m_pMenuHead(NULL)
126 { 125 {
127 } 126 }
128 127
129 app::~app(void) 128 app::~app(void)
130 { 129 {
131 for (int i=0,sz=m_aTimer.GetSize(); i<sz; i++) 130 for (int i=0,sz=m_aTimer.GetSize(); i<sz; i++)
132 delete m_aTimer[i]; 131 delete m_aTimer[i];
133 132
(...skipping 990 matching lines...) Expand 10 before | Expand all | Expand 10 after
1124 FX_BOOL app::media(OBJ_PROP_PARAMS) 1123 FX_BOOL app::media(OBJ_PROP_PARAMS)
1125 { 1124 {
1126 return FALSE; 1125 return FALSE;
1127 } 1126 }
1128 1127
1129 FX_BOOL app::execDialog(OBJ_METHOD_PARAMS) 1128 FX_BOOL app::execDialog(OBJ_METHOD_PARAMS)
1130 { 1129 {
1131 return TRUE; 1130 return TRUE;
1132 } 1131 }
1133 1132
OLDNEW
« no previous file with comments | « fpdfsdk/src/javascript/PublicMethods.cpp ('k') | fpdfsdk/src/pdfwindow/PWL_Note.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698