Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Side by Side Diff: ash/common/system/chromeos/keyboard_brightness_controller.h

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_COMMON_SYSTEM_CHROMEOS_KEYBOARD_BRIGHTNESS_CONTROLLER_H_
6 #define ASH_COMMON_SYSTEM_CHROMEOS_KEYBOARD_BRIGHTNESS_CONTROLLER_H_
7
8 #include "ash/ash_export.h"
9 #include "ash/common/system/keyboard_brightness_control_delegate.h"
10 #include "base/compiler_specific.h"
11 #include "base/macros.h"
12
13 namespace ash {
14
15 // A class which controls keyboard brightness when Alt+F6, Alt+F7 or a
16 // multimedia key for keyboard brightness is pressed.
17 class ASH_EXPORT KeyboardBrightnessController
18 : public KeyboardBrightnessControlDelegate {
19 public:
20 KeyboardBrightnessController() {}
21 ~KeyboardBrightnessController() override {}
22
23 private:
24 // Overridden from KeyboardBrightnessControlDelegate:
25 void HandleKeyboardBrightnessDown(
26 const ui::Accelerator& accelerator) override;
27 void HandleKeyboardBrightnessUp(const ui::Accelerator& accelerator) override;
28
29 DISALLOW_COPY_AND_ASSIGN(KeyboardBrightnessController);
30 };
31
32 } // namespace ash
33
34 #endif // ASH_COMMON_SYSTEM_CHROMEOS_KEYBOARD_BRIGHTNESS_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698