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

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: Fixed http/tests/serviceworker/fetch\* regression 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 {{v8_class}}Partial_h
8 #define {{v8_class}}Partial_h
9
10 {% filter conditional(conditional_string) %}
haraken 2014/10/09 04:24:01 Do we need to support conditional? Conditional is
tasak 2014/10/10 07:52:24 I think, this is another issue, because I found se
11 {% for filename in header_includes %}
12 #include "{{filename}}"
13 {% endfor %}
14
15 namespace blink {
16
17 class {{v8_class}}Partial {
18 public:
19 static void initialize();
20 static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*);
tasak 2014/10/10 07:52:24 We don't need to generate domTemplate for partial
21 {% for method in methods if method.is_custom %}
22 {% filter conditional(method.conditional_string) %}
haraken 2014/10/09 04:24:02 Ditto.
23 static void {{method.name}}MethodCustom(const v8::FunctionCallbackInfo<v8::V alue>&);
24 {% endfilter %}
25 {% endfor %}
26 {% for attribute in attributes %}
27 {% if attribute.has_custom_getter %}{# FIXME: and not attribute.implemented_ by #}
28 {% filter conditional(attribute.conditional_string) %}
29 static void {{attribute.name}}AttributeGetterCustom(const v8::PropertyCallba ckInfo<v8::Value>&);
30 {% endfilter %}
31 {% endif %}
32 {% if attribute.has_custom_setter %}{# FIXME: and not attribute.implemented_ by #}
33 {% filter conditional(attribute.conditional_string) %}
34 static void {{attribute.name}}AttributeSetterCustom(v8::Local<v8::Value>, co nst v8::PropertyCallbackInfo<void>&);
35 {% endfilter %}
36 {% endif %}
37 {% endfor %}
38 {% if has_custom_legacy_call_as_function %}
haraken 2014/10/09 04:24:02 [LegacyCallAsFunction] is also deprecated. Do we n
tasak 2014/10/10 07:52:24 I think, we should remove this in another CL.
39 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&);
40 {% endif %}
41 {# Custom internal fields #}
42 static void installConditionallyEnabledProperties(v8::Handle<v8::Object>, v8 ::Isolate*);
43 static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::I solate*);
44 private:
45 static void install{{v8_class}}Template(v8::Handle<v8::FunctionTemplate>, v8 ::Isolate*);
46 };
47 }
48 {% endfilter %}
49 #endif // {{v8_class}}Partial_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698