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

Side by Side Diff: ash/public/interfaces/volume.mojom

Issue 2552483002: mash: Have chrome set itself as a controller interface for changing volume (Closed)
Patch Set: comment Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module ash.mojom; 5 module ash.mojom;
6 6
7 // Implemented by Chrome and used by ash to request audio volume changes. 7 // Implemented by Chrome and used by ash to request audio volume changes.
8 // Implemented by Chrome because it's currently the only client of audio dbus 8 // Implemented by Chrome because it's currently the only client of audio dbus
9 // interfaces (via CrasAudioHandler); this may be simplified if that changes. 9 // interfaces (via CrasAudioHandler).
10 // TODO(crbug.com/644336): Flip this pattern, ash should implement the volume
11 // control interface or both ash and chrome should directly access the
12 // CrasAudioHandler volume control functions.
10 interface VolumeController { 13 interface VolumeController {
11 // Mute the audio volume. 14 // Mute the audio volume.
12 VolumeMute(); 15 VolumeMute();
13 // Decrease the audio volume. 16 // Decrease the audio volume.
14 VolumeDown(); 17 VolumeDown();
15 // Increase the audio volume. 18 // Increase the audio volume.
16 VolumeUp(); 19 VolumeUp();
17 }; 20 };
OLDNEW
« no previous file with comments | « ash/public/interfaces/accelerator_controller.mojom ('k') | chrome/browser/chrome_content_browser_manifest_overlay.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698