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

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

Issue 153463002: IDL compiler: rename GetShadowObjectTemplate => getShadowObjectTemplate (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/scripts/code_generator_v8.pm ('k') | Source/bindings/v8/V8WindowShell.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {# http://www.chromium.org/blink/coding-style#TOC-License #} 1 {# http://www.chromium.org/blink/coding-style#TOC-License #}
2 /* 2 /*
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 {% if has_visit_dom_wrapper %} 66 {% if has_visit_dom_wrapper %}
67 static void visitDOMWrapper(void*, const v8::Persistent<v8::Object>&, v8::Is olate*); 67 static void visitDOMWrapper(void*, const v8::Persistent<v8::Object>&, v8::Is olate*);
68 {% endif %} 68 {% endif %}
69 {% if is_active_dom_object %} 69 {% if is_active_dom_object %}
70 static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>); 70 static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>);
71 {% endif %} 71 {% endif %}
72 {% if is_event_target %} 72 {% if is_event_target %}
73 static EventTarget* toEventTarget(v8::Handle<v8::Object>); 73 static EventTarget* toEventTarget(v8::Handle<v8::Object>);
74 {% endif %} 74 {% endif %}
75 {% if interface_name == 'Window' %} 75 {% if interface_name == 'Window' %}
76 static v8::Handle<v8::ObjectTemplate> GetShadowObjectTemplate(v8::Isolate*, WrapperWorldType); 76 static v8::Handle<v8::ObjectTemplate> getShadowObjectTemplate(v8::Isolate*, WrapperWorldType);
77 {% endif %} 77 {% endif %}
78 {% for method in methods if method.is_custom %} 78 {% for method in methods if method.is_custom %}
79 {% filter conditional(method.conditional_string) %} 79 {% filter conditional(method.conditional_string) %}
80 static void {{method.name}}MethodCustom(const v8::FunctionCallbackInfo<v8::V alue>&); 80 static void {{method.name}}MethodCustom(const v8::FunctionCallbackInfo<v8::V alue>&);
81 {% endfilter %} 81 {% endfilter %}
82 {% endfor %} 82 {% endfor %}
83 {% if constructors or has_custom_constructor or has_event_constructor %} 83 {% if constructors or has_custom_constructor or has_event_constructor %}
84 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); 84 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&);
85 {% endif %} 85 {% endif %}
86 {% if has_custom_constructor %} 86 {% if has_custom_constructor %}
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); 294 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable);
295 } 295 }
296 296
297 {% if has_event_constructor %} 297 {% if has_event_constructor %}
298 bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionSta te&, const v8::FunctionCallbackInfo<v8::Value>& info, const String& = ""); 298 bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionSta te&, const v8::FunctionCallbackInfo<v8::Value>& info, const String& = "");
299 299
300 {% endif %} 300 {% endif %}
301 } 301 }
302 {% endfilter %} 302 {% endfilter %}
303 #endif // {{v8_class}}_h 303 #endif // {{v8_class}}_h
OLDNEW
« no previous file with comments | « Source/bindings/scripts/code_generator_v8.pm ('k') | Source/bindings/v8/V8WindowShell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698