blob: ae4903484bb93337fb9eb737441b3a1dd5881365 [file] [log] [blame]
// Copyright 2014 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.
#include "ui/message_center/fake_message_center_tray_delegate.h"
#include "base/message_loop/message_loop.h"
#include "ui/message_center/message_center_tray.h"
namespace message_center {
FakeMessageCenterTrayDelegate::FakeMessageCenterTrayDelegate(
MessageCenter* message_center)
: tray_(new MessageCenterTray(this, message_center)) {}
FakeMessageCenterTrayDelegate::~FakeMessageCenterTrayDelegate() {
}
void FakeMessageCenterTrayDelegate::OnMessageCenterTrayChanged() {
}
bool FakeMessageCenterTrayDelegate::ShowPopups() {
return false;
}
void FakeMessageCenterTrayDelegate::HidePopups() {
}
bool FakeMessageCenterTrayDelegate::ShowMessageCenter() {
return false;
}
void FakeMessageCenterTrayDelegate::HideMessageCenter() {
}
bool FakeMessageCenterTrayDelegate::ShowNotifierSettings() {
return false;
}
bool FakeMessageCenterTrayDelegate::IsContextMenuEnabled() const {
return false;
}
MessageCenterTray* FakeMessageCenterTrayDelegate::GetMessageCenterTray() {
return tray_.get();
}
} // namespace message_center