Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Side by Side Diff: fpdfsdk/javascript/resource.h

Issue 2319543003: Remove unused context parameter from JSGetStringFromID (Closed)
Patch Set: rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/javascript/global.cpp ('k') | fpdfsdk/javascript/resource.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef FPDFSDK_JAVASCRIPT_RESOURCE_H_ 7 #ifndef FPDFSDK_JAVASCRIPT_RESOURCE_H_
8 #define FPDFSDK_JAVASCRIPT_RESOURCE_H_ 8 #define FPDFSDK_JAVASCRIPT_RESOURCE_H_
9 9
10 #include "core/fxcrt/include/fx_string.h" // For CFX_WideString. 10 #include "core/fxcrt/include/fx_string.h" // For CFX_WideString.
11 #include "fpdfsdk/include/fsdk_define.h" // For FX_UINT. 11 #include "fpdfsdk/include/fsdk_define.h" // For FX_UINT.
12 12
13 class CJS_Context; 13 class CJS_Context;
14 14
15 #define IDS_STRING_JSALERT 25613 15 #define IDS_STRING_JSALERT 25613
16 #define IDS_STRING_JSPARAMERROR 25614 16 #define IDS_STRING_JSPARAMERROR 25614
17 #define IDS_STRING_JSAFNUMBER_KEYSTROKE 25615 17 #define IDS_STRING_JSAFNUMBER_KEYSTROKE 25615
18 #define IDS_STRING_JSPARAM_TOOLONG 25617 18 #define IDS_STRING_JSPARAM_TOOLONG 25617
19 #define IDS_STRING_JSPARSEDATE 25618 19 #define IDS_STRING_JSPARSEDATE 25618
20 #define IDS_STRING_JSRANGE1 25619 20 #define IDS_STRING_JSRANGE1 25619
21 #define IDS_STRING_JSRANGE2 25620 21 #define IDS_STRING_JSRANGE2 25620
22 #define IDS_STRING_JSRANGE3 25621 22 #define IDS_STRING_JSRANGE3 25621
23 #define IDS_STRING_NOTSUPPORT 25627 23 #define IDS_STRING_JSNOTSUPPORT 25627
24 #define IDS_STRING_JSBUSY 25628 24 #define IDS_STRING_JSBUSY 25628
25 #define IDS_STRING_JSEVENT 25629 25 #define IDS_STRING_JSEVENT 25629
26 #define IDS_STRING_RUN 25630 26 #define IDS_STRING_RUN 25630
27 #define IDS_STRING_JSPRINT1 25632 27 #define IDS_STRING_JSPRINT1 25632
28 #define IDS_STRING_JSPRINT2 25633 28 #define IDS_STRING_JSPRINT2 25633
29 #define IDS_STRING_JSNOGLOBAL 25635 29 #define IDS_STRING_JSNOGLOBAL 25635
30 #define IDS_STRING_JSREADONLY 25636 30 #define IDS_STRING_JSREADONLY 25636
31 #define IDS_STRING_JSTYPEERROR 25637 31 #define IDS_STRING_JSTYPEERROR 25637
32 #define IDS_STRING_JSVALUEERROR 25638 32 #define IDS_STRING_JSVALUEERROR 25638
33 #define IDS_STRING_JSNOPERMISSION 25639
34 #define IDS_STRING_JSBADOBJECT 25640
33 35
34 CFX_WideString JSGetStringFromID(CJS_Context* pContext, FX_UINT id); 36 CFX_WideString JSGetStringFromID(FX_UINT id);
35 CFX_WideString JSFormatErrorString(const char* class_name, 37 CFX_WideString JSFormatErrorString(const char* class_name,
36 const char* property_name, 38 const char* property_name,
37 const CFX_WideString& details); 39 const CFX_WideString& details);
38 40
39 #endif // FPDFSDK_JAVASCRIPT_RESOURCE_H_ 41 #endif // FPDFSDK_JAVASCRIPT_RESOURCE_H_
OLDNEW
« no previous file with comments | « fpdfsdk/javascript/global.cpp ('k') | fpdfsdk/javascript/resource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698