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

Side by Side Diff: ash/system/tray/tray_empty.cc

Issue 685483004: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « ash/system/tray/tray_empty.h ('k') | ash/system/tray/tray_event_filter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/system/tray/tray_empty.h" 5 #include "ash/system/tray/tray_empty.h"
6 6
7 #include "ui/views/layout/box_layout.h" 7 #include "ui/views/layout/box_layout.h"
8 #include "ui/views/background.h" 8 #include "ui/views/background.h"
9 #include "ui/views/border.h" 9 #include "ui/views/border.h"
10 #include "ui/views/view.h" 10 #include "ui/views/view.h"
11 11
12 namespace { 12 namespace {
13 13
14 class EmptyBackground : public views::Background { 14 class EmptyBackground : public views::Background {
15 public: 15 public:
16 EmptyBackground() {} 16 EmptyBackground() {}
17 virtual ~EmptyBackground() {} 17 ~EmptyBackground() override {}
18 18
19 private: 19 private:
20 virtual void Paint(gfx::Canvas* canvas, views::View* view) const override { 20 void Paint(gfx::Canvas* canvas, views::View* view) const override {}
21 }
22 21
23 DISALLOW_COPY_AND_ASSIGN(EmptyBackground); 22 DISALLOW_COPY_AND_ASSIGN(EmptyBackground);
24 }; 23 };
25 24
26 } 25 }
27 26
28 namespace ash { 27 namespace ash {
29 28
30 TrayEmpty::TrayEmpty(SystemTray* system_tray) 29 TrayEmpty::TrayEmpty(SystemTray* system_tray)
31 : SystemTrayItem(system_tray) { 30 : SystemTrayItem(system_tray) {
(...skipping 25 matching lines...) Expand all
57 56
58 void TrayEmpty::DestroyTrayView() {} 57 void TrayEmpty::DestroyTrayView() {}
59 58
60 void TrayEmpty::DestroyDefaultView() {} 59 void TrayEmpty::DestroyDefaultView() {}
61 60
62 void TrayEmpty::DestroyDetailedView() {} 61 void TrayEmpty::DestroyDetailedView() {}
63 62
64 void TrayEmpty::UpdateAfterLoginStatusChange(user::LoginStatus status) {} 63 void TrayEmpty::UpdateAfterLoginStatusChange(user::LoginStatus status) {}
65 64
66 } // namespace ash 65 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/tray_empty.h ('k') | ash/system/tray/tray_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698