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

Unified Diff: ash/common/system/tray/default_system_tray_delegate.cc

Issue 2761993002: cros: Eliminate bluetooth methods from SystemTrayDelegate (Closed)
Patch Set: review comments Created 3 years, 9 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/common/system/tray/default_system_tray_delegate.cc
diff --git a/ash/common/system/tray/default_system_tray_delegate.cc b/ash/common/system/tray/default_system_tray_delegate.cc
index 91f3a3306ce8a16773c13260e63d1e63d3587bfe..cfd33501288e66c5982087ac3cae913b3a4f2e7e 100644
--- a/ash/common/system/tray/default_system_tray_delegate.cc
+++ b/ash/common/system/tray/default_system_tray_delegate.cc
@@ -8,8 +8,7 @@
namespace ash {
-DefaultSystemTrayDelegate::DefaultSystemTrayDelegate()
- : bluetooth_enabled_(true) {}
+DefaultSystemTrayDelegate::DefaultSystemTrayDelegate() {}
DefaultSystemTrayDelegate::~DefaultSystemTrayDelegate() {}
@@ -35,26 +34,6 @@ bool DefaultSystemTrayDelegate::ShouldShowNotificationTray() const {
return true;
}
-void DefaultSystemTrayDelegate::ToggleBluetooth() {
- bluetooth_enabled_ = !bluetooth_enabled_;
-}
-
-bool DefaultSystemTrayDelegate::IsBluetoothDiscovering() const {
- return false;
-}
-
-bool DefaultSystemTrayDelegate::GetBluetoothAvailable() {
- return true;
-}
-
-bool DefaultSystemTrayDelegate::GetBluetoothEnabled() {
- return bluetooth_enabled_;
-}
-
-bool DefaultSystemTrayDelegate::GetBluetoothDiscovering() {
- return false;
-}
-
int DefaultSystemTrayDelegate::GetSystemTrayMenuWidth() {
// This is the default width for English languages.
return 300;
« no previous file with comments | « ash/common/system/tray/default_system_tray_delegate.h ('k') | ash/common/system/tray/system_tray_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698