OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 #ifndef ASH_SYSTEM_KEYBOARD_BRIGHTNESS_KEYBOARD_BRIGHTNESS_CONTROL_DELEGATE_H_ | |
6 #define ASH_SYSTEM_KEYBOARD_BRIGHTNESS_KEYBOARD_BRIGHTNESS_CONTROL_DELEGATE_H_ | |
7 #pragma once | |
8 | |
9 namespace ui { | |
10 class Accelerator; | |
11 } // namespace ui | |
12 | |
13 namespace ash { | |
14 | |
15 // Delegate for controlling the keyboard brightness. | |
16 class KeyboardBrightnessControlDelegate { | |
17 public: | |
18 virtual ~KeyboardBrightnessControlDelegate() {} | |
19 | |
20 // Handles an accelerator-driven request to decrease or increase the keyboard | |
21 // brightness. | |
Daniel Erat
2012/07/10 22:47:33
nit: describe what the return value represents
Yusuke Sato
2012/07/10 22:57:51
Done.
| |
22 virtual bool HandleKeyboardBrightnessDown( | |
23 const ui::Accelerator& accelerator) = 0; | |
24 virtual bool HandleKeyboardBrightnessUp( | |
25 const ui::Accelerator& accelerator) = 0; | |
26 }; | |
27 | |
28 } // namespace ash | |
29 | |
30 #endif // ASH_SYSTEM_KEYBOARD_BRIGHTNESS_KEYBOARD_BRIGHTNESS_CONTROL_DELEGATE_H _ | |
OLD | NEW |