Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: mojo/dart/packages/mojo_services/lib/mojo/ui/input_dispatcher.mojom.dart

Issue 1753013002: Mojom runtime type info: New implementation for Dart. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: No changes to sha1s Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_dispatcher_mojom; 5 library input_dispatcher_mojom;
6 import 'dart:async'; 6 import 'dart:async';
7 import 'package:mojo/bindings.dart' as bindings; 7 import 'package:mojo/bindings.dart' as bindings;
8 import 'package:mojo/core.dart' as core; 8 import 'package:mojo/core.dart' as core;
9 import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as servic e_describer; 9 import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as servic e_describer;
10 import 'package:mojo_services/mojo/input_events.mojom.dart' as input_events_mojo m; 10 import 'package:mojo_services/mojo/input_events.mojom.dart' as input_events_mojo m;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 "event: $event" ")"; 76 "event: $event" ")";
77 } 77 }
78 78
79 Map toJson() { 79 Map toJson() {
80 Map map = new Map(); 80 Map map = new Map();
81 map["event"] = event; 81 map["event"] = event;
82 return map; 82 return map;
83 } 83 }
84 } 84 }
85 85
86
87
88
89 const int _InputDispatcher_dispatchEventName = 0; 86 const int _InputDispatcher_dispatchEventName = 0;
90 87
91
92
93 class _InputDispatcherServiceDescription implements service_describer.ServiceDes cription { 88 class _InputDispatcherServiceDescription implements service_describer.ServiceDes cription {
94 dynamic getTopLevelInterface([Function responseFactory]) => 89 dynamic getTopLevelInterface([Function responseFactory]) =>
95 responseFactory(null); 90 responseFactory(null);
96 91
97 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => 92 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) =>
98 responseFactory(null); 93 responseFactory(null);
99 94
100 dynamic getAllTypeDefinitions([Function responseFactory]) => 95 dynamic getAllTypeDefinitions([Function responseFactory]) =>
101 responseFactory(null); 96 responseFactory(null);
102 } 97 }
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 static service_describer.ServiceDescription get serviceDescription { 268 static service_describer.ServiceDescription get serviceDescription {
274 if (_cachedServiceDescription == null) { 269 if (_cachedServiceDescription == null) {
275 _cachedServiceDescription = new _InputDispatcherServiceDescription(); 270 _cachedServiceDescription = new _InputDispatcherServiceDescription();
276 } 271 }
277 return _cachedServiceDescription; 272 return _cachedServiceDescription;
278 } 273 }
279 } 274 }
280 275
281 276
282 277
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698