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

Side by Side Diff: fpdfsdk/javascript/cjs_context.h

Issue 2382723003: Move core/fxcrt/include to core/fxcrt (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 | « fpdfsdk/javascript/PublicMethods.cpp ('k') | fpdfsdk/javascript/cjs_runtime.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 FPDFSDK_JAVASCRIPT_CJS_CONTEXT_H_ 7 #ifndef FPDFSDK_JAVASCRIPT_CJS_CONTEXT_H_
8 #define FPDFSDK_JAVASCRIPT_CJS_CONTEXT_H_ 8 #define FPDFSDK_JAVASCRIPT_CJS_CONTEXT_H_
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "core/fxcrt/include/fx_string.h" 12 #include "core/fxcrt/fx_string.h"
13 #include "core/fxcrt/include/fx_system.h" 13 #include "core/fxcrt/fx_system.h"
14 #include "fpdfsdk/javascript/ijs_context.h" 14 #include "fpdfsdk/javascript/ijs_context.h"
15 15
16 class CJS_EventHandler; 16 class CJS_EventHandler;
17 class CJS_Runtime; 17 class CJS_Runtime;
18 class CPDFSDK_Environment; 18 class CPDFSDK_Environment;
19 19
20 class CJS_Context : public IJS_Context { 20 class CJS_Context : public IJS_Context {
21 public: 21 public:
22 explicit CJS_Context(CJS_Runtime* pRuntime); 22 explicit CJS_Context(CJS_Runtime* pRuntime);
23 ~CJS_Context() override; 23 ~CJS_Context() override;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 CPDFSDK_Environment* GetReaderEnv(); 128 CPDFSDK_Environment* GetReaderEnv();
129 CPDFSDK_Document* GetReaderDocument(); 129 CPDFSDK_Document* GetReaderDocument();
130 130
131 private: 131 private:
132 CJS_Runtime* const m_pRuntime; 132 CJS_Runtime* const m_pRuntime;
133 std::unique_ptr<CJS_EventHandler> m_pEventHandler; 133 std::unique_ptr<CJS_EventHandler> m_pEventHandler;
134 FX_BOOL m_bBusy; 134 FX_BOOL m_bBusy;
135 }; 135 };
136 136
137 #endif // FPDFSDK_JAVASCRIPT_CJS_CONTEXT_H_ 137 #endif // FPDFSDK_JAVASCRIPT_CJS_CONTEXT_H_
OLDNEW
« no previous file with comments | « fpdfsdk/javascript/PublicMethods.cpp ('k') | fpdfsdk/javascript/cjs_runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698