Chromium Code Reviews| Index: components/arc/common/audio.mojom |
| diff --git a/components/arc/common/audio.mojom b/components/arc/common/audio.mojom |
| index 39e02ec514a7a0ee12263a2127259bd479d6876d..00e5c15a704c83656fd87977913512e6695f3a56 100644 |
| --- a/components/arc/common/audio.mojom |
| +++ b/components/arc/common/audio.mojom |
| @@ -2,7 +2,7 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -// Next MinVersion: 3 |
| +// Next MinVersion: 4 |
| module arc.mojom; |
| @@ -13,9 +13,15 @@ enum AudioSwitch { |
| SW_MICROPHONE_INSERT = 0x04 |
| }; |
| +// Next method ID:2 |
| interface AudioHost { |
| // Tells the host to show the volume controls. |
| ShowVolumeControls@0(); |
| + |
| + // Request that the volume be changed to |volume|. |
| + // This is a privileged API and should only be used on whitelisted cases. |
| + // |volume| is of the range [0, 100]. |
| + [MinVersion=3] OnSystemVolumeUpdateRequest@1(float volume); |
|
dcheng
2017/06/02 23:25:35
Nit: I would suggest calling this parameter |perce
yueli
2017/06/06 16:43:09
Done.
|
| }; |
| // Next method ID: 3 |