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

Unified Diff: ash/system/bluetooth/tray_bluetooth.cc

Issue 683473005: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 | « ash/system/bluetooth/tray_bluetooth.h ('k') | ash/system/chromeos/tray_tracing.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/bluetooth/tray_bluetooth.cc
diff --git a/ash/system/bluetooth/tray_bluetooth.cc b/ash/system/bluetooth/tray_bluetooth.cc
index 933d9f3a49c17327a84ff6ed8514f2bf8003015b..f73b52e6a77c942410cdd74bee1eb425e6394c8b 100644
--- a/ash/system/bluetooth/tray_bluetooth.cc
+++ b/ash/system/bluetooth/tray_bluetooth.cc
@@ -71,7 +71,7 @@ class BluetoothDefaultView : public TrayItemMore {
UpdateLabel();
}
- virtual ~BluetoothDefaultView() {}
+ ~BluetoothDefaultView() override {}
void UpdateLabel() {
ash::SystemTrayDelegate* delegate =
@@ -107,7 +107,7 @@ class BluetoothDetailedView : public TrayDetailsView,
CreateItems();
}
- virtual ~BluetoothDetailedView() {
+ ~BluetoothDetailedView() override {
// Stop discovering bluetooth devices when exiting BT detailed view.
BluetoothStopDiscovering();
}
@@ -357,7 +357,7 @@ class BluetoothDetailedView : public TrayDetailsView,
}
// Overridden from ViewClickListener.
- virtual void OnViewClicked(views::View* sender) override {
+ void OnViewClicked(views::View* sender) override {
ash::SystemTrayDelegate* delegate =
ash::Shell::GetInstance()->system_tray_delegate();
if (sender == footer()->content()) {
@@ -386,8 +386,7 @@ class BluetoothDetailedView : public TrayDetailsView,
}
// Overridden from ButtonListener.
- virtual void ButtonPressed(views::Button* sender,
- const ui::Event& event) override {
+ void ButtonPressed(views::Button* sender, const ui::Event& event) override {
ash::SystemTrayDelegate* delegate =
ash::Shell::GetInstance()->system_tray_delegate();
if (sender == toggle_bluetooth_)
« no previous file with comments | « ash/system/bluetooth/tray_bluetooth.h ('k') | ash/system/chromeos/tray_tracing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698