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

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

Issue 1388023003: Merge to XFA: Make the vast majority of JS headers private to src/javascript. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 2 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_GlobalData.cpp ('k') | fpdfsdk/src/javascript/JS_Object.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 FPDFSDK_INCLUDE_JAVASCRIPT_JS_OBJECT_H_ 7 #ifndef FPDFSDK_SRC_JAVASCRIPT_JS_OBJECT_H_
8 #define FPDFSDK_INCLUDE_JAVASCRIPT_JS_OBJECT_H_ 8 #define FPDFSDK_SRC_JAVASCRIPT_JS_OBJECT_H_
9 9
10 #include <map> 10 #include <map>
11 11
12 #include "../../../third_party/base/nonstd_unique_ptr.h" 12 #include "../../../third_party/base/nonstd_unique_ptr.h"
13 13 #include "../../include/fsdk_define.h" // For FX_UINT
14 #include "../fsdk_define.h" // For FX_UINT 14 #include "../../include/jsapi/fxjs_v8.h"
15 #include "../fsdk_mgr.h" // For CPDFDoc_Environment
16 #include "../fx_systemhandler.h" // For IFX_SystemHandler
17 #include "../jsapi/fxjs_v8.h"
18 #include "JS_Runtime.h" 15 #include "JS_Runtime.h"
19 16
20 class CJS_Context; 17 class CJS_Context;
21 class CJS_Object; 18 class CJS_Object;
22 class CJS_Timer; 19 class CJS_Timer;
23 20 class CPDFDoc_Environment;
24 class CJS_EmbedObj { 21 class CJS_EmbedObj {
25 public: 22 public:
26 explicit CJS_EmbedObj(CJS_Object* pJSObject); 23 explicit CJS_EmbedObj(CJS_Object* pJSObject);
27 virtual ~CJS_EmbedObj(); 24 virtual ~CJS_EmbedObj();
28 25
29 virtual void TimerProc(CJS_Timer* pTimer) {} 26 virtual void TimerProc(CJS_Timer* pTimer) {}
30 27
31 CJS_Object* GetJSObject() const { return m_pJSObject; } 28 CJS_Object* GetJSObject() const { return m_pJSObject; }
32 29
33 int MsgBox(CPDFDoc_Environment* pApp, 30 int MsgBox(CPDFDoc_Environment* pApp,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 bool m_bValid; 106 bool m_bValid;
110 107
111 // data 108 // data
112 const int m_nType; // 0:Interval; 1:TimeOut 109 const int m_nType; // 0:Interval; 1:TimeOut
113 const FX_DWORD m_dwTimeOut; 110 const FX_DWORD m_dwTimeOut;
114 const CFX_WideString m_swJScript; 111 const CFX_WideString m_swJScript;
115 CJS_Runtime* const m_pRuntime; 112 CJS_Runtime* const m_pRuntime;
116 CPDFDoc_Environment* const m_pApp; 113 CPDFDoc_Environment* const m_pApp;
117 }; 114 };
118 115
119 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_JS_OBJECT_H_ 116 #endif // FPDFSDK_SRC_JAVASCRIPT_JS_OBJECT_H_
OLDNEW
« no previous file with comments | « fpdfsdk/src/javascript/JS_GlobalData.cpp ('k') | fpdfsdk/src/javascript/JS_Object.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698