diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-09-11 08:35:03 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-09-11 08:35:03 -0700 |
commit | 570875c067ab1b4c81fac2cfe908f867d3979d3a (patch) | |
tree | 0f238dc0696073dbb2899e593879861b814fd408 /fpdfsdk/include/javascript/JS_Runtime.h | |
parent | 87d76b5453e9de46dc0469fe3597eae7d888c411 (diff) | |
download | pdfium-570875c067ab1b4c81fac2cfe908f867d3979d3a.tar.xz |
Merge to XFA: Rename Init methods to more accurately describe purpose
(cherry picked from commit df4de98c06075b0e491ac645f2d118a6813cedc9)
Trivial manual merges in
fpdfsdk/include/javascript/JS_Runtime.h
fpdfsdk/src/javascript/JS_Runtime.cpp
Original Review URL: https://codereview.chromium.org/1335763002 .
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1334313002 .
Diffstat (limited to 'fpdfsdk/include/javascript/JS_Runtime.h')
-rw-r--r-- | fpdfsdk/include/javascript/JS_Runtime.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/include/javascript/JS_Runtime.h b/fpdfsdk/include/javascript/JS_Runtime.h index 683021b003..95b0ab1abf 100644 --- a/fpdfsdk/include/javascript/JS_Runtime.h +++ b/fpdfsdk/include/javascript/JS_Runtime.h @@ -42,8 +42,6 @@ class CJS_Runtime : public IFXJS_Runtime { CPDFDoc_Environment* GetReaderApp() const { return m_pApp; } - FX_BOOL InitJSObjects(); - FX_BOOL AddEventToLoop(const CFX_WideString& sTargetName, JS_EVENT_T eEventType); void RemoveEventInLoop(const CFX_WideString& sTargetName, @@ -62,7 +60,9 @@ class CJS_Runtime : public IFXJS_Runtime { virtual FX_BOOL SetHValueByName(const CFX_ByteStringC& utf8Name, FXJSE_HVALUE hValue); - protected: + private: + FX_BOOL DefineJSObjects(); + CFX_ArrayTemplate<CJS_Context*> m_ContextArray; CPDFDoc_Environment* m_pApp; CPDFSDK_Document* m_pDocument; |