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

Side by Side Diff: athena/system/orientation_controller.h

Issue 623103002: replace OVERRIDE and FINAL with override and final in athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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
« no previous file with comments | « athena/system/network_selector.cc ('k') | athena/system/power_button_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 ATHENA_SYSTEM_ORIENTATION_CONTROLLER_H_ 5 #ifndef ATHENA_SYSTEM_ORIENTATION_CONTROLLER_H_
6 #define ATHENA_SYSTEM_ORIENTATION_CONTROLLER_H_ 6 #define ATHENA_SYSTEM_ORIENTATION_CONTROLLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 13 matching lines...) Expand all
24 : public chromeos::AccelerometerReader::Delegate { 24 : public chromeos::AccelerometerReader::Delegate {
25 public: 25 public:
26 OrientationController(); 26 OrientationController();
27 virtual ~OrientationController(); 27 virtual ~OrientationController();
28 28
29 void InitWith(scoped_refptr<base::TaskRunner> blocking_task_runner); 29 void InitWith(scoped_refptr<base::TaskRunner> blocking_task_runner);
30 void Shutdown(); 30 void Shutdown();
31 31
32 // chromeos::AccelerometerReader::Delegate 32 // chromeos::AccelerometerReader::Delegate
33 virtual void HandleAccelerometerUpdate( 33 virtual void HandleAccelerometerUpdate(
34 const ui::AccelerometerUpdate& update) OVERRIDE; 34 const ui::AccelerometerUpdate& update) override;
35 35
36 private: 36 private:
37 // The last configured rotation. 37 // The last configured rotation.
38 gfx::Display::Rotation current_rotation_; 38 gfx::Display::Rotation current_rotation_;
39 39
40 scoped_ptr<chromeos::AccelerometerReader> accelerometer_reader_; 40 scoped_ptr<chromeos::AccelerometerReader> accelerometer_reader_;
41 41
42 DISALLOW_COPY_AND_ASSIGN(OrientationController); 42 DISALLOW_COPY_AND_ASSIGN(OrientationController);
43 }; 43 };
44 44
45 } // namespace athena 45 } // namespace athena
46 46
47 #endif // ATHENA_SYSTEM_ORIENTATION_CONTROLLER_H_ 47 #endif // ATHENA_SYSTEM_ORIENTATION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « athena/system/network_selector.cc ('k') | athena/system/power_button_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698