OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
| 5 import 'dart:nativewrappers'; |
| 6 |
5 @patch class _EventHandler { | 7 @patch class _EventHandler { |
6 @patch static void _sendData(Object sender, | 8 @patch static void _sendData(Object sender, |
7 SendPort sendPort, | 9 SendPort sendPort, |
8 int data) | 10 int data) |
9 native "EventHandler_SendData"; | 11 native "EventHandler_SendData"; |
10 | 12 |
11 static int _timerMillisecondClock() | 13 static int _timerMillisecondClock() |
12 native "EventHandler_TimerMillisecondClock"; | 14 native "EventHandler_TimerMillisecondClock"; |
13 } | 15 } |
14 | 16 |
OLD | NEW |