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

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

Issue 1065103002: Merge to XFA: Fix (nearly all) IWYU in fpdfskd/include/javascript/ headers. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 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/include/javascript/JS_Context.h ('k') | fpdfsdk/include/javascript/JS_EventHandler.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 _JS_DEFINE_H_ 7 #ifndef _JS_DEFINE_H_
8 #define _JS_DEFINE_H_ 8 #define _JS_DEFINE_H_
9 9
10 #include "../jsapi/fxjs_v8.h" 10 #include "../jsapi/fxjs_v8.h"
11 #include "resource.h" 11 #include "resource.h"
12 12
13 typedef v8::Value JSValue;
14 typedef v8::Handle<v8::Object> JSObject;
15 typedef v8::Handle<v8::Object> JSFXObject;
16
17 #include "JS_Object.h" 13 #include "JS_Object.h"
18 #include "JS_Value.h" 14 #include "JS_Value.h"
19 15
20 struct JSConstSpec 16 struct JSConstSpec
21 { 17 {
22 const wchar_t* pName; 18 const wchar_t* pName;
23 double number; 19 double number;
24 const wchar_t* string; 20 const wchar_t* string;
25 FX_BYTE t; //0:double 1:str 21 FX_BYTE t; //0:double 1:str
26 }; 22 };
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 #define VALUE_NAME_BOOLEAN L"boolean" 443 #define VALUE_NAME_BOOLEAN L"boolean"
448 #define VALUE_NAME_DATE L"date" 444 #define VALUE_NAME_DATE L"date"
449 #define VALUE_NAME_OBJECT L"object" 445 #define VALUE_NAME_OBJECT L"object"
450 #define VALUE_NAME_FXOBJ L"fxobj" 446 #define VALUE_NAME_FXOBJ L"fxobj"
451 #define VALUE_NAME_NULL L"null" 447 #define VALUE_NAME_NULL L"null"
452 #define VALUE_NAME_UNDEFINED L"undefined" 448 #define VALUE_NAME_UNDEFINED L"undefined"
453 449
454 FXJSVALUETYPE GET_VALUE_TYPE(v8::Handle<v8::Value> p); 450 FXJSVALUETYPE GET_VALUE_TYPE(v8::Handle<v8::Value> p);
455 451
456 #endif //_JS_DEFINE_H_ 452 #endif //_JS_DEFINE_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/javascript/JS_Context.h ('k') | fpdfsdk/include/javascript/JS_EventHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698