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

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

Issue 2468113008: Revert of chromeos: Move ownership of system tray width from chrome to ash (Closed)
Patch Set: Created 4 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
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"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 } 56 }
57 57
58 bool DefaultSystemTrayDelegate::GetBluetoothEnabled() { 58 bool DefaultSystemTrayDelegate::GetBluetoothEnabled() {
59 return bluetooth_enabled_; 59 return bluetooth_enabled_;
60 } 60 }
61 61
62 bool DefaultSystemTrayDelegate::GetBluetoothDiscovering() { 62 bool DefaultSystemTrayDelegate::GetBluetoothDiscovering() {
63 return false; 63 return false;
64 } 64 }
65 65
66 int DefaultSystemTrayDelegate::GetSystemTrayMenuWidth() {
67 // This is the default width for English languages.
68 return 300;
69 }
70
66 } // namespace ash 71 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/system/tray/default_system_tray_delegate.h ('k') | ash/common/system/tray/system_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698