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

Unified Diff: chromeos/audio/audio_a11y_controller.h

Issue 1840913002: A11y setting: mono audio UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: delete tray a11y hand icon view Created 4 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
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chromeos/audio/audio_a11y_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/audio/audio_a11y_controller.h
diff --git a/chromeos/audio/audio_a11y_controller.h b/chromeos/audio/audio_a11y_controller.h
new file mode 100644
index 0000000000000000000000000000000000000000..13e90600de8fff867d218ddf77b0c1c2b3c4cf3e
--- /dev/null
+++ b/chromeos/audio/audio_a11y_controller.h
@@ -0,0 +1,32 @@
+// Copyright (c) 2013 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.
+
+#ifndef CHROMEOS_AUDIO_AUDIO_A11Y_CONTROLLER_H_
+#define CHROMEOS_AUDIO_AUDIO_A11Y_CONTROLLER_H_
+
+#include <stdint.h>
+
+#include "base/macros.h"
+#include "chromeos/audio/cras_audio_handler.h"
+#include "chromeos/chromeos_export.h"
+
+namespace chromeos {
+
+class CHROMEOS_EXPORT AudioA11yController {
+ public:
+ AudioA11yController();
+ ~AudioA11yController();
+
+ // Set audio outputs mono or not (that is stereo).
+ void SetOutputMono(bool enabled);
+
+ private:
+ CrasAudioHandler* cras_audio_handler_;
+
+ DISALLOW_COPY_AND_ASSIGN(AudioA11yController);
+};
+
+} // namespace chromeos
+
+#endif // CHROMEOS_AUDIO_AUDIO_A11Y_CONTROLLER_H_
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chromeos/audio/audio_a11y_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698