#ifndef ASH_SYSTEM_CHROMEOS_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_TRAY_H_
#define ASH_SYSTEM_CHROMEOS_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_TRAY_H_
#include "ash/system/tray/tray_background_view.h"
#include "ash/system/tray_accessibility.h"
#include "ash/system/user/login_status.h"
#include "base/basictypes.h"
#include "ui/views/controls/button/button.h"
namespace views {
class ImageButton;
}
namespace ash {
class StatusAreaWidget;
class VirtualKeyboardTray : public TrayBackgroundView,
public views::ButtonListener,
public AccessibilityObserver {
public:
explicit VirtualKeyboardTray(StatusAreaWidget* status_area_widget);
virtual ~VirtualKeyboardTray();
virtual void SetShelfAlignment(ShelfAlignment alignment) OVERRIDE;
virtual base::string16 GetAccessibleNameForTray() OVERRIDE;
virtual void HideBubbleWithView(
const views::TrayBubbleView* bubble_view) OVERRIDE;
virtual bool ClickedOutsideBubble() OVERRIDE;
virtual bool PerformAction(const ui::Event& event) OVERRIDE;
virtual void ButtonPressed(views::Button* sender,
const ui::Event& event) OVERRIDE;
virtual void OnAccessibilityModeChanged(
AccessibilityNotificationVisibility notify) OVERRIDE;
private:
views::ImageButton* button_;
DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardTray);
};
}
#endif