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

Unified Diff: ash/ime/candidate_view_unittest.cc

Issue 680153002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix formatting 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/ime/candidate_view.cc ('k') | ash/ime/candidate_window_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/ime/candidate_view_unittest.cc
diff --git a/ash/ime/candidate_view_unittest.cc b/ash/ime/candidate_view_unittest.cc
index a7396eb55635fbb4ce72fe6f81e8558d4139e999..5b6feaa1fa95e718ae74058dd248b9091571d330 100644
--- a/ash/ime/candidate_view_unittest.cc
+++ b/ash/ime/candidate_view_unittest.cc
@@ -30,9 +30,9 @@ class CandidateViewTest : public views::ViewsTestBase,
public views::ButtonListener {
public:
CandidateViewTest() : widget_(NULL), last_pressed_(NULL) {}
- virtual ~CandidateViewTest() {}
+ ~CandidateViewTest() override {}
- virtual void SetUp() override {
+ void SetUp() override {
views::ViewsTestBase::SetUp();
views::Widget::InitParams init_params(CreateParams(
@@ -61,7 +61,7 @@ class CandidateViewTest : public views::ViewsTestBase,
native_window->GetRootWindow(), native_window));
}
- virtual void TearDown() override {
+ void TearDown() override {
widget_->Close();
views::ViewsTestBase::TearDown();
@@ -100,8 +100,7 @@ class CandidateViewTest : public views::ViewsTestBase,
ui::test::EventGenerator* event_generator() { return event_generator_.get(); }
private:
- virtual void ButtonPressed(views::Button* sender,
- const ui::Event& event) override {
+ void ButtonPressed(views::Button* sender, const ui::Event& event) override {
last_pressed_ = sender;
}
« no previous file with comments | « ash/ime/candidate_view.cc ('k') | ash/ime/candidate_window_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698