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

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

Issue 1287193005: Use override in more classes in fpdfsdk/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: nits, rebase Created 5 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/JS_Object.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 "../../../third_party/base/nonstd_unique_ptr.h" 7 #include "../../../third_party/base/nonstd_unique_ptr.h"
8 #include "../../include/javascript/JavaScript.h" 8 #include "../../include/javascript/JavaScript.h"
9 #include "../../include/javascript/IJavaScript.h" 9 #include "../../include/javascript/IJavaScript.h"
10 #include "../../include/javascript/JS_Define.h" 10 #include "../../include/javascript/JS_Define.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 JS_STATIC_METHOD_ENTRY(response) 105 JS_STATIC_METHOD_ENTRY(response)
106 JS_STATIC_METHOD_ENTRY(setInterval) 106 JS_STATIC_METHOD_ENTRY(setInterval)
107 JS_STATIC_METHOD_ENTRY(setTimeOut) 107 JS_STATIC_METHOD_ENTRY(setTimeOut)
108 END_JS_STATIC_METHOD() 108 END_JS_STATIC_METHOD()
109 109
110 IMPLEMENT_JS_CLASS(CJS_App, app) 110 IMPLEMENT_JS_CLASS(CJS_App, app)
111 111
112 app::app(CJS_Object* pJSObject) 112 app::app(CJS_Object* pJSObject)
113 : CJS_EmbedObj(pJSObject), m_bCalculate(true), m_bRuntimeHighLight(false) {} 113 : CJS_EmbedObj(pJSObject), m_bCalculate(true), m_bRuntimeHighLight(false) {}
114 114
115 app::~app(void) { 115 app::~app() {
116 for (int i = 0, sz = m_aTimer.GetSize(); i < sz; i++) 116 for (int i = 0, sz = m_aTimer.GetSize(); i < sz; i++)
117 delete m_aTimer[i]; 117 delete m_aTimer[i];
118 118
119 m_aTimer.RemoveAll(); 119 m_aTimer.RemoveAll();
120 } 120 }
121 121
122 FX_BOOL app::activeDocs(IFXJS_Context* cc, 122 FX_BOOL app::activeDocs(IFXJS_Context* cc,
123 CJS_PropValue& vp, 123 CJS_PropValue& vp,
124 CFX_WideString& sError) { 124 CFX_WideString& sError) {
125 if (!vp.IsGetting()) 125 if (!vp.IsGetting())
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 CFX_WideString& sError) { 856 CFX_WideString& sError) {
857 return FALSE; 857 return FALSE;
858 } 858 }
859 859
860 FX_BOOL app::execDialog(IFXJS_Context* cc, 860 FX_BOOL app::execDialog(IFXJS_Context* cc,
861 const CJS_Parameters& params, 861 const CJS_Parameters& params,
862 CJS_Value& vRet, 862 CJS_Value& vRet,
863 CFX_WideString& sError) { 863 CFX_WideString& sError) {
864 return TRUE; 864 return TRUE;
865 } 865 }
OLDNEW
« no previous file with comments | « fpdfsdk/src/javascript/JS_Object.cpp ('k') | fpdfsdk/src/javascript/color.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698