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

Side by Side Diff: ash/common/system/tray/default_system_tray_delegate.cc

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 unified diff | Download patch
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/common/system/tray/default_system_tray_delegate.h" 5 #include "ash/common/system/tray/default_system_tray_delegate.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 9
10 #include "ash/common/system/networking_config_delegate.h" 10 #include "ash/common/system/networking_config_delegate.h"
11 #include "ash/common/system/volume_control_delegate.h" 11 #include "ash/common/system/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 DefaultSystemTrayDelegate::DefaultSystemTrayDelegate() 17 DefaultSystemTrayDelegate::DefaultSystemTrayDelegate()
18 : bluetooth_enabled_(true) { 18 : bluetooth_enabled_(true) {}
19 }
20 19
21 DefaultSystemTrayDelegate::~DefaultSystemTrayDelegate() { 20 DefaultSystemTrayDelegate::~DefaultSystemTrayDelegate() {}
22 }
23 21
24 bool DefaultSystemTrayDelegate::GetTrayVisibilityOnStartup() { 22 bool DefaultSystemTrayDelegate::GetTrayVisibilityOnStartup() {
25 return true; 23 return true;
26 } 24 }
27 25
28 LoginStatus DefaultSystemTrayDelegate::GetUserLoginStatus() const { 26 LoginStatus DefaultSystemTrayDelegate::GetUserLoginStatus() const {
29 return LoginStatus::USER; 27 return LoginStatus::USER;
30 } 28 }
31 29
32 std::string DefaultSystemTrayDelegate::GetSupervisedUserManager() const { 30 std::string DefaultSystemTrayDelegate::GetSupervisedUserManager() const {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 std::unique_ptr<VolumeControlDelegate> delegate) { 81 std::unique_ptr<VolumeControlDelegate> delegate) {
84 volume_control_delegate_ = std::move(delegate); 82 volume_control_delegate_ = std::move(delegate);
85 } 83 }
86 84
87 int DefaultSystemTrayDelegate::GetSystemTrayMenuWidth() { 85 int DefaultSystemTrayDelegate::GetSystemTrayMenuWidth() {
88 // This is the default width for English languages. 86 // This is the default width for English languages.
89 return 300; 87 return 300;
90 } 88 }
91 89
92 } // namespace ash 90 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/system/tray/actionable_view.cc ('k') | ash/common/system/tray/fixed_sized_image_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698