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

Unified Diff: ash/common/system/chromeos/brightness/brightness_controller_chromeos.h

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 years, 10 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/common/system/chromeos/brightness/brightness_controller_chromeos.h
diff --git a/ash/common/system/chromeos/brightness/brightness_controller_chromeos.h b/ash/common/system/chromeos/brightness/brightness_controller_chromeos.h
deleted file mode 100644
index b93383209093592b0d5333761f207d2a6d43bfa8..0000000000000000000000000000000000000000
--- a/ash/common/system/chromeos/brightness/brightness_controller_chromeos.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2013 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_COMMON_SYSTEM_CHROMEOS_BRIGHTNESS_BRIGHTNESS_CONTROLLER_CHROMEOS_H_
-#define ASH_COMMON_SYSTEM_CHROMEOS_BRIGHTNESS_BRIGHTNESS_CONTROLLER_CHROMEOS_H_
-
-#include "ash/ash_export.h"
-#include "ash/common/system/brightness_control_delegate.h"
-#include "base/compiler_specific.h"
-#include "base/macros.h"
-
-namespace ash {
-namespace system {
-
-// A class which controls brightness when F6, F7 or a multimedia key for
-// brightness is pressed.
-class ASH_EXPORT BrightnessControllerChromeos
- : public ash::BrightnessControlDelegate {
- public:
- BrightnessControllerChromeos() {}
- ~BrightnessControllerChromeos() override {}
-
- // Overridden from ash::BrightnessControlDelegate:
- void HandleBrightnessDown(const ui::Accelerator& accelerator) override;
- void HandleBrightnessUp(const ui::Accelerator& accelerator) override;
- void SetBrightnessPercent(double percent, bool gradual) override;
- void GetBrightnessPercent(
- const base::Callback<void(double)>& callback) override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(BrightnessControllerChromeos);
-};
-
-} // namespace system
-} // namespace ash
-
-#endif // ASH_COMMON_SYSTEM_CHROMEOS_BRIGHTNESS_BRIGHTNESS_CONTROLLER_CHROMEOS_H_

Powered by Google App Engine
This is Rietveld 408576698