chromeos: bluetooth: add BluetoothNodeClient
[chromium-blink-merge.git] / ash / volume_control_delegate.h
blob46b3cf3a8f6be5e780c24e889d00889bde1493ac
1 // Copyright (c) 2012 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.
5 #ifndef ASH_VOLUME_CONTROL_DELEGATE_H_
6 #define ASH_VOLUME_CONTROL_DELEGATE_H_
7 #pragma once
9 namespace ui {
10 class Accelerator;
11 } // namespace ui
13 namespace ash {
15 // Delegate for controlling the volume.
16 class VolumeControlDelegate {
17 public:
18 virtual ~VolumeControlDelegate() {}
20 virtual bool HandleVolumeMute(const ui::Accelerator& accelerator) = 0;
21 virtual bool HandleVolumeDown(const ui::Accelerator& accelerator) = 0;
22 virtual bool HandleVolumeUp(const ui::Accelerator& accelerator) = 0;
25 } // namespace ash
27 #endif // ASH_VOLUME_CONTROL_DELEGATE_H_