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

Side by Side Diff: ash/touch/touch_observer_hud.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_hud_projection.cc ('k') | ash/touch/touch_observer_hud_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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_OBSERVER_HUD_H_ 5 #ifndef ASH_TOUCH_TOUCH_OBSERVER_HUD_H_
6 #define ASH_TOUCH_TOUCH_OBSERVER_HUD_H_ 6 #define ASH_TOUCH_TOUCH_OBSERVER_HUD_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/events/event_handler.h" 10 #include "ui/events/event_handler.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 virtual ~TouchObserverHUD(); 46 virtual ~TouchObserverHUD();
47 47
48 virtual void SetHudForRootWindowController( 48 virtual void SetHudForRootWindowController(
49 RootWindowController* controller) = 0; 49 RootWindowController* controller) = 0;
50 virtual void UnsetHudForRootWindowController( 50 virtual void UnsetHudForRootWindowController(
51 RootWindowController* controller) = 0; 51 RootWindowController* controller) = 0;
52 52
53 views::Widget* widget() { return widget_; } 53 views::Widget* widget() { return widget_; }
54 54
55 // Overriden from ui::EventHandler. 55 // Overriden from ui::EventHandler.
56 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; 56 virtual void OnTouchEvent(ui::TouchEvent* event) override;
57 57
58 // Overridden from views::WidgetObserver. 58 // Overridden from views::WidgetObserver.
59 virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE; 59 virtual void OnWidgetDestroying(views::Widget* widget) override;
60 60
61 // Overridden from gfx::DisplayObserver. 61 // Overridden from gfx::DisplayObserver.
62 virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; 62 virtual void OnDisplayAdded(const gfx::Display& new_display) override;
63 virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; 63 virtual void OnDisplayRemoved(const gfx::Display& old_display) override;
64 virtual void OnDisplayMetricsChanged(const gfx::Display& display, 64 virtual void OnDisplayMetricsChanged(const gfx::Display& display,
65 uint32_t metrics) OVERRIDE; 65 uint32_t metrics) override;
66 66
67 #if defined(OS_CHROMEOS) 67 #if defined(OS_CHROMEOS)
68 // Overriden from ui::DisplayConfigurator::Observer. 68 // Overriden from ui::DisplayConfigurator::Observer.
69 virtual void OnDisplayModeChanged( 69 virtual void OnDisplayModeChanged(
70 const ui::DisplayConfigurator::DisplayStateList& outputs) OVERRIDE; 70 const ui::DisplayConfigurator::DisplayStateList& outputs) override;
71 #endif // defined(OS_CHROMEOS) 71 #endif // defined(OS_CHROMEOS)
72 72
73 // Overriden form DisplayController::Observer. 73 // Overriden form DisplayController::Observer.
74 virtual void OnDisplaysInitialized() OVERRIDE; 74 virtual void OnDisplaysInitialized() override;
75 virtual void OnDisplayConfigurationChanging() OVERRIDE; 75 virtual void OnDisplayConfigurationChanging() override;
76 virtual void OnDisplayConfigurationChanged() OVERRIDE; 76 virtual void OnDisplayConfigurationChanged() override;
77 77
78 private: 78 private:
79 friend class TouchHudTestBase; 79 friend class TouchHudTestBase;
80 80
81 const int64 display_id_; 81 const int64 display_id_;
82 aura::Window* root_window_; 82 aura::Window* root_window_;
83 83
84 views::Widget* widget_; 84 views::Widget* widget_;
85 85
86 DISALLOW_COPY_AND_ASSIGN(TouchObserverHUD); 86 DISALLOW_COPY_AND_ASSIGN(TouchObserverHUD);
87 }; 87 };
88 88
89 } // namespace ash 89 } // namespace ash
90 90
91 #endif // ASH_TOUCH_TOUCH_OBSERVER_HUD_H_ 91 #endif // ASH_TOUCH_TOUCH_OBSERVER_HUD_H_
OLDNEW
« no previous file with comments | « ash/touch/touch_hud_projection.cc ('k') | ash/touch/touch_observer_hud_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698