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

Unified Diff: ash/frame/caption_buttons/frame_caption_button_container_view_unittest.cc

Issue 683593003: 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
Index: ash/frame/caption_buttons/frame_caption_button_container_view_unittest.cc
diff --git a/ash/frame/caption_buttons/frame_caption_button_container_view_unittest.cc b/ash/frame/caption_buttons/frame_caption_button_container_view_unittest.cc
index c30caff6777c96846c7e3443b053e743d28c8629..fe53880815e0b29192e0768eca5c9dcc58e87767 100644
--- a/ash/frame/caption_buttons/frame_caption_button_container_view_unittest.cc
+++ b/ash/frame/caption_buttons/frame_caption_button_container_view_unittest.cc
@@ -21,16 +21,11 @@ class TestWidgetDelegate : public views::WidgetDelegateView {
public:
TestWidgetDelegate(bool can_maximize, bool can_minimize)
: can_maximize_(can_maximize), can_minimize_(can_minimize) {}
- virtual ~TestWidgetDelegate() {
- }
+ ~TestWidgetDelegate() override {}
- virtual bool CanMaximize() const override {
- return can_maximize_;
- }
+ bool CanMaximize() const override { return can_maximize_; }
- virtual bool CanMinimize() const override {
- return can_minimize_;
- }
+ bool CanMinimize() const override { return can_minimize_; }
private:
bool can_maximize_;
@@ -56,8 +51,7 @@ class FrameCaptionButtonContainerViewTest : public ash::test::AshTestBase {
FrameCaptionButtonContainerViewTest() {
}
- virtual ~FrameCaptionButtonContainerViewTest() {
- }
+ ~FrameCaptionButtonContainerViewTest() override {}
// Creates a widget which allows maximizing based on |maximize_allowed|.
// The caller takes ownership of the returned widget.
« no previous file with comments | « ash/frame/caption_buttons/frame_caption_button_container_view.h ('k') | ash/frame/caption_buttons/frame_size_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698