BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / ui / message_center / fake_message_center_tray_delegate.cc
blobae4903484bb93337fb9eb737441b3a1dd5881365
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() {
23 return false;
26 void FakeMessageCenterTrayDelegate::HidePopups() {
29 bool FakeMessageCenterTrayDelegate::ShowMessageCenter() {
30 return false;
33 void FakeMessageCenterTrayDelegate::HideMessageCenter() {
36 bool FakeMessageCenterTrayDelegate::ShowNotifierSettings() {
37 return false;
40 bool FakeMessageCenterTrayDelegate::IsContextMenuEnabled() const {
41 return false;
44 MessageCenterTray* FakeMessageCenterTrayDelegate::GetMessageCenterTray() {
45 return tray_.get();
48 } // namespace message_center