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

Side by Side Diff: ash/system/tray/default_system_tray_delegate.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/actionable_view.h ('k') | ash/system/tray/fixed_sized_image_view.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/default_system_tray_delegate.h" 5 #include "ash/system/tray/default_system_tray_delegate.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "ash/session/session_state_delegate.h" 9 #include "ash/session/session_state_delegate.h"
10 #include "ash/shell.h" 10 #include "ash/shell.h"
11 #include "ash/volume_control_delegate.h" 11 #include "ash/volume_control_delegate.h"
12 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 14
15 namespace ash { 15 namespace ash {
16 16
17 namespace { 17 namespace {
18 18
19 class DefaultVolumnControlDelegate : public VolumeControlDelegate { 19 class DefaultVolumnControlDelegate : public VolumeControlDelegate {
20 public: 20 public:
21 DefaultVolumnControlDelegate() {} 21 DefaultVolumnControlDelegate() {}
22 virtual ~DefaultVolumnControlDelegate() {} 22 ~DefaultVolumnControlDelegate() override {}
23 23
24 virtual bool HandleVolumeMute(const ui::Accelerator& accelerator) override { 24 bool HandleVolumeMute(const ui::Accelerator& accelerator) override {
25 return true; 25 return true;
26 } 26 }
27 virtual bool HandleVolumeDown(const ui::Accelerator& accelerator) override { 27 bool HandleVolumeDown(const ui::Accelerator& accelerator) override {
28 return true; 28 return true;
29 } 29 }
30 virtual bool HandleVolumeUp(const ui::Accelerator& accelerator) override { 30 bool HandleVolumeUp(const ui::Accelerator& accelerator) override {
31 return true; 31 return true;
32 } 32 }
33 33
34 private: 34 private:
35 DISALLOW_COPY_AND_ASSIGN(DefaultVolumnControlDelegate); 35 DISALLOW_COPY_AND_ASSIGN(DefaultVolumnControlDelegate);
36 }; 36 };
37 37
38 } // namespace 38 } // namespace
39 39
40 DefaultSystemTrayDelegate::DefaultSystemTrayDelegate() 40 DefaultSystemTrayDelegate::DefaultSystemTrayDelegate()
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 280
281 void DefaultSystemTrayDelegate::AddCustodianInfoTrayObserver( 281 void DefaultSystemTrayDelegate::AddCustodianInfoTrayObserver(
282 CustodianInfoTrayObserver* observer) { 282 CustodianInfoTrayObserver* observer) {
283 } 283 }
284 284
285 void DefaultSystemTrayDelegate::RemoveCustodianInfoTrayObserver( 285 void DefaultSystemTrayDelegate::RemoveCustodianInfoTrayObserver(
286 CustodianInfoTrayObserver* observer) { 286 CustodianInfoTrayObserver* observer) {
287 } 287 }
288 288
289 } // namespace ash 289 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/actionable_view.h ('k') | ash/system/tray/fixed_sized_image_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698