| Index: ash/system/bluetooth/tray_bluetooth.h
|
| diff --git a/ash/system/bluetooth/tray_bluetooth.h b/ash/system/bluetooth/tray_bluetooth.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7aab9c53efde5d8890b7ad666986108843679826
|
| --- /dev/null
|
| +++ b/ash/system/bluetooth/tray_bluetooth.h
|
| @@ -0,0 +1,39 @@
|
| +// 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_BLUETOOTH_TRAY_BLUETOOTH_H_
|
| +#define ASH_SYSTEM_BLUETOOTH_TRAY_BLUETOOTH_H_
|
| +#pragma once
|
| +
|
| +#include "ash/system/bluetooth/bluetooth_observer.h"
|
| +#include "ash/system/tray/system_tray_item.h"
|
| +
|
| +namespace ash {
|
| +namespace internal {
|
| +
|
| +class TrayBluetooth : public SystemTrayItem,
|
| + public BluetoothObserver {
|
| + public:
|
| + TrayBluetooth();
|
| + virtual ~TrayBluetooth();
|
| +
|
| + private:
|
| + // Overridden from SystemTrayItem.
|
| + virtual views::View* CreateTrayView(user::LoginStatus status) OVERRIDE;
|
| + virtual views::View* CreateDefaultView(user::LoginStatus status) OVERRIDE;
|
| + virtual views::View* CreateDetailedView(user::LoginStatus status) OVERRIDE;
|
| + virtual void DestroyTrayView() OVERRIDE;
|
| + virtual void DestroyDefaultView() OVERRIDE;
|
| + virtual void DestroyDetailedView() OVERRIDE;
|
| +
|
| + // Overridden from BluetoothObserver.
|
| + virtual void OnBluetoothRefresh() OVERRIDE;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(TrayBluetooth);
|
| +};
|
| +
|
| +} // namespace internal
|
| +} // namespace ash
|
| +
|
| +#endif // ASH_SYSTEM_BLUETOOTH_TRAY_BLUETOOTH_H_
|
|
|