chromeos: dbus: add Bluetooth properties support
[chromium-blink-merge.git] / ash / brightness_control_delegate.h
blob541160a6c31f7768c00421c803c8fc3b53b0b876
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_BRIGHTNESS_CONTROL_DELEGATE_H_
6 #define ASH_BRIGHTNESS_CONTROL_DELEGATE_H_
7 #pragma once
9 namespace ui {
10 class Accelerator;
11 } // namespace ui
13 namespace ash {
15 // Delegate for controlling the brightness.
16 class BrightnessControlDelegate {
17 public:
18 virtual ~BrightnessControlDelegate() {}
20 virtual bool HandleBrightnessDown(const ui::Accelerator& accelerator) = 0;
21 virtual bool HandleBrightnessUp(const ui::Accelerator& accelerator) = 0;
24 } // namespace ash
26 #endif // ASH_BRIGHTNESS_CONTROL_DELEGATE_H_