diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-02-21 15:17:07 -0800 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-02-22 01:09:09 +0000 |
commit | 4d5b8c5f990b8f06a55961c1f839c5b096658925 (patch) | |
tree | 4da062ca493327ac2c991fe4b6d17f9ef4793bab /fpdfsdk/javascript/event.cpp | |
parent | 9b99b63fa5e56bd820aecdc0fd2decd22a3d075a (diff) | |
download | pdfium-4d5b8c5f990b8f06a55961c1f839c5b096658925.tar.xz |
Convert JS property tables to single-byte.
Change-Id: I4daec9e05a63c55caa01402a594c3553073c439e
Reviewed-on: https://pdfium-review.googlesource.com/2818
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/javascript/event.cpp')
-rw-r--r-- | fpdfsdk/javascript/event.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/fpdfsdk/javascript/event.cpp b/fpdfsdk/javascript/event.cpp index 323e2dd037..2b00cbc10e 100644 --- a/fpdfsdk/javascript/event.cpp +++ b/fpdfsdk/javascript/event.cpp @@ -16,26 +16,26 @@ JSConstSpec CJS_Event::ConstSpecs[] = {{0, JSConstSpec::Number, 0, 0}}; JSPropertySpec CJS_Event::PropertySpecs[] = { - {L"change", get_change_static, set_change_static}, - {L"changeEx", get_changeEx_static, set_changeEx_static}, - {L"commitKey", get_commitKey_static, set_commitKey_static}, - {L"fieldFull", get_fieldFull_static, set_fieldFull_static}, - {L"keyDown", get_keyDown_static, set_keyDown_static}, - {L"modifier", get_modifier_static, set_modifier_static}, - {L"name", get_name_static, set_name_static}, - {L"rc", get_rc_static, set_rc_static}, - {L"richChange", get_richChange_static, set_richChange_static}, - {L"richChangeEx", get_richChangeEx_static, set_richChangeEx_static}, - {L"richValue", get_richValue_static, set_richValue_static}, - {L"selEnd", get_selEnd_static, set_selEnd_static}, - {L"selStart", get_selStart_static, set_selStart_static}, - {L"shift", get_shift_static, set_shift_static}, - {L"source", get_source_static, set_source_static}, - {L"target", get_target_static, set_target_static}, - {L"targetName", get_targetName_static, set_targetName_static}, - {L"type", get_type_static, set_type_static}, - {L"value", get_value_static, set_value_static}, - {L"willCommit", get_willCommit_static, set_willCommit_static}, + {"change", get_change_static, set_change_static}, + {"changeEx", get_changeEx_static, set_changeEx_static}, + {"commitKey", get_commitKey_static, set_commitKey_static}, + {"fieldFull", get_fieldFull_static, set_fieldFull_static}, + {"keyDown", get_keyDown_static, set_keyDown_static}, + {"modifier", get_modifier_static, set_modifier_static}, + {"name", get_name_static, set_name_static}, + {"rc", get_rc_static, set_rc_static}, + {"richChange", get_richChange_static, set_richChange_static}, + {"richChangeEx", get_richChangeEx_static, set_richChangeEx_static}, + {"richValue", get_richValue_static, set_richValue_static}, + {"selEnd", get_selEnd_static, set_selEnd_static}, + {"selStart", get_selStart_static, set_selStart_static}, + {"shift", get_shift_static, set_shift_static}, + {"source", get_source_static, set_source_static}, + {"target", get_target_static, set_target_static}, + {"targetName", get_targetName_static, set_targetName_static}, + {"type", get_type_static, set_type_static}, + {"value", get_value_static, set_value_static}, + {"willCommit", get_willCommit_static, set_willCommit_static}, {0, 0, 0}}; JSMethodSpec CJS_Event::MethodSpecs[] = {{0, 0}}; |