| Index: sky/engine/bindings2/scripts/templates/dart_blink.template
|
| diff --git a/sky/engine/bindings2/scripts/templates/dart_blink.template b/sky/engine/bindings2/scripts/templates/dart_blink.template
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9ccee1b5a2a0804e2949fa12590b0bc22b01d690
|
| --- /dev/null
|
| +++ b/sky/engine/bindings2/scripts/templates/dart_blink.template
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +library sky.core;
|
| +
|
| +import "dart:nativewrappers";
|
| +
|
| +{% for interface in interfaces %}
|
| +part '{{interface.name}}.dart';
|
| +{% endfor %}
|
| +
|
| +{% for callback in callbacks %}
|
| +part '{{callback.name}}.dart';
|
| +{% endfor %}
|
| +
|
| +Window window;
|
| +Document get document => window.document;
|
| +
|
| +typedef EventListener(Event event);
|
|
|