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 {{v8_class_or_partial}}_h |
| 8 #define {{v8_class_or_partial}}_h |
| 9 |
| 10 {% for filename in header_includes %} |
| 11 #include "{{filename}}" |
| 12 {% endfor %} |
| 13 |
| 14 namespace blink { |
| 15 |
| 16 class {{v8_class_or_partial}} { |
| 17 public: |
| 18 static void initialize(); |
| 19 {% for method in methods if method.is_custom %} |
| 20 {% filter conditional(method.conditional_string) %} |
| 21 static void {{method.name}}MethodCustom(const v8::FunctionCallbackInfo<v8::V
alue>&); |
| 22 {% endfilter %} |
| 23 {% endfor %} |
| 24 {% for attribute in attributes %} |
| 25 {% if attribute.has_custom_getter %}{# FIXME: and not attribute.implemented_
by #} |
| 26 {% filter conditional(attribute.conditional_string) %} |
| 27 static void {{attribute.name}}AttributeGetterCustom(const v8::PropertyCallba
ckInfo<v8::Value>&); |
| 28 {% endfilter %} |
| 29 {% endif %} |
| 30 {% if attribute.has_custom_setter %}{# FIXME: and not attribute.implemented_
by #} |
| 31 {% filter conditional(attribute.conditional_string) %} |
| 32 static void {{attribute.name}}AttributeSetterCustom(v8::Local<v8::Value>, co
nst v8::PropertyCallbackInfo<void>&); |
| 33 {% endfilter %} |
| 34 {% endif %} |
| 35 {% endfor %} |
| 36 {# Custom internal fields #} |
| 37 static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::I
solate*); |
| 38 private: |
| 39 static void install{{v8_class}}Template(v8::Handle<v8::FunctionTemplate>, v8
::Isolate*); |
| 40 }; |
| 41 } |
| 42 #endif // {{v8_class_or_partial}}_h |
OLD | NEW |