summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/app.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/app.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/app.cpp')
-rw-r--r--fpdfsdk/javascript/app.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/fpdfsdk/javascript/app.cpp b/fpdfsdk/javascript/app.cpp
index d2bb7bd020..f1a39460a2 100644
--- a/fpdfsdk/javascript/app.cpp
+++ b/fpdfsdk/javascript/app.cpp
@@ -177,27 +177,27 @@ JSPropertySpec CJS_App::PropertySpecs[] = {
{L"viewerVersion", get_viewerVersion_static, set_viewerVersion_static},
{0, 0, 0}};
-JSMethodSpec CJS_App::MethodSpecs[] = {{L"alert", alert_static},
- {L"beep", beep_static},
- {L"browseForDoc", browseForDoc_static},
- {L"clearInterval", clearInterval_static},
- {L"clearTimeOut", clearTimeOut_static},
- {L"execDialog", execDialog_static},
- {L"execMenuItem", execMenuItem_static},
- {L"findComponent", findComponent_static},
- {L"goBack", goBack_static},
- {L"goForward", goForward_static},
- {L"launchURL", launchURL_static},
- {L"mailMsg", mailMsg_static},
- {L"newFDF", newFDF_static},
- {L"newDoc", newDoc_static},
- {L"openDoc", openDoc_static},
- {L"openFDF", openFDF_static},
- {L"popUpMenuEx", popUpMenuEx_static},
- {L"popUpMenu", popUpMenu_static},
- {L"response", response_static},
- {L"setInterval", setInterval_static},
- {L"setTimeOut", setTimeOut_static},
+JSMethodSpec CJS_App::MethodSpecs[] = {{"alert", alert_static},
+ {"beep", beep_static},
+ {"browseForDoc", browseForDoc_static},
+ {"clearInterval", clearInterval_static},
+ {"clearTimeOut", clearTimeOut_static},
+ {"execDialog", execDialog_static},
+ {"execMenuItem", execMenuItem_static},
+ {"findComponent", findComponent_static},
+ {"goBack", goBack_static},
+ {"goForward", goForward_static},
+ {"launchURL", launchURL_static},
+ {"mailMsg", mailMsg_static},
+ {"newFDF", newFDF_static},
+ {"newDoc", newDoc_static},
+ {"openDoc", openDoc_static},
+ {"openFDF", openFDF_static},
+ {"popUpMenuEx", popUpMenuEx_static},
+ {"popUpMenu", popUpMenu_static},
+ {"response", response_static},
+ {"setInterval", setInterval_static},
+ {"setTimeOut", setTimeOut_static},
{0, 0}};
IMPLEMENT_JS_CLASS(CJS_App, app)