OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 15 matching lines...) Expand all Loading... |
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 */ | 27 */ |
28 | 28 |
29 #ifndef V8DOMConfiguration_h | 29 #ifndef V8DOMConfiguration_h |
30 #define V8DOMConfiguration_h | 30 #define V8DOMConfiguration_h |
31 | 31 |
32 #include "bindings/core/v8/GeneratedCodeHelper.h" | 32 #include "bindings/core/v8/GeneratedCodeHelper.h" |
33 #include "bindings/core/v8/V8Binding.h" | 33 #include "bindings/core/v8/V8Binding.h" |
34 #include "bindings/core/v8/V8DOMWrapper.h" | 34 #include "bindings/core/v8/V8DOMWrapper.h" |
35 #include "core/CoreExport.h" | 35 #include "core/CoreExport.h" |
36 #include "v8/include/v8.h" | 36 |
| 37 #include <v8.h> |
37 | 38 |
38 namespace blink { | 39 namespace blink { |
39 | 40 |
40 class CORE_EXPORT V8DOMConfiguration final { | 41 class CORE_EXPORT V8DOMConfiguration final { |
41 STATIC_ONLY(V8DOMConfiguration); | 42 STATIC_ONLY(V8DOMConfiguration); |
42 | 43 |
43 public: | 44 public: |
44 // The following Configuration structs and install methods are used for | 45 // The following Configuration structs and install methods are used for |
45 // setting multiple properties on ObjectTemplate / FunctionTemplate, used | 46 // setting multiple properties on ObjectTemplate / FunctionTemplate, used |
46 // from the generated bindings initialization (ConfigureXXXTemplate). | 47 // from the generated bindings initialization (ConfigureXXXTemplate). |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 // Sets the class string of platform objects, interface prototype objects, | 307 // Sets the class string of platform objects, interface prototype objects, |
307 // etc. See also http://heycam.github.io/webidl/#dfn-class-string | 308 // etc. See also http://heycam.github.io/webidl/#dfn-class-string |
308 static void setClassString(v8::Isolate*, | 309 static void setClassString(v8::Isolate*, |
309 v8::Local<v8::ObjectTemplate>, | 310 v8::Local<v8::ObjectTemplate>, |
310 const char* classString); | 311 const char* classString); |
311 }; | 312 }; |
312 | 313 |
313 } // namespace blink | 314 } // namespace blink |
314 | 315 |
315 #endif // V8DOMConfiguration_h | 316 #endif // V8DOMConfiguration_h |
OLD | NEW |