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

Side by Side Diff: sky/engine/bindings/templates/dictionary_v8.h

Issue 736373003: Fix sky include guards to match Chromium style (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Reran script after fixing missing break Created 6 years, 1 month 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}}. 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 SKY_ENGINE_BINDINGS_TEMPLATES_DICTIONARY_V8_H_
8 #define {{v8_class}}_h 8 #define SKY_ENGINE_BINDINGS_TEMPLATES_DICTIONARY_V8_H_
9 9
10 {% for filename in header_includes %} 10 {% for filename in header_includes %}
11 #include "{{filename}}" 11 #include "{{filename}}"
12 {% endfor %} 12 {% endfor %}
13 13
14 namespace blink { 14 namespace blink {
15 15
16 class {{v8_class}} { 16 class {{v8_class}} {
17 public: 17 public:
18 static {{cpp_class}}* toNative(v8::Isolate*, v8::Handle<v8::Value>); 18 static {{cpp_class}}* toNative(v8::Isolate*, v8::Handle<v8::Value>);
19 }; 19 };
20 20
21 v8::Handle<v8::Value> toV8({{cpp_class}}*, v8::Handle<v8::Object>, v8::Isolate*) ; 21 v8::Handle<v8::Value> toV8({{cpp_class}}*, v8::Handle<v8::Object>, v8::Isolate*) ;
22 22
23 template<class CallbackInfo> 23 template<class CallbackInfo>
24 inline void v8SetReturnValue(const CallbackInfo& callbackInfo, {{cpp_class}}* im pl) 24 inline void v8SetReturnValue(const CallbackInfo& callbackInfo, {{cpp_class}}* im pl)
25 { 25 {
26 v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInf o.GetIsolate())); 26 v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInf o.GetIsolate()));
27 } 27 }
28 28
29 } // namespace blink 29 } // namespace blink
30 30
31 #endif // {{v8_class}}_h 31 #endif // SKY_ENGINE_BINDINGS_TEMPLATES_DICTIONARY_V8_H_
OLDNEW
« no previous file with comments | « sky/engine/bindings/templates/dictionary_impl.h ('k') | sky/engine/bindings/templates/interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698