Chromium Code Reviews| Index: ash/public/interfaces/volume.mojom |
| diff --git a/ash/public/interfaces/volume.mojom b/ash/public/interfaces/volume.mojom |
| index 85bd93928bbbbece6849930d9c3662d92313f4af..d54035204624e59ac29d570d065060dffc4cadc6 100644 |
| --- a/ash/public/interfaces/volume.mojom |
| +++ b/ash/public/interfaces/volume.mojom |
| @@ -4,10 +4,18 @@ |
| module ash.mojom; |
| +// Implemented by ash. For now, used to delegate volume changes back to Chrome. |
|
msw
2016/12/05 20:15:09
The new naming is confusing to me, the 'client' be
James Cook
2016/12/05 20:25:49
It's going to be a couple days before I get back t
James Cook
2016/12/05 20:25:49
It's going to be a couple days before I get back t
msw
2016/12/05 20:27:00
sgtm
James Cook
2016/12/06 19:23:57
Done.
|
| +// In the future volume may be owned by ash, in which case this interface will |
| +// implement VolumeUp/VolumeDown/etc. |
| +interface Volume { |
| + // Sets the client interface. |
| + SetClient(VolumeClient client); |
| +}; |
| + |
| // Implemented by Chrome and used by ash to request audio volume changes. |
| // Implemented by Chrome because it's currently the only client of audio dbus |
| // interfaces (via CrasAudioHandler); this may be simplified if that changes. |
| -interface VolumeController { |
| +interface VolumeClient { |
| // Mute the audio volume. |
| VolumeMute(); |
| // Decrease the audio volume. |