#ifndef ASH_SYSTEM_CHROMEOS_SCREEN_SHARE_SCREEN_SHARE_TRAY_ITEM_H_
#define ASH_SYSTEM_CHROMEOS_SCREEN_SHARE_SCREEN_SHARE_TRAY_ITEM_H_
#include "ash/system/chromeos/screen_security/screen_share_observer.h"
#include "ash/system/chromeos/screen_security/screen_tray_item.h"
namespace views {
class View;
}
namespace ash {
class ASH_EXPORT ScreenShareTrayItem : public ScreenTrayItem,
public ScreenShareObserver {
public:
explicit ScreenShareTrayItem(SystemTray* system_tray);
virtual ~ScreenShareTrayItem();
private:
virtual views::View* CreateTrayView(user::LoginStatus status) OVERRIDE;
virtual views::View* CreateDefaultView(user::LoginStatus status) OVERRIDE;
virtual void CreateOrUpdateNotification() OVERRIDE;
virtual std::string GetNotificationId() OVERRIDE;
virtual void OnScreenShareStart(
const base::Closure& stop_callback,
const base::string16& helper_name) OVERRIDE;
virtual void OnScreenShareStop() OVERRIDE;
base::string16 helper_name_;
DISALLOW_COPY_AND_ASSIGN(ScreenShareTrayItem);
};
}
#endif