| Index: ash/public/interfaces/volume.mojom
|
| diff --git a/ash/public/interfaces/volume.mojom b/ash/public/interfaces/volume.mojom
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..85bd93928bbbbece6849930d9c3662d92313f4af
|
| --- /dev/null
|
| +++ b/ash/public/interfaces/volume.mojom
|
| @@ -0,0 +1,17 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +module ash.mojom;
|
| +
|
| +// 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 {
|
| + // Mute the audio volume.
|
| + VolumeMute();
|
| + // Decrease the audio volume.
|
| + VolumeDown();
|
| + // Increase the audio volume.
|
| + VolumeUp();
|
| +};
|
|
|