| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ |
| 6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ | 6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 void InputMethodChanged(input_method::InputMethodManager* manager, | 215 void InputMethodChanged(input_method::InputMethodManager* manager, |
| 216 Profile* profile, | 216 Profile* profile, |
| 217 bool show_message) override; | 217 bool show_message) override; |
| 218 | 218 |
| 219 // Overridden from InputMethodMenuManager::Observer. | 219 // Overridden from InputMethodMenuManager::Observer. |
| 220 void InputMethodMenuItemChanged( | 220 void InputMethodMenuItemChanged( |
| 221 ui::ime::InputMethodMenuManager* manager) override; | 221 ui::ime::InputMethodMenuManager* manager) override; |
| 222 | 222 |
| 223 // Overridden from CrasAudioHandler::AudioObserver. | 223 // Overridden from CrasAudioHandler::AudioObserver. |
| 224 void OnOutputNodeVolumeChanged(uint64_t node_id, int volume) override; | 224 void OnOutputNodeVolumeChanged(uint64_t node_id, int volume) override; |
| 225 void OnOutputMuteChanged(bool mute_on) override; | 225 void OnOutputMuteChanged(bool mute_on, bool system_adjust) override; |
| 226 void OnInputNodeGainChanged(uint64_t node_id, int gain) override; | 226 void OnInputNodeGainChanged(uint64_t node_id, int gain) override; |
| 227 void OnInputMuteChanged(bool mute_on) override; | 227 void OnInputMuteChanged(bool mute_on) override; |
| 228 void OnAudioNodesChanged() override; | 228 void OnAudioNodesChanged() override; |
| 229 void OnActiveOutputNodeChanged() override; | 229 void OnActiveOutputNodeChanged() override; |
| 230 void OnActiveInputNodeChanged() override; | 230 void OnActiveInputNodeChanged() override; |
| 231 | 231 |
| 232 // Overridden from BluetoothAdapter::Observer. | 232 // Overridden from BluetoothAdapter::Observer. |
| 233 void AdapterPresentChanged(device::BluetoothAdapter* adapter, | 233 void AdapterPresentChanged(device::BluetoothAdapter* adapter, |
| 234 bool present) override; | 234 bool present) override; |
| 235 void AdapterPoweredChanged(device::BluetoothAdapter* adapter, | 235 void AdapterPoweredChanged(device::BluetoothAdapter* adapter, |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 | 310 |
| 311 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; | 311 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; |
| 312 | 312 |
| 313 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); | 313 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); |
| 314 }; | 314 }; |
| 315 | 315 |
| 316 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); | 316 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); |
| 317 | 317 |
| 318 } // namespace chromeos | 318 } // namespace chromeos |
| 319 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ | 319 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ |
| OLD | NEW |