| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 module mus.mojom; | 5 module mus.mojom; |
| 6 | 6 |
| 7 import "ui/events/devices/mojo/input_devices.mojom"; | 7 import "ui/events/devices/mojo/input_devices.mojom"; |
| 8 | 8 |
| 9 // Receives updates about changes to input-devices. See InputDeviceServer for | 9 // Receives updates about changes to input-devices. See InputDeviceServer for |
| 10 // the expected behaviour. | 10 // the expected behaviour. |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 // Sends updates about input-devices to observers. | 34 // Sends updates about input-devices to observers. |
| 35 interface InputDeviceServer { | 35 interface InputDeviceServer { |
| 36 // Adds an InputDeviceObserverMojo in another process as an observer to get | 36 // Adds an InputDeviceObserverMojo in another process as an observer to get |
| 37 // notified of changes to input-devices over Mojo IPC. If all input-device | 37 // notified of changes to input-devices over Mojo IPC. If all input-device |
| 38 // lists are complete when a new observer connects, the implementation will | 38 // lists are complete when a new observer connects, the implementation will |
| 39 // immediately call OnDeviceListsComplete() with the input-device lists. If | 39 // immediately call OnDeviceListsComplete() with the input-device lists. If |
| 40 // not, the implementation will wait until all input-device lists are complete | 40 // not, the implementation will wait until all input-device lists are complete |
| 41 // then call OnDeviceListsComplete() for all connected observers. | 41 // then call OnDeviceListsComplete() for all connected observers. |
| 42 AddObserver(InputDeviceObserverMojo observer); | 42 AddObserver(InputDeviceObserverMojo observer); |
| 43 }; | 43 }; |
| OLD | NEW |