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

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

Issue 2354413002: Rename App to Env where needed. (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/app.cpp ('k') | fpdfsdk/javascript/cjs_context.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_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>
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 void OnLink_MouseUp(CPDFSDK_Document* pTarget) override; 118 void OnLink_MouseUp(CPDFSDK_Document* pTarget) override;
119 void OnMenu_Exec(CPDFSDK_Document* pTarget, 119 void OnMenu_Exec(CPDFSDK_Document* pTarget,
120 const CFX_WideString& strTargetName) override; 120 const CFX_WideString& strTargetName) override;
121 void OnBatchExec(CPDFSDK_Document* pTarget) override; 121 void OnBatchExec(CPDFSDK_Document* pTarget) override;
122 void OnConsole_Exec() override; 122 void OnConsole_Exec() override;
123 void OnExternal_Exec() override; 123 void OnExternal_Exec() override;
124 124
125 CJS_Runtime* GetJSRuntime() const { return m_pRuntime; } 125 CJS_Runtime* GetJSRuntime() const { return m_pRuntime; }
126 CJS_EventHandler* GetEventHandler() const { return m_pEventHandler.get(); } 126 CJS_EventHandler* GetEventHandler() const { return m_pEventHandler.get(); }
127 127
128 CPDFSDK_Environment* GetReaderApp(); 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/app.cpp ('k') | fpdfsdk/javascript/cjs_context.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698