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

Side by Side Diff: ash/system/chromeos/audio/tray_audio_delegate_chromeos.cc

Issue 512663002: Cleanup: Remove misc unneeded grit includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "ash/system/chromeos/audio/tray_audio_delegate_chromeos.h" 5 #include "ash/system/chromeos/audio/tray_audio_delegate_chromeos.h"
6 6
7 #include "chromeos/audio/cras_audio_handler.h" 7 #include "chromeos/audio/cras_audio_handler.h"
8 #include "grit/ash_resources.h" 8 #include "grit/ash_resources.h"
9 #include "grit/ash_strings.h"
10 9
11 using chromeos::CrasAudioHandler; 10 using chromeos::CrasAudioHandler;
12 11
13 namespace ash { 12 namespace ash {
14 namespace system { 13 namespace system {
15 14
16 void TrayAudioDelegateChromeOs::AdjustOutputVolumeToAudibleLevel() { 15 void TrayAudioDelegateChromeOs::AdjustOutputVolumeToAudibleLevel() {
17 CrasAudioHandler::Get()->AdjustOutputVolumeToAudibleLevel(); 16 CrasAudioHandler::Get()->AdjustOutputVolumeToAudibleLevel();
18 } 17 }
19 18
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 void TrayAudioDelegateChromeOs::SetOutputAudioIsMuted(bool is_muted) { 55 void TrayAudioDelegateChromeOs::SetOutputAudioIsMuted(bool is_muted) {
57 CrasAudioHandler::Get()->SetOutputMute(is_muted); 56 CrasAudioHandler::Get()->SetOutputMute(is_muted);
58 } 57 }
59 58
60 void TrayAudioDelegateChromeOs::SetOutputVolumeLevel(int level) { 59 void TrayAudioDelegateChromeOs::SetOutputVolumeLevel(int level) {
61 CrasAudioHandler::Get()->SetOutputVolumePercent(level); 60 CrasAudioHandler::Get()->SetOutputVolumePercent(level);
62 } 61 }
63 62
64 } // namespace system 63 } // namespace system
65 } // namespace ash 64 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/chromeos/audio/audio_detailed_view.cc ('k') | ash/system/tray/tray_notification_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698