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 | |
7 @patch class _EventHandler { | 5 @patch class _EventHandler { |
8 @patch static void _sendData(Object sender, | 6 @patch static void _sendData(Object sender, |
9 SendPort sendPort, | 7 SendPort sendPort, |
10 int data) | 8 int data) |
11 native "EventHandler_SendData"; | 9 native "EventHandler_SendData"; |
12 | 10 |
13 static int _timerMillisecondClock() | 11 static int _timerMillisecondClock() |
14 native "EventHandler_TimerMillisecondClock"; | 12 native "EventHandler_TimerMillisecondClock"; |
15 } | 13 } |
16 | 14 |
OLD | NEW |