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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h

Issue 2858153004: Rename |m_callback| to |callback_| in IDL bindings. (Closed)
Patch Set: Created 3 years, 7 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
OLDNEW
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_v8.py. 5 // This file has been auto-generated by code_generator_v8.py.
6 // DO NOT MODIFY! 6 // DO NOT MODIFY!
7 7
8 // This file has been generated from the Jinja2 template in 8 // This file has been generated from the Jinja2 template in
9 // third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl 9 // third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl
10 10
(...skipping 18 matching lines...) Expand all
29 static VoidCallbackFunctionModules* Create(ScriptState*, v8::Local<v8::Value> callback); 29 static VoidCallbackFunctionModules* Create(ScriptState*, v8::Local<v8::Value> callback);
30 30
31 ~VoidCallbackFunctionModules() = default; 31 ~VoidCallbackFunctionModules() = default;
32 32
33 DEFINE_INLINE_TRACE() {} 33 DEFINE_INLINE_TRACE() {}
34 DECLARE_TRACE_WRAPPERS(); 34 DECLARE_TRACE_WRAPPERS();
35 35
36 bool call(ScriptWrappable* scriptWrappable); 36 bool call(ScriptWrappable* scriptWrappable);
37 37
38 v8::Local<v8::Function> v8Value(v8::Isolate* isolate) { 38 v8::Local<v8::Function> v8Value(v8::Isolate* isolate) {
39 return m_callback.NewLocal(isolate); 39 return callback_.NewLocal(isolate);
40 } 40 }
41 41
42 private: 42 private:
43 VoidCallbackFunctionModules(ScriptState*, v8::Local<v8::Function>); 43 VoidCallbackFunctionModules(ScriptState*, v8::Local<v8::Function>);
44 44
45 RefPtr<ScriptState> script_state_; 45 RefPtr<ScriptState> script_state_;
46 TraceWrapperV8Reference<v8::Function> m_callback; 46 TraceWrapperV8Reference<v8::Function> callback_;
47 }; 47 };
48 48
49 template <> 49 template <>
50 struct NativeValueTraits<VoidCallbackFunctionModules> : public NativeValueTraits Base<VoidCallbackFunctionModules> { 50 struct NativeValueTraits<VoidCallbackFunctionModules> : public NativeValueTraits Base<VoidCallbackFunctionModules> {
51 MODULES_EXPORT static VoidCallbackFunctionModules* NativeValue(v8::Isolate*, v 8::Local<v8::Value>, ExceptionState&); 51 MODULES_EXPORT static VoidCallbackFunctionModules* NativeValue(v8::Isolate*, v 8::Local<v8::Value>, ExceptionState&);
52 }; 52 };
53 53
54 } // namespace blink 54 } // namespace blink
55 55
56 #endif // VoidCallbackFunctionModules_h 56 #endif // VoidCallbackFunctionModules_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698