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

Side by Side Diff: ash/system/chromeos/brightness/brightness_controller_chromeos.h

Issue 621133002: replace OVERRIDE and FINAL with override and final in ash/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SYSTEM_CHROMEOS_BRIGHTNESS_BRIGHTNESS_CONTROLLER_CHROMEOS_H_ 5 #ifndef ASH_SYSTEM_CHROMEOS_BRIGHTNESS_BRIGHTNESS_CONTROLLER_CHROMEOS_H_
6 #define ASH_SYSTEM_CHROMEOS_BRIGHTNESS_BRIGHTNESS_CONTROLLER_CHROMEOS_H_ 6 #define ASH_SYSTEM_CHROMEOS_BRIGHTNESS_BRIGHTNESS_CONTROLLER_CHROMEOS_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/system/brightness_control_delegate.h" 9 #include "ash/system/brightness_control_delegate.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 12
13 namespace ash { 13 namespace ash {
14 namespace system { 14 namespace system {
15 15
16 // A class which controls brightness when F6, F7 or a multimedia key for 16 // A class which controls brightness when F6, F7 or a multimedia key for
17 // brightness is pressed. 17 // brightness is pressed.
18 class ASH_EXPORT BrightnessControllerChromeos 18 class ASH_EXPORT BrightnessControllerChromeos
19 : public ash::BrightnessControlDelegate { 19 : public ash::BrightnessControlDelegate {
20 public: 20 public:
21 BrightnessControllerChromeos() {} 21 BrightnessControllerChromeos() {}
22 virtual ~BrightnessControllerChromeos() {} 22 virtual ~BrightnessControllerChromeos() {}
23 23
24 // Overridden from ash::BrightnessControlDelegate: 24 // Overridden from ash::BrightnessControlDelegate:
25 virtual bool HandleBrightnessDown( 25 virtual bool HandleBrightnessDown(
26 const ui::Accelerator& accelerator) OVERRIDE; 26 const ui::Accelerator& accelerator) override;
27 virtual bool HandleBrightnessUp(const ui::Accelerator& accelerator) OVERRIDE; 27 virtual bool HandleBrightnessUp(const ui::Accelerator& accelerator) override;
28 virtual void SetBrightnessPercent(double percent, bool gradual) OVERRIDE; 28 virtual void SetBrightnessPercent(double percent, bool gradual) override;
29 virtual void GetBrightnessPercent( 29 virtual void GetBrightnessPercent(
30 const base::Callback<void(double)>& callback) OVERRIDE; 30 const base::Callback<void(double)>& callback) override;
31 31
32 private: 32 private:
33 DISALLOW_COPY_AND_ASSIGN(BrightnessControllerChromeos); 33 DISALLOW_COPY_AND_ASSIGN(BrightnessControllerChromeos);
34 }; 34 };
35 35
36 } // namespace system 36 } // namespace system
37 } // namespace ash 37 } // namespace ash
38 38
39 #endif // ASH_SYSTEM_CHROMEOS_BRIGHTNESS_BRIGHTNESS_CONTROLLER_CHROMEOS_H_ 39 #endif // ASH_SYSTEM_CHROMEOS_BRIGHTNESS_BRIGHTNESS_CONTROLLER_CHROMEOS_H_
OLDNEW
« no previous file with comments | « ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc ('k') | ash/system/chromeos/brightness/tray_brightness.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698