| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // WARNING: DO NOT EDIT. This file was generated by a program. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // See $MOJO_SDK/tools/bindings/mojom_bindings_generator.py. |
| 3 // found in the LICENSE file. | |
| 4 | 3 |
| 5 library sensors_mojom; | 4 library sensors_mojom; |
| 6 import 'dart:async'; | 5 import 'dart:async'; |
| 7 import 'package:mojo/bindings.dart' as bindings; | 6 import 'package:mojo/bindings.dart' as bindings; |
| 8 import 'package:mojo/core.dart' as core; | 7 import 'package:mojo/core.dart' as core; |
| 9 import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as servic
e_describer; | 8 import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as servic
e_describer; |
| 10 | 9 |
| 11 class SensorType extends bindings.MojoEnum { | 10 class SensorType extends bindings.MojoEnum { |
| 12 static const SensorType accelerometer = const SensorType._(0); | 11 static const SensorType accelerometer = const SensorType._(0); |
| 13 static const SensorType ambientTemperature = const SensorType._(1); | 12 static const SensorType ambientTemperature = const SensorType._(1); |
| (...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1009 } | 1008 } |
| 1010 | 1009 |
| 1011 | 1010 |
| 1012 void addListener(SensorType type, SensorListenerInterface listener) { | 1011 void addListener(SensorType type, SensorListenerInterface listener) { |
| 1013 return impl.addListener(type, listener); | 1012 return impl.addListener(type, listener); |
| 1014 } | 1013 } |
| 1015 } | 1014 } |
| 1016 | 1015 |
| 1017 | 1016 |
| 1018 | 1017 |
| OLD | NEW |