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

Unified Diff: ui/views/controls/button/menu_button_unittest.cc

Issue 681753004: 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/controls/button/menu_button.h ('k') | ui/views/controls/button/radio_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/menu_button_unittest.cc
diff --git a/ui/views/controls/button/menu_button_unittest.cc b/ui/views/controls/button/menu_button_unittest.cc
index b75a55a75fd21a9cf98b33a66c8adb8c47a2d24f..21a72a64912e4a257da48fb701db57707660b659 100644
--- a/ui/views/controls/button/menu_button_unittest.cc
+++ b/ui/views/controls/button/menu_button_unittest.cc
@@ -25,7 +25,7 @@ namespace views {
class MenuButtonTest : public ViewsTestBase {
public:
MenuButtonTest() : widget_(nullptr), button_(nullptr) {}
- virtual ~MenuButtonTest() {}
+ ~MenuButtonTest() override {}
void TearDown() override {
if (widget_ && !widget_->IsClosed())
@@ -89,7 +89,7 @@ class TestButtonListener : public ButtonListener {
: last_sender_(nullptr),
last_sender_state_(Button::STATE_NORMAL),
last_event_type_(ui::ET_UNKNOWN) {}
- virtual ~TestButtonListener() {}
+ ~TestButtonListener() override {}
void ButtonPressed(Button* sender, const ui::Event& event) override {
last_sender_ = sender;
@@ -115,7 +115,7 @@ class TestMenuButtonListener : public MenuButtonListener {
public:
TestMenuButtonListener()
: last_source_(nullptr), last_source_state_(Button::STATE_NORMAL) {}
- virtual ~TestMenuButtonListener() {}
+ ~TestMenuButtonListener() override {}
void OnMenuButtonClicked(View* source, const gfx::Point& /*point*/) override {
last_source_ = source;
@@ -137,7 +137,7 @@ class TestMenuButtonListener : public MenuButtonListener {
class TestDragController : public DragController {
public:
TestDragController() {}
- virtual ~TestDragController() {}
+ ~TestDragController() override {}
void WriteDragDataForView(View* sender,
const gfx::Point& press_pt,
@@ -165,7 +165,7 @@ class TestDragDropClient : public aura::client::DragDropClient,
public ui::EventHandler {
public:
TestDragDropClient();
- virtual ~TestDragDropClient();
+ ~TestDragDropClient() override;
// aura::client::DragDropClient:
int StartDragAndDrop(const ui::OSExchangeData& data,
« no previous file with comments | « ui/views/controls/button/menu_button.h ('k') | ui/views/controls/button/radio_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698