| 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 // Stubs implementing the editors API. | 5 // Stubs implementing the editors API. |
| 6 // -------------------------------------------------------------- | 6 // -------------------------------------------------------------- |
| 7 // All of the code in this file should be generated automatically. | 7 // All of the code in this file should be generated automatically. |
| 8 // -------------------------------------------------------------- | 8 // -------------------------------------------------------------- |
| 9 | 9 |
| 10 #library("editor_stub"); | 10 #library("editor_stub"); |
| 11 | 11 |
| 12 #import("../proxy/proxy.dart"); |
| 12 #import("editors.dart"); | 13 #import("editors.dart"); |
| 13 | 14 |
| 14 /** | 15 /** |
| 15 * An [EditorFactory] proxy that sends messages to another isolate that actually | 16 * An [EditorFactory] proxy that sends messages to another isolate that actually |
| 16 * implements the editor factory functionality. | 17 * implements the editor factory functionality. |
| 17 */ | 18 */ |
| 18 class EditorFactoryProxy extends RpcProxy implements EditorFactory { | 19 class EditorFactoryProxy extends RpcProxy implements EditorFactory { |
| 19 EditorFactoryProxy(Future<SendPort> futureSendPort) | 20 EditorFactoryProxy(Future<SendPort> futureSendPort) |
| 20 : super(futureSendPort) { } | 21 : super(futureSendPort) { } |
| 21 Future<EditorProxy> newEditor(String id, String type) { | 22 Future<EditorProxy> newEditor(String id, String type) { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 /** | 59 /** |
| 59 * An [Marker] proxy that sends messages to another isolate that actually | 60 * An [Marker] proxy that sends messages to another isolate that actually |
| 60 * implements the text marker functionality. | 61 * implements the text marker functionality. |
| 61 */ | 62 */ |
| 62 class MarkerProxy extends RpcProxy implements Marker { | 63 class MarkerProxy extends RpcProxy implements Marker { |
| 63 MarkerProxy(Future<SendPort> futureSendPort) : super(futureSendPort) { } | 64 MarkerProxy(Future<SendPort> futureSendPort) : super(futureSendPort) { } |
| 64 Future clear() { | 65 Future clear() { |
| 65 return sendCommand("clear", null, null); | 66 return sendCommand("clear", null, null); |
| 66 } | 67 } |
| 67 } | 68 } |
| OLD | NEW |