OLD | NEW |
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 Loading... |
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 |
OLD | NEW |