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

Unified Diff: ash/public/interfaces/volume.mojom

Issue 2427913003: Use mojo volume interfaces for mash and classic ash. (Closed)
Patch Set: Add connection error handler; fix browser tests. Created 4 years, 2 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: 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..4b346b751a81b632a4ea56d2c9db853dbb6f52c5
--- /dev/null
+++ b/ash/public/interfaces/volume.mojom
@@ -0,0 +1,15 @@
+// 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.
James Cook 2016/10/18 23:53:40 super nit: I might add a quick note about why this
msw 2016/10/19 15:24:10 I added a note; let me know if it should be change
+interface VolumeController {
+ // Mute the audio volume.
+ VolumeMute();
+ // Decrease the audio volume.
+ VolumeDown();
+ // Increase the audio volume.
+ VolumeUp();
+};

Powered by Google App Engine
This is Rietveld 408576698