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

Side by Side Diff: chromeos/audio/audio_a11y_controller.cc

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 unified diff | Download patch
« no previous file with comments | « chromeos/audio/audio_a11y_controller.h ('k') | chromeos/chromeos.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chromeos/audio/audio_a11y_controller.h"
6
7 namespace chromeos {
8
9 AudioA11yController::AudioA11yController() : cras_audio_handler_(nullptr) {
10 cras_audio_handler_ = CrasAudioHandler::Get();
11 }
12
13 AudioA11yController::~AudioA11yController() {
14 }
15
16 void AudioA11yController::SetOutputMono(bool enabled) {
17 if (cras_audio_handler_->IsOutputMonoEnabled() == enabled)
18 return;
19
20 cras_audio_handler_->SetOutputMono(enabled);
21 }
22
23 } // namespace chromeos
24
25
26
27
OLDNEW
« no previous file with comments | « chromeos/audio/audio_a11y_controller.h ('k') | chromeos/chromeos.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698