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

Side by Side Diff: sky/engine/bindings/scripts/templates/global_cpp.template

Issue 1206763002: Really remove config.h (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // WARNING: Do not edit - generated code. 5 // WARNING: Do not edit - generated code.
6 6
7 #include "sky/engine/config.h"
8 #include "gen/sky/bindings/DartGlobal.h" 7 #include "gen/sky/bindings/DartGlobal.h"
9 8
10 {% for interface in interfaces %} 9 {% for interface in interfaces %}
11 #include "gen/sky/bindings/Dart{{interface.name}}.h" 10 #include "gen/sky/bindings/Dart{{interface.name}}.h"
12 {% endfor %} 11 {% endfor %}
13 12
14 namespace blink { 13 namespace blink {
15 14
16 Dart_NativeFunction skySnapshotResolver(Dart_Handle name, int argumentCount, boo l* autoSetupScope) 15 Dart_NativeFunction skySnapshotResolver(Dart_Handle name, int argumentCount, boo l* autoSetupScope)
17 { 16 {
(...skipping 11 matching lines...) Expand all
29 {% for interface in interfaces %} 28 {% for interface in interfaces %}
30 {% if interface.has_resolver %} 29 {% if interface.has_resolver %}
31 if (const uint8_t* r = Dart{{interface.name}}::Symbolizer(nf)) 30 if (const uint8_t* r = Dart{{interface.name}}::Symbolizer(nf))
32 return r; 31 return r;
33 {% endif %} 32 {% endif %}
34 {% endfor %} 33 {% endfor %}
35 return 0; 34 return 0;
36 } 35 }
37 36
38 } // namespace blink 37 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698