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

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, 6 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..07e2b2eace38089b6858030c4456179fb043a913 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.
+ // |percent| is of the range [0, 100].
+ [MinVersion=3] OnSystemVolumeUpdateRequest@1(int32 percent);
};
// 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