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

Unified Diff: ui/aura/test/event_generator_delegate_aura.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/test/event_generator_delegate_aura.h ('k') | ui/aura/test/test_cursor_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/event_generator_delegate_aura.cc
diff --git a/ui/aura/test/event_generator_delegate_aura.cc b/ui/aura/test/event_generator_delegate_aura.cc
index 576cc8e184d4e21d0f34b0b2c02053f8317eaeb5..f1158dab8fc8352ca3016790942c7ca5884dbd26 100644
--- a/ui/aura/test/event_generator_delegate_aura.cc
+++ b/ui/aura/test/event_generator_delegate_aura.cc
@@ -20,18 +20,18 @@ class DefaultEventGeneratorDelegate : public EventGeneratorDelegateAura {
}
// EventGeneratorDelegate:
- virtual void SetContext(ui::test::EventGenerator* owner,
- gfx::NativeWindow root_window,
- gfx::NativeWindow window) override {
+ void SetContext(ui::test::EventGenerator* owner,
+ gfx::NativeWindow root_window,
+ gfx::NativeWindow window) override {
root_window_ = root_window;
}
// EventGeneratorDelegateAura:
- virtual WindowTreeHost* GetHostAt(const gfx::Point& point) const override {
+ WindowTreeHost* GetHostAt(const gfx::Point& point) const override {
return root_window_->GetHost();
}
- virtual client::ScreenPositionClient* GetScreenPositionClient(
+ client::ScreenPositionClient* GetScreenPositionClient(
const aura::Window* window) const override {
return NULL;
}
@@ -44,7 +44,7 @@ class DefaultEventGeneratorDelegate : public EventGeneratorDelegateAura {
ui::test::EventGenerator::default_delegate = this;
}
- virtual ~DefaultEventGeneratorDelegate() {
+ ~DefaultEventGeneratorDelegate() override {
DCHECK_EQ(this, ui::test::EventGenerator::default_delegate);
ui::test::EventGenerator::default_delegate = NULL;
}
« no previous file with comments | « ui/aura/test/event_generator_delegate_aura.h ('k') | ui/aura/test/test_cursor_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698