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

Unified Diff: ui/aura/window_targeter_unittest.cc

Issue 684483002: 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/aura/window_targeter.h ('k') | ui/aura/window_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_targeter_unittest.cc
diff --git a/ui/aura/window_targeter_unittest.cc b/ui/aura/window_targeter_unittest.cc
index 847f56778035105e4ac80593de1d67479c7c548b..922b021117f8bf54114a8d5613b73c67ffdcb690 100644
--- a/ui/aura/window_targeter_unittest.cc
+++ b/ui/aura/window_targeter_unittest.cc
@@ -17,13 +17,12 @@ class StaticWindowTargeter : public ui::EventTargeter {
public:
explicit StaticWindowTargeter(aura::Window* window)
: window_(window) {}
- virtual ~StaticWindowTargeter() {}
+ ~StaticWindowTargeter() override {}
private:
// ui::EventTargeter:
- virtual ui::EventTarget* FindTargetForLocatedEvent(
- ui::EventTarget* root,
- ui::LocatedEvent* event) override {
+ ui::EventTarget* FindTargetForLocatedEvent(ui::EventTarget* root,
+ ui::LocatedEvent* event) override {
return window_;
}
@@ -35,7 +34,7 @@ class StaticWindowTargeter : public ui::EventTargeter {
class WindowTargeterTest : public test::AuraTestBase {
public:
WindowTargeterTest() {}
- virtual ~WindowTargeterTest() {}
+ ~WindowTargeterTest() override {}
Window* root_window() { return AuraTestBase::root_window(); }
};
« no previous file with comments | « ui/aura/window_targeter.h ('k') | ui/aura/window_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698