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

Side by Side Diff: fpdfsdk/include/javascript/Consts.h

Issue 1334313002: Merge to XFA: Rename Init methods to more accurately describe purpose (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 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 | « no previous file | fpdfsdk/include/javascript/JS_Define.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 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_INCLUDE_JAVASCRIPT_CONSTS_H_ 7 #ifndef FPDFSDK_INCLUDE_JAVASCRIPT_CONSTS_H_
8 #define FPDFSDK_INCLUDE_JAVASCRIPT_CONSTS_H_ 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_CONSTS_H_
9 9
10 #include "JS_Define.h" 10 #include "JS_Define.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 explicit CJS_Zoomtype(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {} 96 explicit CJS_Zoomtype(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {}
97 ~CJS_Zoomtype() override {} 97 ~CJS_Zoomtype() override {}
98 98
99 DECLARE_JS_CLASS_CONST(); 99 DECLARE_JS_CLASS_CONST();
100 }; 100 };
101 101
102 /* ------------------------------ CJS_GlobalConsts -------------------------- */ 102 /* ------------------------------ CJS_GlobalConsts -------------------------- */
103 103
104 class CJS_GlobalConsts : public CJS_Object { 104 class CJS_GlobalConsts : public CJS_Object {
105 public: 105 public:
106 static int Init(v8::Isolate* pIsolate); 106 static int DefineJSObjects(v8::Isolate* pIsolate);
107 }; 107 };
108 108
109 /* ------------------------------ CJS_GlobalArrays -------------------------- */ 109 /* ------------------------------ CJS_GlobalArrays -------------------------- */
110 110
111 class CJS_GlobalArrays : public CJS_Object { 111 class CJS_GlobalArrays : public CJS_Object {
112 public: 112 public:
113 static int Init(v8::Isolate* pIsolate); 113 static int DefineJSObjects(v8::Isolate* pIsolate);
114 }; 114 };
115 115
116 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_CONSTS_H_ 116 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_CONSTS_H_
OLDNEW
« no previous file with comments | « no previous file | fpdfsdk/include/javascript/JS_Define.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698