Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: components/arc/common/audio.mojom

Issue 2813113002: Adding ArcBridge Interface for Volume Update Requests (Closed)
Patch Set: Adding ArcBridge Interface for Volume Update Requests Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/arc/common/audio.mojom
diff --git a/components/arc/common/audio.mojom b/components/arc/common/audio.mojom
index 39e02ec514a7a0ee12263a2127259bd479d6876d..346fb3019ce55dc917ba55632dc283c2e88ea7ce 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,14 @@ 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|
+ // |volume| is of the range [0, 100]
+ [MinVersion=3] OnVolumeUpdateRequest@1(float volume);
Luis Héctor Chávez 2017/04/13 14:21:25 nit: OnSystemVolumeUpdateRequest Also mention tha
dcheng 2017/04/13 18:02:40 Can you clarify what that means? We have no way of
Luis Héctor Chávez 2017/04/13 18:05:40 Yes, we're trusting that the other side will only
yueli 2017/06/02 19:10:13 Done.
};
// Next method ID: 3
« components/arc/audio/arc_audio_bridge.cc ('K') | « components/arc/audio/arc_audio_bridge.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698