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

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

Issue 2453683011: Remove FX_BOOL from fpdfsdk. (Closed)
Patch Set: Regenerate patch after rebase. Created 4 years, 1 month 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/ijs_context.h ('k') | fpdfsdk/javascript/report.h » ('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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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_IJS_RUNTIME_H_ 7 #ifndef FPDFSDK_JAVASCRIPT_IJS_RUNTIME_H_
8 #define FPDFSDK_JAVASCRIPT_IJS_RUNTIME_H_ 8 #define FPDFSDK_JAVASCRIPT_IJS_RUNTIME_H_
9 9
10 #include "core/fxcrt/fx_string.h" 10 #include "core/fxcrt/fx_string.h"
(...skipping 17 matching lines...) Expand all
28 virtual IJS_Context* NewContext() = 0; 28 virtual IJS_Context* NewContext() = 0;
29 virtual void ReleaseContext(IJS_Context* pContext) = 0; 29 virtual void ReleaseContext(IJS_Context* pContext) = 0;
30 virtual IJS_Context* GetCurrentContext() = 0; 30 virtual IJS_Context* GetCurrentContext() = 0;
31 31
32 virtual CPDFSDK_FormFillEnvironment* GetFormFillEnv() const = 0; 32 virtual CPDFSDK_FormFillEnvironment* GetFormFillEnv() const = 0;
33 33
34 virtual int ExecuteScript(const CFX_WideString& script, 34 virtual int ExecuteScript(const CFX_WideString& script,
35 CFX_WideString* info) = 0; 35 CFX_WideString* info) = 0;
36 36
37 #ifdef PDF_ENABLE_XFA 37 #ifdef PDF_ENABLE_XFA
38 virtual FX_BOOL GetValueByName(const CFX_ByteStringC& utf8Name, 38 virtual bool GetValueByName(const CFX_ByteStringC& utf8Name,
39 CFXJSE_Value* pValue) = 0; 39 CFXJSE_Value* pValue) = 0;
40 virtual FX_BOOL SetValueByName(const CFX_ByteStringC& utf8Name, 40 virtual bool SetValueByName(const CFX_ByteStringC& utf8Name,
41 CFXJSE_Value* pValue) = 0; 41 CFXJSE_Value* pValue) = 0;
42 #endif // PDF_ENABLE_XFA 42 #endif // PDF_ENABLE_XFA
43 43
44 protected: 44 protected:
45 IJS_Runtime() {} 45 IJS_Runtime() {}
46 }; 46 };
47 47
48 #endif // FPDFSDK_JAVASCRIPT_IJS_RUNTIME_H_ 48 #endif // FPDFSDK_JAVASCRIPT_IJS_RUNTIME_H_
OLDNEW
« no previous file with comments | « fpdfsdk/javascript/ijs_context.h ('k') | fpdfsdk/javascript/report.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698