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

Unified Diff: ui/events/x/device_data_manager_x11_unittest.cc

Issue 683553002: 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/events/x/device_data_manager_x11.h ('k') | ui/events/x/events_x_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/x/device_data_manager_x11_unittest.cc
diff --git a/ui/events/x/device_data_manager_x11_unittest.cc b/ui/events/x/device_data_manager_x11_unittest.cc
index 08254ea91fd2b12189ffe6f19a69ec7fb8cb950b..3376d5b875850a211b5b7b5ea8dd62035e4b13ae 100644
--- a/ui/events/x/device_data_manager_x11_unittest.cc
+++ b/ui/events/x/device_data_manager_x11_unittest.cc
@@ -29,14 +29,14 @@ class TestInputDeviceObserver : public InputDeviceEventObserver {
manager_->AddObserver(this);
}
- virtual ~TestInputDeviceObserver() {
+ ~TestInputDeviceObserver() override {
if (manager_)
manager_->RemoveObserver(this);
}
// InputDeviceEventObserver implementation.
- virtual void OnTouchscreenDeviceConfigurationChanged() override {}
- virtual void OnKeyboardDeviceConfigurationChanged() override {
+ void OnTouchscreenDeviceConfigurationChanged() override {}
+ void OnKeyboardDeviceConfigurationChanged() override {
change_notified_ = true;
}
@@ -55,11 +55,11 @@ class TestInputDeviceObserver : public InputDeviceEventObserver {
class DeviceDataManagerX11Test : public testing::Test {
public:
DeviceDataManagerX11Test() {}
- virtual ~DeviceDataManagerX11Test() {}
+ ~DeviceDataManagerX11Test() override {}
- virtual void SetUp() override { DeviceDataManagerX11::CreateInstance(); }
+ void SetUp() override { DeviceDataManagerX11::CreateInstance(); }
- virtual void TearDown() override {
+ void TearDown() override {
SetKeyboardDevices(std::vector<KeyboardDevice>());
}
« no previous file with comments | « ui/events/x/device_data_manager_x11.h ('k') | ui/events/x/events_x_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698