summaryrefslogtreecommitdiff
path: root/fxjs/cjs_event.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-08-17 19:28:52 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-17 19:28:52 +0000
commit3a6d058740a9908a06efb9e9362df01acdee6ff8 (patch)
tree9bc645b0cb3442749458fc63e2feb04c0cb813ef /fxjs/cjs_event.h
parent0a2328e0eff7a11aa49b7da8f013e658153a7b1a (diff)
downloadpdfium-3a6d058740a9908a06efb9e9362df01acdee6ff8.tar.xz
Rename CJS_Return to CJS_Result.
"Return" is a verb, and "return" is a reserved-word at that, so avoid using it as part of a class name. Fully mechanical change apart from rename. Change-Id: I120e453e8ba001c4ab74a39e2da6aa6eb590835f Reviewed-on: https://pdfium-review.googlesource.com/40532 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cjs_event.h')
-rw-r--r--fxjs/cjs_event.h80
1 files changed, 40 insertions, 40 deletions
diff --git a/fxjs/cjs_event.h b/fxjs/cjs_event.h
index 804c6f6c7d..67bd3f52fa 100644
--- a/fxjs/cjs_event.h
+++ b/fxjs/cjs_event.h
@@ -43,65 +43,65 @@ class CJS_Event : public CJS_Object {
static const char kName[];
static const JSPropertySpec PropertySpecs[];
- CJS_Return get_change(CJS_Runtime* pRuntime);
- CJS_Return set_change(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_change(CJS_Runtime* pRuntime);
+ CJS_Result set_change(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
- CJS_Return get_change_ex(CJS_Runtime* pRuntime);
- CJS_Return set_change_ex(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_change_ex(CJS_Runtime* pRuntime);
+ CJS_Result set_change_ex(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
- CJS_Return get_commit_key(CJS_Runtime* pRuntime);
- CJS_Return set_commit_key(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_commit_key(CJS_Runtime* pRuntime);
+ CJS_Result set_commit_key(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
- CJS_Return get_field_full(CJS_Runtime* pRuntime);
- CJS_Return set_field_full(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_field_full(CJS_Runtime* pRuntime);
+ CJS_Result set_field_full(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
- CJS_Return get_key_down(CJS_Runtime* pRuntime);
- CJS_Return set_key_down(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_key_down(CJS_Runtime* pRuntime);
+ CJS_Result set_key_down(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
- CJS_Return get_modifier(CJS_Runtime* pRuntime);
- CJS_Return set_modifier(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_modifier(CJS_Runtime* pRuntime);
+ CJS_Result set_modifier(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
- CJS_Return get_name(CJS_Runtime* pRuntime);
- CJS_Return set_name(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_name(CJS_Runtime* pRuntime);
+ CJS_Result set_name(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
- CJS_Return get_rc(CJS_Runtime* pRuntime);
- CJS_Return set_rc(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_rc(CJS_Runtime* pRuntime);
+ CJS_Result set_rc(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
- CJS_Return get_rich_change(CJS_Runtime* pRuntime);
- CJS_Return set_rich_change(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_rich_change(CJS_Runtime* pRuntime);
+ CJS_Result set_rich_change(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
- CJS_Return get_rich_change_ex(CJS_Runtime* pRuntime);
- CJS_Return set_rich_change_ex(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_rich_change_ex(CJS_Runtime* pRuntime);
+ CJS_Result set_rich_change_ex(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
- CJS_Return get_rich_value(CJS_Runtime* pRuntime);
- CJS_Return set_rich_value(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_rich_value(CJS_Runtime* pRuntime);
+ CJS_Result set_rich_value(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
- CJS_Return get_sel_end(CJS_Runtime* pRuntime);
- CJS_Return set_sel_end(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_sel_end(CJS_Runtime* pRuntime);
+ CJS_Result set_sel_end(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
- CJS_Return get_sel_start(CJS_Runtime* pRuntime);
- CJS_Return set_sel_start(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_sel_start(CJS_Runtime* pRuntime);
+ CJS_Result set_sel_start(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
- CJS_Return get_shift(CJS_Runtime* pRuntime);
- CJS_Return set_shift(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_shift(CJS_Runtime* pRuntime);
+ CJS_Result set_shift(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
- CJS_Return get_source(CJS_Runtime* pRuntime);
- CJS_Return set_source(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_source(CJS_Runtime* pRuntime);
+ CJS_Result set_source(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
- CJS_Return get_target(CJS_Runtime* pRuntime);
- CJS_Return set_target(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_target(CJS_Runtime* pRuntime);
+ CJS_Result set_target(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
- CJS_Return get_target_name(CJS_Runtime* pRuntime);
- CJS_Return set_target_name(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_target_name(CJS_Runtime* pRuntime);
+ CJS_Result set_target_name(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
- CJS_Return get_type(CJS_Runtime* pRuntime);
- CJS_Return set_type(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_type(CJS_Runtime* pRuntime);
+ CJS_Result set_type(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
- CJS_Return get_value(CJS_Runtime* pRuntime);
- CJS_Return set_value(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_value(CJS_Runtime* pRuntime);
+ CJS_Result set_value(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
- CJS_Return get_will_commit(CJS_Runtime* pRuntime);
- CJS_Return set_will_commit(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+ CJS_Result get_will_commit(CJS_Runtime* pRuntime);
+ CJS_Result set_will_commit(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
};
#endif // FXJS_CJS_EVENT_H_