OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // This file has been auto-generated by {{code_generator}}. DO NOT MODIFY! |
| 6 |
| 7 #ifndef {{actual_v8_class}}_h |
| 8 #define {{actual_v8_class}}_h |
| 9 |
| 10 {% filter conditional(conditional_string) %} |
| 11 {% for filename in header_includes %} |
| 12 #include "{{filename}}" |
| 13 {% endfor %} |
| 14 |
| 15 namespace blink { |
| 16 |
| 17 class {{actual_v8_class}} { |
| 18 public: |
| 19 static void initialize(); |
| 20 {% for method in methods if method.is_custom %} |
| 21 {% filter conditional(method.conditional_string) %} |
| 22 static void {{method.name}}MethodCustom(const v8::FunctionCallbackInfo<v8::V
alue>&); |
| 23 {% endfilter %} |
| 24 {% endfor %} |
| 25 {% for attribute in attributes %} |
| 26 {% if attribute.has_custom_getter %}{# FIXME: and not attribute.implemented_
by #} |
| 27 {% filter conditional(attribute.conditional_string) %} |
| 28 static void {{attribute.name}}AttributeGetterCustom(const v8::PropertyCallba
ckInfo<v8::Value>&); |
| 29 {% endfilter %} |
| 30 {% endif %} |
| 31 {% if attribute.has_custom_setter %}{# FIXME: and not attribute.implemented_
by #} |
| 32 {% filter conditional(attribute.conditional_string) %} |
| 33 static void {{attribute.name}}AttributeSetterCustom(v8::Local<v8::Value>, co
nst v8::PropertyCallbackInfo<void>&); |
| 34 {% endfilter %} |
| 35 {% endif %} |
| 36 {% endfor %} |
| 37 {% if has_custom_legacy_call_as_function %} |
| 38 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
| 39 {% endif %} |
| 40 {# Custom internal fields #} |
| 41 static void installConditionallyEnabledProperties(v8::Handle<v8::Object>, v8
::Isolate*); |
| 42 static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::I
solate*); |
| 43 private: |
| 44 static void install{{v8_class}}Template(v8::Handle<v8::FunctionTemplate>, v8
::Isolate*); |
| 45 }; |
| 46 } |
| 47 {% endfilter %} |
| 48 #endif // {{actual_v8_class}}_h |
OLD | NEW |