From 213a172779fddbd7e588ee2e2b3906ccc47d6896 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 7 Oct 2015 12:52:13 -0700 Subject: Rename IFXJS_Runtime and IFXJS_Context to IJS_. Nothing but sed. FXJS is a layer that makes it easier to define objects in V8, but has no knowledge of PDF-specific native objects. It could in theory be used to implement other sets of native objects. JS is the layer that implements PDF-specific native objects on top of FXJS. Therefore, the classes used to interface to JS should be named using IJS_. IFXJS_ is reserved for someday adding better API for FXJS iteslf. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1386173002 . --- fpdfsdk/src/javascript/JS_Runtime.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'fpdfsdk/src/javascript/JS_Runtime.h') diff --git a/fpdfsdk/src/javascript/JS_Runtime.h b/fpdfsdk/src/javascript/JS_Runtime.h index ac8c532b53..2b7cb3767f 100644 --- a/fpdfsdk/src/javascript/JS_Runtime.h +++ b/fpdfsdk/src/javascript/JS_Runtime.h @@ -17,7 +17,7 @@ class CJS_Context; -class CJS_Runtime : public IFXJS_Runtime { +class CJS_Runtime : public IJS_Runtime { public: class Observer { public: @@ -32,10 +32,10 @@ class CJS_Runtime : public IFXJS_Runtime { explicit CJS_Runtime(CPDFDoc_Environment* pApp); ~CJS_Runtime() override; - // IFXJS_Runtime - IFXJS_Context* NewContext() override; - void ReleaseContext(IFXJS_Context* pContext) override; - IFXJS_Context* GetCurrentContext() override; + // IJS_Runtime + IJS_Context* NewContext() override; + void ReleaseContext(IJS_Context* pContext) override; + IJS_Context* GetCurrentContext() override; void SetReaderDocument(CPDFSDK_Document* pReaderDoc) override; CPDFSDK_Document* GetReaderDocument() override { return m_pDocument; } -- cgit v1.2.3