1 // Copyright 2013 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/notification_delegate.h"
7 namespace message_center
{
9 bool NotificationDelegate::HasClickedListener() { return false; }
11 void NotificationDelegate::ButtonClick(int button_index
) {}
13 HandleNotificationClickedDelegate::HandleNotificationClickedDelegate(
14 const base::Closure
& closure
)
18 HandleNotificationClickedDelegate::~HandleNotificationClickedDelegate() {
21 void HandleNotificationClickedDelegate::Display() {
24 void HandleNotificationClickedDelegate::Error() {
27 void HandleNotificationClickedDelegate::Close(bool by_user
) {
30 bool HandleNotificationClickedDelegate::HasClickedListener() {
31 return !closure_
.is_null();
34 void HandleNotificationClickedDelegate::Click() {
35 if (!closure_
.is_null())
39 void HandleNotificationClickedDelegate::ButtonClick(int button_index
) {
42 } // namespace message_center