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

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

Issue 963193003: Return error information from pdfium to JS. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Typedefs Created 5 years, 9 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_Define.h ('k') | fpdfsdk/include/javascript/resource.h » ('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 _JS_OBJECT_H_ 7 #ifndef _JS_OBJECT_H_
8 #define _JS_OBJECT_H_ 8 #define _JS_OBJECT_H_
9 9
10 #include "../fsdk_define.h" // For FX_UINT
11 #include "../fsdk_mgr.h" // For CPDFDoc_Environment
12 #include "../fx_systemhandler.h" // For IFX_SystemHandler
13
14 class CPDFSDK_PageView;
10 class CJS_Object; 15 class CJS_Object;
11 class CJS_Timer; 16 class CJS_Timer;
12 class CJS_Context; 17 class CJS_Context;
13 18
14 class CJS_EmbedObj : public CFX_Object 19 class CJS_EmbedObj : public CFX_Object
15 { 20 {
16 public: 21 public:
17 CJS_EmbedObj(CJS_Object* pJSObject); 22 CJS_EmbedObj(CJS_Object* pJSObject);
18 virtual ~CJS_EmbedObj(); 23 virtual ~CJS_EmbedObj();
19 24
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 FX_DWORD m_dwStar tTime; 283 FX_DWORD m_dwStar tTime;
279 FX_DWORD m_dwTime Out; 284 FX_DWORD m_dwTime Out;
280 FX_DWORD m_dwElapse; 285 FX_DWORD m_dwElapse;
281 CJS_Runtime* m_pRuntime; 286 CJS_Runtime* m_pRuntime;
282 CFX_WideString m_swJScript; 287 CFX_WideString m_swJScript;
283 int m_nType; //0:Interval; 1:TimeOut 288 int m_nType; //0:Interval; 1:TimeOut
284 289
285 CPDFDoc_Environment* m_pApp; 290 CPDFDoc_Environment* m_pApp;
286 }; 291 };
287 #endif //_JS_OBJECT_H_ 292 #endif //_JS_OBJECT_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/javascript/JS_Define.h ('k') | fpdfsdk/include/javascript/resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698