diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-02-16 11:49:55 -0800 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-02-16 20:23:48 +0000 |
commit | d6ae2afa821c87e84790d5c04bbc172a7b12f08f (patch) | |
tree | 10beb72deaffca61ccc54a3fb49ea0d9636579bb /fpdfsdk/javascript/color.h | |
parent | 49f7deb494064351c72ef4d31577e04f634e63f3 (diff) | |
download | pdfium-d6ae2afa821c87e84790d5c04bbc172a7b12f08f.tar.xz |
Rename IJS_Context to IJS_EventContext.
Prevents confusion with v8::Context, which is wrapped by a
different IJS_ class.
Change-Id: Iff75809e65015c0f810294de1f0d8ecf963150a3
Reviewed-on: https://pdfium-review.googlesource.com/2751
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/javascript/color.h')
-rw-r--r-- | fpdfsdk/javascript/color.h | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/fpdfsdk/javascript/color.h b/fpdfsdk/javascript/color.h index 9ea4d63355..df53b4ab52 100644 --- a/fpdfsdk/javascript/color.h +++ b/fpdfsdk/javascript/color.h @@ -17,24 +17,26 @@ class color : public CJS_EmbedObj { explicit color(CJS_Object* pJSObject); ~color() override; - bool black(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - bool blue(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - bool cyan(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - bool dkGray(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - bool gray(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - bool green(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - bool ltGray(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - bool magenta(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - bool red(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - bool transparent(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - bool white(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - bool yellow(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool black(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool blue(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool cyan(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool dkGray(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool gray(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool green(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool ltGray(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool magenta(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool red(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool transparent(IJS_EventContext* cc, + CJS_PropValue& vp, + CFX_WideString& sError); + bool white(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError); + bool yellow(IJS_EventContext* cc, CJS_PropValue& vp, CFX_WideString& sError); - bool convert(IJS_Context* cc, + bool convert(IJS_EventContext* cc, const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError); - bool equal(IJS_Context* cc, + bool equal(IJS_EventContext* cc, const std::vector<CJS_Value>& params, CJS_Value& vRet, CFX_WideString& sError); |