summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/JS_Context.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-10-07 12:52:13 -0700
committerTom Sepez <tsepez@chromium.org>2015-10-07 12:52:13 -0700
commit213a172779fddbd7e588ee2e2b3906ccc47d6896 (patch)
tree616a1277bf9f6cc007c2408a4cf0c0e7abfe67c3 /fpdfsdk/src/javascript/JS_Context.h
parent4401d4095d1306fa844170d70ae7647bc10f2d2d (diff)
downloadpdfium-213a172779fddbd7e588ee2e2b3906ccc47d6896.tar.xz
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 .
Diffstat (limited to 'fpdfsdk/src/javascript/JS_Context.h')
-rw-r--r--fpdfsdk/src/javascript/JS_Context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/src/javascript/JS_Context.h b/fpdfsdk/src/javascript/JS_Context.h
index b1e1bcee2c..7fbcbec876 100644
--- a/fpdfsdk/src/javascript/JS_Context.h
+++ b/fpdfsdk/src/javascript/JS_Context.h
@@ -14,12 +14,12 @@
class CJS_EventHandler;
class CJS_Runtime;
-class CJS_Context : public IFXJS_Context {
+class CJS_Context : public IJS_Context {
public:
explicit CJS_Context(CJS_Runtime* pRuntime);
~CJS_Context() override;
- // IFXJS_Context
+ // IJS_Context
FX_BOOL RunScript(const CFX_WideString& script,
CFX_WideString& info) override;
void OnApp_Init() override;