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

Unified Diff: ui/views/mouse_watcher_aura.cc

Issue 679233002: Standardize usage of virtual/override/final specifiers. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/masked_targeter_delegate.h ('k') | ui/views/mouse_watcher_view_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mouse_watcher_aura.cc
diff --git a/ui/views/mouse_watcher_aura.cc b/ui/views/mouse_watcher_aura.cc
index 6fa463bdb19cb43b211f589d1d39f5519452d571..03e05b625b13bba2fd4e489f55eab297ab80e722 100644
--- a/ui/views/mouse_watcher_aura.cc
+++ b/ui/views/mouse_watcher_aura.cc
@@ -31,12 +31,12 @@ class MouseWatcher::Observer : public ui::EventHandler {
aura::Env::GetInstance()->AddPreTargetHandler(this);
}
- virtual ~Observer() {
+ ~Observer() override {
aura::Env::GetInstance()->RemovePreTargetHandler(this);
}
// ui::EventHandler implementation:
- virtual void OnMouseEvent(ui::MouseEvent* event) override {
+ void OnMouseEvent(ui::MouseEvent* event) override {
switch (event->type()) {
case ui::ET_MOUSE_MOVED:
case ui::ET_MOUSE_DRAGGED:
« no previous file with comments | « ui/views/masked_targeter_delegate.h ('k') | ui/views/mouse_watcher_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698