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

Unified Diff: fpdfsdk/include/javascript/IJavaScript.h

Issue 1386173002: Rename IFXJS_Runtime and IFXJS_Context to IJS_. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Comment in fxjs_v8.h Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/include/fsdk_mgr.h ('k') | fpdfsdk/include/jsapi/fxjs_v8.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/include/javascript/IJavaScript.h
diff --git a/fpdfsdk/include/javascript/IJavaScript.h b/fpdfsdk/include/javascript/IJavaScript.h
index 4aeb76065bd56c4359b9d7261dab74a10b912e8a..a527d19544182720c77c3c4c5a9e0c419593ecd7 100644
--- a/fpdfsdk/include/javascript/IJavaScript.h
+++ b/fpdfsdk/include/javascript/IJavaScript.h
@@ -16,7 +16,7 @@ class CPDFSDK_Document;
class CPDF_Bookmark;
class CPDF_FormField;
-class IFXJS_Context {
+class IJS_Context {
public:
virtual FX_BOOL RunScript(const CFX_WideString& script,
CFX_WideString& info) = 0;
@@ -128,22 +128,22 @@ class IFXJS_Context {
virtual void EnableMessageBox(FX_BOOL bEnable) = 0;
protected:
- virtual ~IFXJS_Context() {}
+ virtual ~IJS_Context() {}
};
-class IFXJS_Runtime {
+class IJS_Runtime {
public:
- static IFXJS_Runtime* Create(CPDFDoc_Environment* pEnv);
- virtual ~IFXJS_Runtime() {}
+ static IJS_Runtime* Create(CPDFDoc_Environment* pEnv);
+ virtual ~IJS_Runtime() {}
- virtual IFXJS_Context* NewContext() = 0;
- virtual void ReleaseContext(IFXJS_Context* pContext) = 0;
- virtual IFXJS_Context* GetCurrentContext() = 0;
+ virtual IJS_Context* NewContext() = 0;
+ virtual void ReleaseContext(IJS_Context* pContext) = 0;
+ virtual IJS_Context* GetCurrentContext() = 0;
virtual void SetReaderDocument(CPDFSDK_Document* pReaderDoc) = 0;
virtual CPDFSDK_Document* GetReaderDocument() = 0;
protected:
- IFXJS_Runtime() {}
+ IJS_Runtime() {}
};
#endif // FPDFSDK_INCLUDE_JAVASCRIPT_IJAVASCRIPT_H_
« no previous file with comments | « fpdfsdk/include/fsdk_mgr.h ('k') | fpdfsdk/include/jsapi/fxjs_v8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698