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

Unified Diff: ash/system/chromeos/bluetooth/tray_bluetooth.h

Issue 2108403004: mash: Move several chromeos system tray items to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@audio
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
Index: ash/system/chromeos/bluetooth/tray_bluetooth.h
diff --git a/ash/system/chromeos/bluetooth/tray_bluetooth.h b/ash/system/chromeos/bluetooth/tray_bluetooth.h
deleted file mode 100644
index a0a673a377f18f9b8be85dc91225b5e68167bd52..0000000000000000000000000000000000000000
--- a/ash/system/chromeos/bluetooth/tray_bluetooth.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_SYSTEM_CHROMEOS_BLUETOOTH_TRAY_BLUETOOTH_H_
-#define ASH_SYSTEM_CHROMEOS_BLUETOOTH_TRAY_BLUETOOTH_H_
-
-#include "ash/common/system/chromeos/bluetooth/bluetooth_observer.h"
-#include "ash/common/system/tray/system_tray_item.h"
-#include "base/macros.h"
-
-namespace ash {
-namespace tray {
-class BluetoothDefaultView;
-class BluetoothDetailedView;
-}
-
-class TrayBluetooth : public SystemTrayItem, public BluetoothObserver {
- public:
- explicit TrayBluetooth(SystemTray* system_tray);
- ~TrayBluetooth() override;
-
- private:
- // Overridden from SystemTrayItem.
- views::View* CreateTrayView(LoginStatus status) override;
- views::View* CreateDefaultView(LoginStatus status) override;
- views::View* CreateDetailedView(LoginStatus status) override;
- void DestroyTrayView() override;
- void DestroyDefaultView() override;
- void DestroyDetailedView() override;
- void UpdateAfterLoginStatusChange(LoginStatus status) override;
-
- // Overridden from BluetoothObserver.
- void OnBluetoothRefresh() override;
- void OnBluetoothDiscoveringChanged() override;
-
- tray::BluetoothDefaultView* default_;
- tray::BluetoothDetailedView* detailed_;
-
- DISALLOW_COPY_AND_ASSIGN(TrayBluetooth);
-};
-
-} // namespace ash
-
-#endif // ASH_SYSTEM_CHROMEOS_BLUETOOTH_TRAY_BLUETOOTH_H_
« no previous file with comments | « ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc ('k') | ash/system/chromeos/bluetooth/tray_bluetooth.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698