| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 }; | 183 }; |
| 184 | 184 |
| 185 static void installMethods(v8::Isolate*, v8::Local<v8::ObjectTemplate> insta
nceTemplate, v8::Local<v8::ObjectTemplate> prototypeTemplate, v8::Local<v8::Func
tionTemplate> interfaceTemplate, v8::Local<v8::Signature>, const MethodConfigura
tion*, size_t methodCount); | 185 static void installMethods(v8::Isolate*, v8::Local<v8::ObjectTemplate> insta
nceTemplate, v8::Local<v8::ObjectTemplate> prototypeTemplate, v8::Local<v8::Func
tionTemplate> interfaceTemplate, v8::Local<v8::Signature>, const MethodConfigura
tion*, size_t methodCount); |
| 186 | 186 |
| 187 static void installMethod(v8::Isolate*, v8::Local<v8::ObjectTemplate> instan
ceTemplate, v8::Local<v8::ObjectTemplate> prototypeTemplate, v8::Local<v8::Funct
ionTemplate> interfaceTemplate, v8::Local<v8::Signature>, const MethodConfigurat
ion&); | 187 static void installMethod(v8::Isolate*, v8::Local<v8::ObjectTemplate> instan
ceTemplate, v8::Local<v8::ObjectTemplate> prototypeTemplate, v8::Local<v8::Funct
ionTemplate> interfaceTemplate, v8::Local<v8::Signature>, const MethodConfigurat
ion&); |
| 188 | 188 |
| 189 static void installMethod(v8::Isolate*, v8::Local<v8::Object> instance, v8::
Local<v8::Object> prototype, v8::Local<v8::Function> interface, v8::Local<v8::Si
gnature>, const MethodConfiguration&); | 189 static void installMethod(v8::Isolate*, v8::Local<v8::Object> instance, v8::
Local<v8::Object> prototype, v8::Local<v8::Function> interface, v8::Local<v8::Si
gnature>, const MethodConfiguration&); |
| 190 | 190 |
| 191 static void installMethod(v8::Isolate*, v8::Local<v8::ObjectTemplate>, v8::L
ocal<v8::Signature>, const SymbolKeyedMethodConfiguration&); | 191 static void installMethod(v8::Isolate*, v8::Local<v8::ObjectTemplate>, v8::L
ocal<v8::Signature>, const SymbolKeyedMethodConfiguration&); |
| 192 | 192 |
| 193 static void initializeDOMInterfaceTemplate(v8::Isolate*, v8::Local<v8::Funct
ionTemplate> interfaceTemplate, const char* interfaceName, v8::Local<v8::Functio
nTemplate> parentInterfaceTemplate, size_t v8InternalFieldCount); | 193 static v8::Local<v8::Signature> installProperties(v8::Isolate*, v8::Local<v8
::ObjectTemplate> instanceTemplate, v8::Local<v8::ObjectTemplate> prototypeTempl
ate, v8::Local<v8::FunctionTemplate> interfaceTemplate, v8::Local<v8::Signature>
, const AttributeConfiguration attributes[], size_t attributeCount, const Access
orConfiguration accessors[], size_t accessorCount, const MethodConfiguration met
hods[], size_t methodCount); |
| 194 |
| 195 static void initializeDOMInterfaceTemplate(v8::Isolate*, v8::Local<v8::Funct
ionTemplate> interfaceTemplate, const char* interfaceName, v8::Local<v8::Functio
nTemplate> parentInterfaceTemplate, v8::Local<v8::ObjectTemplate> instanceTempla
te, v8::Local<v8::ObjectTemplate> prototypeTemplate, size_t v8InternalFieldCount
); |
| 196 static void initializeDOMInterfaceTemplate(v8::Isolate*, v8::Local<v8::Funct
ionTemplate> interfaceTemplate, const char* interfaceName, v8::Local<v8::Functio
nTemplate> parentInterfaceTemplate, v8::Local<v8::ObjectTemplate> instanceTempla
te, v8::Local<v8::ObjectTemplate> prototypeTemplate, size_t v8InternalFieldCount
, v8::Local<v8::Signature>, const AttributeConfiguration attributes[], size_t at
tributeCount, const AccessorConfiguration accessors[], size_t accessorCount, con
st MethodConfiguration methods[], size_t methodCount); |
| 194 | 197 |
| 195 static v8::Local<v8::FunctionTemplate> domClassTemplate(v8::Isolate*, Wrappe
rTypeInfo*, void (*)(v8::Local<v8::FunctionTemplate>, v8::Isolate*)); | 198 static v8::Local<v8::FunctionTemplate> domClassTemplate(v8::Isolate*, Wrappe
rTypeInfo*, void (*)(v8::Local<v8::FunctionTemplate>, v8::Isolate*)); |
| 196 | 199 |
| 197 // Sets the class string of platform objects, interface prototype objects, e
tc. | 200 // Sets the class string of platform objects, interface prototype objects, e
tc. |
| 198 // See also http://heycam.github.io/webidl/#dfn-class-string | 201 // See also http://heycam.github.io/webidl/#dfn-class-string |
| 199 static void setClassString(v8::Isolate*, v8::Local<v8::ObjectTemplate>, cons
t char* classString); | 202 static void setClassString(v8::Isolate*, v8::Local<v8::ObjectTemplate>, cons
t char* classString); |
| 200 }; | 203 }; |
| 201 | 204 |
| 202 } // namespace blink | 205 } // namespace blink |
| 203 | 206 |
| 204 #endif // V8DOMConfiguration_h | 207 #endif // V8DOMConfiguration_h |
| OLD | NEW |