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

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 patch conflict 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
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | Source/bindings/templates/partial_interface.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_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
OLDNEW
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | Source/bindings/templates/partial_interface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698