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

Side by Side Diff: Source/bindings/templates/partial_interface.h

Issue 618373003: [bindings] partial interfaces should not violate componentization (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
OLDNEW
(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) %}
haraken 2014/10/16 04:24:08 I think you can just drop this (You don't need to
tasak 2014/10/17 07:38:18 Done.
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 %}
haraken 2014/10/16 04:24:08 And remove this. We won't add new [LegacyCallCusto
tasak 2014/10/17 07:38:18 Done.
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*);
tasak 2014/10/17 07:38:18 Removed installConditionallyEnabledProperties.
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698