Chromium Code Reviews| Index: lib/html/dart2js/html_dart2js.dart |
| diff --git a/lib/html/dart2js/html_dart2js.dart b/lib/html/dart2js/html_dart2js.dart |
| index 8ee2dd8637a4209b45fe65f6e5ffd67914321f2d..67b2d0e5644d154eb21b3d7ae408db7aae10eb64 100644 |
| --- a/lib/html/dart2js/html_dart2js.dart |
| +++ b/lib/html/dart2js/html_dart2js.dart |
| @@ -37094,6 +37094,15 @@ class _HttpRequestUtils { |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| +void _dispatchEvent(String receiver, var message) { |
| + var event = document.$dom_createEvent('TextEvent'); |
| + event.initTextEvent(receiver, false, false, window, JSON.stringify(message)); |
| + window.$dom_dispatchEvent(event); |
| +} |
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
|
Mads Ager (google)
2012/08/22 11:57:41
Why do we have the second copyright notice here?
|
| +// for details. All rights reserved. Use of this source code is governed by a |
| +// BSD-style license that can be found in the LICENSE file. |
| + |
| typedef Object ComputeValue(); |
| class _MeasurementRequest<T> { |