Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(844)

Unified Diff: fpdfsdk/javascript/color.h

Issue 2453683011: Remove FX_BOOL from fpdfsdk. (Closed)
Patch Set: Regenerate patch after rebase. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/javascript/cjs_runtime.cpp ('k') | fpdfsdk/javascript/color.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/javascript/color.h
diff --git a/fpdfsdk/javascript/color.h b/fpdfsdk/javascript/color.h
index 5c8c99feb67666112a6a1710c0e24393ecd53907..ab56cac0b6db395cf78fe5d3fb20f84df7002e93 100644
--- a/fpdfsdk/javascript/color.h
+++ b/fpdfsdk/javascript/color.h
@@ -17,29 +17,27 @@ class color : public CJS_EmbedObj {
color(CJS_Object* pJSObject);
~color() override;
- FX_BOOL black(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- FX_BOOL blue(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- FX_BOOL cyan(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- FX_BOOL dkGray(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- FX_BOOL gray(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- FX_BOOL green(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- FX_BOOL ltGray(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- FX_BOOL magenta(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- FX_BOOL red(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- FX_BOOL transparent(IJS_Context* cc,
- CJS_PropValue& vp,
- CFX_WideString& sError);
- FX_BOOL white(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
- FX_BOOL yellow(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
+ 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);
- FX_BOOL convert(IJS_Context* cc,
- const std::vector<CJS_Value>& params,
- CJS_Value& vRet,
- CFX_WideString& sError);
- FX_BOOL equal(IJS_Context* cc,
- const std::vector<CJS_Value>& params,
- CJS_Value& vRet,
- CFX_WideString& sError);
+ bool convert(IJS_Context* cc,
+ const std::vector<CJS_Value>& params,
+ CJS_Value& vRet,
+ CFX_WideString& sError);
+ bool equal(IJS_Context* cc,
+ const std::vector<CJS_Value>& params,
+ CJS_Value& vRet,
+ CFX_WideString& sError);
static void ConvertPWLColorToArray(CJS_Runtime* pRuntime,
const CPWL_Color& color,
« no previous file with comments | « fpdfsdk/javascript/cjs_runtime.cpp ('k') | fpdfsdk/javascript/color.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698