diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-02-25 14:38:06 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-02-25 14:38:06 -0800 |
commit | 57e4c86145a247915c59ae5130cfc3ef9b36aa4c (patch) | |
tree | f755d47499ed2bec6449e9f7d461ae76a5096ca9 /fpdfsdk/include/javascript/IJavaScript.h | |
parent | 4351ac28111b7c74c397fee606260ced4de228b8 (diff) | |
download | pdfium-57e4c86145a247915c59ae5130cfc3ef9b36aa4c.tar.xz |
Kill off unused IFXJS interface methods.
Re-work of original CL at:
https://codereview.chromium.org/933043002/
Much of the IFXJS interface appears completely unused, so
Kill off unused IFXJS interface methods. The code itself
appears incomplete against all of the objects present
in the paths that actually do register objects with JS.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/954923004
Diffstat (limited to 'fpdfsdk/include/javascript/IJavaScript.h')
-rw-r--r-- | fpdfsdk/include/javascript/IJavaScript.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/fpdfsdk/include/javascript/IJavaScript.h b/fpdfsdk/include/javascript/IJavaScript.h index 9ae0329e30..a05d4436e0 100644 --- a/fpdfsdk/include/javascript/IJavaScript.h +++ b/fpdfsdk/include/javascript/IJavaScript.h @@ -74,16 +74,7 @@ public: virtual IFXJS_Context* GetCurrentContext() = 0; virtual void SetReaderDocument(CPDFSDK_Document* pReaderDoc) = 0; - virtual CPDFSDK_Document* GetReaderDocument() = 0; - - virtual void GetObjectNames(CFX_WideStringArray& array) = 0; - virtual void GetObjectConsts(const CFX_WideString& swObjName, CFX_WideStringArray& array) = 0; - virtual void GetObjectProps(const CFX_WideString& swObjName, CFX_WideStringArray& array) = 0; - virtual void GetObjectMethods(const CFX_WideString& swObjName, CFX_WideStringArray& array) = 0; - - virtual void Exit() = 0; - virtual void Enter() = 0; - virtual FX_BOOL IsEntered() = 0; + virtual CPDFSDK_Document* GetReaderDocument() = 0; protected: ~IFXJS_Runtime() { } |