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

Unified Diff: ui/views/bubble/bubble_delegate_unittest.cc

Issue 677413004: 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/bubble/bubble_delegate.h ('k') | ui/views/bubble/bubble_frame_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/bubble/bubble_delegate_unittest.cc
diff --git a/ui/views/bubble/bubble_delegate_unittest.cc b/ui/views/bubble/bubble_delegate_unittest.cc
index c793f54b2b131b91272a49b9aa70390c729239f8..782c9e79d30ef6f495a06cdf1c8b30c7f03badbd 100644
--- a/ui/views/bubble/bubble_delegate_unittest.cc
+++ b/ui/views/bubble/bubble_delegate_unittest.cc
@@ -22,7 +22,7 @@ class TestBubbleDelegateView : public BubbleDelegateView {
view_->SetFocusable(true);
AddChildView(view_);
}
- virtual ~TestBubbleDelegateView() {}
+ ~TestBubbleDelegateView() override {}
void SetAnchorRectForTest(gfx::Rect rect) {
SetAnchorRect(rect);
@@ -33,10 +33,8 @@ class TestBubbleDelegateView : public BubbleDelegateView {
}
// BubbleDelegateView overrides:
- virtual View* GetInitiallyFocusedView() override { return view_; }
- virtual gfx::Size GetPreferredSize() const override {
- return gfx::Size(200, 200);
- }
+ View* GetInitiallyFocusedView() override { return view_; }
+ gfx::Size GetPreferredSize() const override { return gfx::Size(200, 200); }
private:
View* view_;
@@ -47,7 +45,7 @@ class TestBubbleDelegateView : public BubbleDelegateView {
class BubbleDelegateTest : public ViewsTestBase {
public:
BubbleDelegateTest() {}
- virtual ~BubbleDelegateTest() {}
+ ~BubbleDelegateTest() override {}
// Creates a test widget that owns its native widget.
Widget* CreateTestWidget() {
« no previous file with comments | « ui/views/bubble/bubble_delegate.h ('k') | ui/views/bubble/bubble_frame_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698