OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file has been auto-generated by {{code_generator}}. DO NOT MODIFY! | 5 // This file has been auto-generated by {{code_generator}}. DO NOT MODIFY! |
6 | 6 |
7 #ifndef {{v8_class}}_h | 7 #ifndef {{v8_class}}_h |
8 #define {{v8_class}}_h | 8 #define {{v8_class}}_h |
9 | 9 |
10 {% filter conditional(conditional_string) %} | 10 {% filter conditional(conditional_string) %} |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 template<typename CallbackInfo, typename Wrappable> | 228 template<typename CallbackInfo, typename Wrappable> |
229 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, {{cpp_class}}
* impl, Wrappable*) | 229 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, {{cpp_class}}
* impl, Wrappable*) |
230 { | 230 { |
231 // Since |impl| is not ScriptWrappable, it doesn't matter much if it's the | 231 // Since |impl| is not ScriptWrappable, it doesn't matter much if it's the |
232 // main world or not. | 232 // main world or not. |
233 return v8SetReturnValue(callbackInfo, impl); | 233 return v8SetReturnValue(callbackInfo, impl); |
234 } | 234 } |
235 | 235 |
236 {% endif %}{# has_custom_to_v8 #} | 236 {% endif %}{# has_custom_to_v8 #} |
237 {% if has_event_constructor %} | 237 {% if has_event_constructor %} |
238 bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionSta
te&, const v8::FunctionCallbackInfo<v8::Value>& info, const String& = ""); | 238 bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionSta
te&, const v8::FunctionCallbackInfo<v8::Value>& info); |
239 | 239 |
240 {% endif %} | 240 {% endif %} |
241 } // namespace blink | 241 } // namespace blink |
242 {% endfilter %} | 242 {% endfilter %} |
243 | 243 |
244 #endif // {{v8_class}}_h | 244 #endif // {{v8_class}}_h |
OLD | NEW |