summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/Field.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-02-21 15:05:57 -0800
committerChromium commit bot <commit-bot@chromium.org>2017-02-22 01:08:38 +0000
commit9b99b63fa5e56bd820aecdc0fd2decd22a3d075a (patch)
treeb1eb5be25aef41f2f4f70a985e822af004f007a5 /fpdfsdk/javascript/Field.cpp
parentc54c07eac0531b6d9fcd591c3e44c5e27817d076 (diff)
downloadpdfium-9b99b63fa5e56bd820aecdc0fd2decd22a3d075a.tar.xz
Convert native method names to single-byte.
There are no non-ascii characters, so save space. Change-Id: Ib9efb9386b6fc83bf3bb1810c791aadeeeebc259 Reviewed-on: https://pdfium-review.googlesource.com/2817 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/javascript/Field.cpp')
-rw-r--r--fpdfsdk/javascript/Field.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/fpdfsdk/javascript/Field.cpp b/fpdfsdk/javascript/Field.cpp
index c580a215c5..99e75441d4 100644
--- a/fpdfsdk/javascript/Field.cpp
+++ b/fpdfsdk/javascript/Field.cpp
@@ -136,32 +136,32 @@ JSPropertySpec CJS_Field::PropertySpecs[] = {
{0, 0, 0}};
JSMethodSpec CJS_Field::MethodSpecs[] = {
- {L"browseForFileToSubmit", browseForFileToSubmit_static},
- {L"buttonGetCaption", buttonGetCaption_static},
- {L"buttonGetIcon", buttonGetIcon_static},
- {L"buttonImportIcon", buttonImportIcon_static},
- {L"buttonSetCaption", buttonSetCaption_static},
- {L"buttonSetIcon", buttonSetIcon_static},
- {L"checkThisBox", checkThisBox_static},
- {L"clearItems", clearItems_static},
- {L"defaultIsChecked", defaultIsChecked_static},
- {L"deleteItemAt", deleteItemAt_static},
- {L"getArray", getArray_static},
- {L"getItemAt", getItemAt_static},
- {L"getLock", getLock_static},
- {L"insertItemAt", insertItemAt_static},
- {L"isBoxChecked", isBoxChecked_static},
- {L"isDefaultChecked", isDefaultChecked_static},
- {L"setAction", setAction_static},
- {L"setFocus", setFocus_static},
- {L"setItems", setItems_static},
- {L"setLock", setLock_static},
- {L"signatureGetModifications", signatureGetModifications_static},
- {L"signatureGetSeedValue", signatureGetSeedValue_static},
- {L"signatureInfo", signatureInfo_static},
- {L"signatureSetSeedValue", signatureSetSeedValue_static},
- {L"signatureSign", signatureSign_static},
- {L"signatureValidate", signatureValidate_static},
+ {"browseForFileToSubmit", browseForFileToSubmit_static},
+ {"buttonGetCaption", buttonGetCaption_static},
+ {"buttonGetIcon", buttonGetIcon_static},
+ {"buttonImportIcon", buttonImportIcon_static},
+ {"buttonSetCaption", buttonSetCaption_static},
+ {"buttonSetIcon", buttonSetIcon_static},
+ {"checkThisBox", checkThisBox_static},
+ {"clearItems", clearItems_static},
+ {"defaultIsChecked", defaultIsChecked_static},
+ {"deleteItemAt", deleteItemAt_static},
+ {"getArray", getArray_static},
+ {"getItemAt", getItemAt_static},
+ {"getLock", getLock_static},
+ {"insertItemAt", insertItemAt_static},
+ {"isBoxChecked", isBoxChecked_static},
+ {"isDefaultChecked", isDefaultChecked_static},
+ {"setAction", setAction_static},
+ {"setFocus", setFocus_static},
+ {"setItems", setItems_static},
+ {"setLock", setLock_static},
+ {"signatureGetModifications", signatureGetModifications_static},
+ {"signatureGetSeedValue", signatureGetSeedValue_static},
+ {"signatureInfo", signatureInfo_static},
+ {"signatureSetSeedValue", signatureSetSeedValue_static},
+ {"signatureSign", signatureSign_static},
+ {"signatureValidate", signatureValidate_static},
{0, 0}};
IMPLEMENT_JS_CLASS(CJS_Field, Field)