#ifndef UI_MESSAGE_CENTER_FAKE_MESSAGE_CENTER_TRAY_DELEGATE_H_
#define UI_MESSAGE_CENTER_FAKE_MESSAGE_CENTER_TRAY_DELEGATE_H_
#include "base/basictypes.h"
#include "base/callback.h"
#include "base/memory/scoped_ptr.h"
#include "ui/message_center/message_center_tray_delegate.h"
namespace message_center {
class MessageCenter;
class MessageCenterTray;
class FakeMessageCenterTrayDelegate : public MessageCenterTrayDelegate {
public:
FakeMessageCenterTrayDelegate(MessageCenter* message_center,
base::Closure quit_closure);
virtual ~FakeMessageCenterTrayDelegate();
bool displayed_first_run_balloon() const {
return displayed_first_run_balloon_;
}
virtual void OnMessageCenterTrayChanged() OVERRIDE;
virtual bool ShowPopups() OVERRIDE;
virtual void HidePopups() OVERRIDE;
virtual bool ShowMessageCenter() OVERRIDE;
virtual void HideMessageCenter() OVERRIDE;
virtual bool ShowNotifierSettings() OVERRIDE;
virtual bool IsContextMenuEnabled() const OVERRIDE;
virtual MessageCenterTray* GetMessageCenterTray() OVERRIDE;
virtual void DisplayFirstRunBalloon() OVERRIDE;
private:
scoped_ptr<MessageCenterTray> tray_;
base::Closure quit_closure_;
bool displayed_first_run_balloon_;
DISALLOW_COPY_AND_ASSIGN(FakeMessageCenterTrayDelegate);
};
}
#endif