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

Side by Side Diff: fpdfsdk/src/javascript/JS_Define.h

Issue 1434223002: Remove relative includes. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 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/src/javascript/JS_Context.cpp ('k') | fpdfsdk/src/javascript/JS_EventHandler.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_SRC_JAVASCRIPT_JS_DEFINE_H_ 7 #ifndef FPDFSDK_SRC_JAVASCRIPT_JS_DEFINE_H_
8 #define FPDFSDK_SRC_JAVASCRIPT_JS_DEFINE_H_ 8 #define FPDFSDK_SRC_JAVASCRIPT_JS_DEFINE_H_
9 9
10 #include "../../include/jsapi/fxjs_v8.h"
11 #include "resource.h"
12 #include "JS_Object.h" 10 #include "JS_Object.h"
13 #include "JS_Value.h" 11 #include "JS_Value.h"
12 #include "fpdfsdk/include/jsapi/fxjs_v8.h"
13 #include "resource.h"
14 14
15 struct JSConstSpec { 15 struct JSConstSpec {
16 const wchar_t* pName; 16 const wchar_t* pName;
17 double number; 17 double number;
18 const wchar_t* string; 18 const wchar_t* string;
19 uint8_t t; // 0:double 1:str 19 uint8_t t; // 0:double 1:str
20 }; 20 };
21 21
22 struct JSPropertySpec { 22 struct JSPropertySpec {
23 const wchar_t* pName; 23 const wchar_t* pName;
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 for (size_t i = 0; i < FX_ArraySize(global_methods) - 1; ++i) { \ 482 for (size_t i = 0; i < FX_ArraySize(global_methods) - 1; ++i) { \
483 FXJS_DefineGlobalMethod(pIsolate, \ 483 FXJS_DefineGlobalMethod(pIsolate, \
484 js_class_name::global_methods[i].pName, \ 484 js_class_name::global_methods[i].pName, \
485 js_class_name::global_methods[i].pMethodCall); \ 485 js_class_name::global_methods[i].pMethodCall); \
486 } \ 486 } \
487 } 487 }
488 488
489 CJS_Value::Type GET_VALUE_TYPE(v8::Local<v8::Value> p); 489 CJS_Value::Type GET_VALUE_TYPE(v8::Local<v8::Value> p);
490 490
491 #endif // FPDFSDK_SRC_JAVASCRIPT_JS_DEFINE_H_ 491 #endif // FPDFSDK_SRC_JAVASCRIPT_JS_DEFINE_H_
OLDNEW
« no previous file with comments | « fpdfsdk/src/javascript/JS_Context.cpp ('k') | fpdfsdk/src/javascript/JS_EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698