summaryrefslogtreecommitdiff
path: root/fxjs/cjs_field.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-10-12 23:21:58 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-12 23:21:58 +0000
commitb14a2f2e28d94d4a85b762a5eac9414b2a328bc6 (patch)
treeef149de8a6d89fafca08e6cb98d7ae84a25613ca /fxjs/cjs_field.h
parentc98c7ec3f2827d92dd0575fb6b340d968dbba6b7 (diff)
downloadpdfium-b14a2f2e28d94d4a85b762a5eac9414b2a328bc6.tar.xz
Beef up coverage in CJS_Field.
Still a long way to go, but hit the easy ones first. Alphabetize property names in cjs_field.cpp file. Change-Id: I1ede770a1e159d464287775cf9e19cbaf9f2a62f Reviewed-on: https://pdfium-review.googlesource.com/c/43978 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cjs_field.h')
-rw-r--r--fxjs/cjs_field.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cjs_field.h b/fxjs/cjs_field.h
index d4abb693bf..290192afaa 100644
--- a/fxjs/cjs_field.h
+++ b/fxjs/cjs_field.h
@@ -80,6 +80,7 @@ class CJS_Field final : public CJS_Object {
JS_STATIC_PROP(richText, rich_text, CJS_Field);
JS_STATIC_PROP(richValue, rich_value, CJS_Field);
JS_STATIC_PROP(rotation, rotation, CJS_Field);
+ JS_STATIC_PROP(source, source, CJS_Field);
JS_STATIC_PROP(strokeColor, stroke_color, CJS_Field);
JS_STATIC_PROP(style, style, CJS_Field);
JS_STATIC_PROP(submitName, submit_name, CJS_Field);
@@ -90,7 +91,6 @@ class CJS_Field final : public CJS_Object {
JS_STATIC_PROP(userName, user_name, CJS_Field);
JS_STATIC_PROP(value, value, CJS_Field);
JS_STATIC_PROP(valueAsString, value_as_string, CJS_Field);
- JS_STATIC_PROP(source, source, CJS_Field);
JS_STATIC_METHOD(browseForFileToSubmit, CJS_Field);
JS_STATIC_METHOD(buttonGetCaption, CJS_Field);