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

Unified Diff: ash/system/chromeos/keyboard_brightness_controller.h

Issue 2131733002: mash: Migrate [Keyboard]Brightness code to ash/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: ash/system/chromeos/keyboard_brightness_controller.h
diff --git a/ash/system/chromeos/keyboard_brightness_controller.h b/ash/system/chromeos/keyboard_brightness_controller.h
deleted file mode 100644
index 38130f98d73dce85840c2dbbd0f06598f98ce325..0000000000000000000000000000000000000000
--- a/ash/system/chromeos/keyboard_brightness_controller.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_SYSTEM_CHROMEOS_KEYBOARD_BRIGHTNESS_CONTROLLER_H_
-#define ASH_SYSTEM_CHROMEOS_KEYBOARD_BRIGHTNESS_CONTROLLER_H_
-
-#include "ash/ash_export.h"
-#include "ash/system/keyboard_brightness/keyboard_brightness_control_delegate.h"
-#include "base/compiler_specific.h"
-#include "base/macros.h"
-
-namespace ash {
-
-// A class which controls keyboard brightness when Alt+F6, Alt+F7 or a
-// multimedia key for keyboard brightness is pressed.
-class ASH_EXPORT KeyboardBrightnessController
- : public KeyboardBrightnessControlDelegate {
- public:
- KeyboardBrightnessController() {}
- ~KeyboardBrightnessController() override {}
-
- private:
- // Overridden from KeyboardBrightnessControlDelegate:
- void HandleKeyboardBrightnessDown(
- const ui::Accelerator& accelerator) override;
- void HandleKeyboardBrightnessUp(const ui::Accelerator& accelerator) override;
-
- DISALLOW_COPY_AND_ASSIGN(KeyboardBrightnessController);
-};
-
-} // namespace ash
-
-#endif // ASH_SYSTEM_CHROMEOS_KEYBOARD_BRIGHTNESS_CONTROLLER_H_
« no previous file with comments | « ash/system/chromeos/brightness/tray_brightness_unittest.cc ('k') | ash/system/chromeos/keyboard_brightness_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698