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

Side by Side Diff: ash/touch/touch_transformer_controller.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
« no previous file with comments | « ash/touch/touch_observer_hud_unittest.cc ('k') | ash/touch/touchscreen_util_unittest.cc » ('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 ASH_TOUCH_TOUCH_TRANSFORMER_CONTROLLER_H_ 5 #ifndef ASH_TOUCH_TOUCH_TRANSFORMER_CONTROLLER_H_
6 #define ASH_TOUCH_TOUCH_TRANSFORMER_CONTROLLER_H_ 6 #define ASH_TOUCH_TOUCH_TRANSFORMER_CONTROLLER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/display/display_controller.h" 9 #include "ash/display/display_controller.h"
10 #include "ui/gfx/transform.h" 10 #include "ui/gfx/transform.h"
11 11
12 namespace ash { 12 namespace ash {
13 13
14 // TouchTransformerController listens to display configuration change 14 // TouchTransformerController listens to display configuration change
15 // and updates the touch transformation for touch displays. 15 // and updates the touch transformation for touch displays.
16 class ASH_EXPORT TouchTransformerController 16 class ASH_EXPORT TouchTransformerController
17 : public DisplayController::Observer { 17 : public DisplayController::Observer {
18 public: 18 public:
19 TouchTransformerController(); 19 TouchTransformerController();
20 virtual ~TouchTransformerController(); 20 virtual ~TouchTransformerController();
21 21
22 // Updates the TouchTransformer for touch device and pushes the new 22 // Updates the TouchTransformer for touch device and pushes the new
23 // TouchTransformer into device manager. 23 // TouchTransformer into device manager.
24 void UpdateTouchTransformer() const; 24 void UpdateTouchTransformer() const;
25 25
26 // DisplayController::Observer: 26 // DisplayController::Observer:
27 virtual void OnDisplaysInitialized() OVERRIDE; 27 virtual void OnDisplaysInitialized() override;
28 virtual void OnDisplayConfigurationChanged() OVERRIDE; 28 virtual void OnDisplayConfigurationChanged() override;
29 29
30 private: 30 private:
31 FRIEND_TEST_ALL_PREFIXES(TouchTransformerControllerTest, 31 FRIEND_TEST_ALL_PREFIXES(TouchTransformerControllerTest,
32 TouchTransformerMirrorModeLetterboxing); 32 TouchTransformerMirrorModeLetterboxing);
33 FRIEND_TEST_ALL_PREFIXES(TouchTransformerControllerTest, 33 FRIEND_TEST_ALL_PREFIXES(TouchTransformerControllerTest,
34 TouchTransformerMirrorModePillarboxing); 34 TouchTransformerMirrorModePillarboxing);
35 FRIEND_TEST_ALL_PREFIXES(TouchTransformerControllerTest, 35 FRIEND_TEST_ALL_PREFIXES(TouchTransformerControllerTest,
36 TouchTransformerExtendedMode); 36 TouchTransformerExtendedMode);
37 FRIEND_TEST_ALL_PREFIXES(TouchTransformerControllerTest, 37 FRIEND_TEST_ALL_PREFIXES(TouchTransformerControllerTest,
38 TouchRadiusScale); 38 TouchRadiusScale);
(...skipping 11 matching lines...) Expand all
50 50
51 // For unittests only. 51 // For unittests only.
52 bool force_compute_mirror_mode_touch_transformer_; 52 bool force_compute_mirror_mode_touch_transformer_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(TouchTransformerController); 54 DISALLOW_COPY_AND_ASSIGN(TouchTransformerController);
55 }; 55 };
56 56
57 } // namespace ash 57 } // namespace ash
58 58
59 #endif // ASH_TOUCH_TOUCH_TRANSFORMER_CONTROLLER_H_ 59 #endif // ASH_TOUCH_TOUCH_TRANSFORMER_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/touch/touch_observer_hud_unittest.cc ('k') | ash/touch/touchscreen_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698