1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/message_center/fake_message_center_tray_delegate.h"
7 #include "base/message_loop/message_loop.h"
8 #include "ui/message_center/message_center_tray.h"
10 namespace message_center
{
12 FakeMessageCenterTrayDelegate::FakeMessageCenterTrayDelegate(
13 MessageCenter
* message_center
)
14 : tray_(new MessageCenterTray(this, message_center
)) {}
16 FakeMessageCenterTrayDelegate::~FakeMessageCenterTrayDelegate() {
19 void FakeMessageCenterTrayDelegate::OnMessageCenterTrayChanged() {
22 bool FakeMessageCenterTrayDelegate::ShowPopups() {
26 void FakeMessageCenterTrayDelegate::HidePopups() {
29 bool FakeMessageCenterTrayDelegate::ShowMessageCenter() {
33 void FakeMessageCenterTrayDelegate::HideMessageCenter() {
36 bool FakeMessageCenterTrayDelegate::ShowNotifierSettings() {
40 bool FakeMessageCenterTrayDelegate::IsContextMenuEnabled() const {
44 MessageCenterTray
* FakeMessageCenterTrayDelegate::GetMessageCenterTray() {
48 } // namespace message_center