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

Side by Side Diff: xfa/fxfa/fm2js/xfa_fm2jscontext.h

Issue 2380713005: Move fxjs/include to fxjs (Closed)
Patch Set: Rebase to master Created 4 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 | « xfa/fxfa/app/xfa_ffwidgetacc.cpp ('k') | xfa/fxfa/fm2js/xfa_fm2jscontext.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 XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_ 7 #ifndef XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_
8 #define XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_ 8 #define XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_
9 9
10 #include "fxjs/include/cfxjse_arguments.h" 10 #include "fxjs/cfxjse_arguments.h"
11 #include "fxjs/include/cfxjse_context.h" 11 #include "fxjs/cfxjse_context.h"
12 #include "xfa/fxfa/parser/xfa_resolvenode_rs.h" 12 #include "xfa/fxfa/parser/xfa_resolvenode_rs.h"
13 13
14 class CXFA_FM2JSContext : public CFXJSE_HostObject { 14 class CXFA_FM2JSContext : public CFXJSE_HostObject {
15 public: 15 public:
16 CXFA_FM2JSContext(v8::Isolate* pScriptIsolate, 16 CXFA_FM2JSContext(v8::Isolate* pScriptIsolate,
17 CFXJSE_Context* pScriptContext, 17 CFXJSE_Context* pScriptContext,
18 CXFA_Document* pDoc); 18 CXFA_Document* pDoc);
19 ~CXFA_FM2JSContext() override; 19 ~CXFA_FM2JSContext() override;
20 20
21 static void Abs(CFXJSE_Value* pThis, 21 static void Abs(CFXJSE_Value* pThis,
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 CXFA_Document* GetDocument() const { return m_pDocument; } 452 CXFA_Document* GetDocument() const { return m_pDocument; }
453 void ThrowException(int32_t iStringID, ...); 453 void ThrowException(int32_t iStringID, ...);
454 454
455 v8::Isolate* m_pIsolate; 455 v8::Isolate* m_pIsolate;
456 CFXJSE_Class* m_pFMClass; 456 CFXJSE_Class* m_pFMClass;
457 std::unique_ptr<CFXJSE_Value> m_pValue; 457 std::unique_ptr<CFXJSE_Value> m_pValue;
458 CXFA_Document* const m_pDocument; 458 CXFA_Document* const m_pDocument;
459 }; 459 };
460 460
461 #endif // XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_ 461 #endif // XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffwidgetacc.cpp ('k') | xfa/fxfa/fm2js/xfa_fm2jscontext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698