OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 library input_mojom; | 5 library input_mojom; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import 'package:mojo/bindings.dart' as bindings; | 9 import 'package:mojo/bindings.dart' as bindings; |
10 import 'package:mojo/core.dart' as core; | 10 import 'package:mojo/core.dart' as core; |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 } | 204 } |
205 | 205 |
206 | 206 |
207 | 207 |
208 | 208 |
209 const int _InputClient_onBackButtonName = 0; | 209 const int _InputClient_onBackButtonName = 0; |
210 | 210 |
211 | 211 |
212 | 212 |
213 class _InputClientServiceDescription implements service_describer.ServiceDescrip
tion { | 213 class _InputClientServiceDescription implements service_describer.ServiceDescrip
tion { |
214 dynamic getTopLevelInterface([Function responseFactory]) => null; | 214 dynamic getTopLevelInterface([Function responseFactory]) => |
| 215 responseFactory(null); |
215 | 216 |
216 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; | 217 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
| 218 responseFactory(null); |
217 | 219 |
218 dynamic getAllTypeDefinitions([Function responseFactory]) => null; | 220 dynamic getAllTypeDefinitions([Function responseFactory]) => |
| 221 responseFactory(null); |
219 } | 222 } |
220 | 223 |
221 abstract class InputClient { | 224 abstract class InputClient { |
222 static const String serviceName = null; | 225 static const String serviceName = null; |
223 dynamic onBackButton([Function responseFactory = null]); | 226 dynamic onBackButton([Function responseFactory = null]); |
224 } | 227 } |
225 | 228 |
226 | 229 |
227 class _InputClientProxyImpl extends bindings.Proxy { | 230 class _InputClientProxyImpl extends bindings.Proxy { |
228 _InputClientProxyImpl.fromEndpoint( | 231 _InputClientProxyImpl.fromEndpoint( |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 _impl = d; | 422 _impl = d; |
420 } | 423 } |
421 | 424 |
422 String toString() { | 425 String toString() { |
423 var superString = super.toString(); | 426 var superString = super.toString(); |
424 return "InputClientStub($superString)"; | 427 return "InputClientStub($superString)"; |
425 } | 428 } |
426 | 429 |
427 int get version => 0; | 430 int get version => 0; |
428 | 431 |
429 service_describer.ServiceDescription get serviceDescription => | 432 static service_describer.ServiceDescription get serviceDescription => |
430 new _InputClientServiceDescription(); | 433 new _InputClientServiceDescription(); |
431 } | 434 } |
432 | 435 |
433 const int _InputService_setClientName = 0; | 436 const int _InputService_setClientName = 0; |
434 | 437 |
435 | 438 |
436 | 439 |
437 class _InputServiceServiceDescription implements service_describer.ServiceDescri
ption { | 440 class _InputServiceServiceDescription implements service_describer.ServiceDescri
ption { |
438 dynamic getTopLevelInterface([Function responseFactory]) => null; | 441 dynamic getTopLevelInterface([Function responseFactory]) => |
| 442 responseFactory(null); |
439 | 443 |
440 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; | 444 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
| 445 responseFactory(null); |
441 | 446 |
442 dynamic getAllTypeDefinitions([Function responseFactory]) => null; | 447 dynamic getAllTypeDefinitions([Function responseFactory]) => |
| 448 responseFactory(null); |
443 } | 449 } |
444 | 450 |
445 abstract class InputService { | 451 abstract class InputService { |
446 static const String serviceName = "input::InputService"; | 452 static const String serviceName = "input::InputService"; |
447 void setClient(Object client); | 453 void setClient(Object client); |
448 } | 454 } |
449 | 455 |
450 | 456 |
451 class _InputServiceProxyImpl extends bindings.Proxy { | 457 class _InputServiceProxyImpl extends bindings.Proxy { |
452 _InputServiceProxyImpl.fromEndpoint( | 458 _InputServiceProxyImpl.fromEndpoint( |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
603 _impl = d; | 609 _impl = d; |
604 } | 610 } |
605 | 611 |
606 String toString() { | 612 String toString() { |
607 var superString = super.toString(); | 613 var superString = super.toString(); |
608 return "InputServiceStub($superString)"; | 614 return "InputServiceStub($superString)"; |
609 } | 615 } |
610 | 616 |
611 int get version => 0; | 617 int get version => 0; |
612 | 618 |
613 service_describer.ServiceDescription get serviceDescription => | 619 static service_describer.ServiceDescription get serviceDescription => |
614 new _InputServiceServiceDescription(); | 620 new _InputServiceServiceDescription(); |
615 } | 621 } |
616 | 622 |
617 | 623 |
618 | 624 |
OLD | NEW |