| OLD | NEW |
| 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/ash_touch_exploration_manager_chromeos.h" | 5 #include "ash/ash_touch_exploration_manager_chromeos.h" |
| 6 | 6 |
| 7 #include "ash/common/accessibility_delegate.h" | 7 #include "ash/accessibility_delegate.h" |
| 8 #include "ash/common/wm_shell.h" | |
| 9 #include "ash/common/wm_window.h" | |
| 10 #include "ash/root_window_controller.h" | 8 #include "ash/root_window_controller.h" |
| 11 #include "ash/shell.h" | 9 #include "ash/shell.h" |
| 12 #include "ash/system/tray/system_tray_notifier.h" | 10 #include "ash/system/tray/system_tray_notifier.h" |
| 13 #include "ash/wm/window_util.h" | 11 #include "ash/wm/window_util.h" |
| 12 #include "ash/wm_shell.h" |
| 13 #include "ash/wm_window.h" |
| 14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
| 15 #include "base/memory/ptr_util.h" | 15 #include "base/memory/ptr_util.h" |
| 16 #include "chromeos/audio/chromeos_sounds.h" | 16 #include "chromeos/audio/chromeos_sounds.h" |
| 17 #include "chromeos/audio/cras_audio_handler.h" | 17 #include "chromeos/audio/cras_audio_handler.h" |
| 18 #include "chromeos/chromeos_switches.h" | 18 #include "chromeos/chromeos_switches.h" |
| 19 #include "ui/chromeos/touch_exploration_controller.h" | 19 #include "ui/chromeos/touch_exploration_controller.h" |
| 20 #include "ui/wm/public/activation_client.h" | 20 #include "ui/wm/public/activation_client.h" |
| 21 | 21 |
| 22 namespace ash { | 22 namespace ash { |
| 23 | 23 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 touch_exploration_controller_.reset(); | 167 touch_exploration_controller_.reset(); |
| 168 } | 168 } |
| 169 } | 169 } |
| 170 | 170 |
| 171 bool AshTouchExplorationManager::VolumeAdjustSoundEnabled() { | 171 bool AshTouchExplorationManager::VolumeAdjustSoundEnabled() { |
| 172 return !base::CommandLine::ForCurrentProcess()->HasSwitch( | 172 return !base::CommandLine::ForCurrentProcess()->HasSwitch( |
| 173 chromeos::switches::kDisableVolumeAdjustSound); | 173 chromeos::switches::kDisableVolumeAdjustSound); |
| 174 } | 174 } |
| 175 | 175 |
| 176 } // namespace ash | 176 } // namespace ash |
| OLD | NEW |