OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/message_center/notification_delegate.h" | 5 #include "ui/message_center/notification_delegate.h" |
6 | 6 |
7 namespace message_center { | 7 namespace message_center { |
8 | 8 |
9 // NotificationDelegate: | 9 // NotificationDelegate: |
10 | 10 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 } | 50 } |
51 | 51 |
52 HandleNotificationButtonClickDelegate:: | 52 HandleNotificationButtonClickDelegate:: |
53 ~HandleNotificationButtonClickDelegate() {} | 53 ~HandleNotificationButtonClickDelegate() {} |
54 | 54 |
55 void HandleNotificationButtonClickDelegate::ButtonClick(int button_index) { | 55 void HandleNotificationButtonClickDelegate::ButtonClick(int button_index) { |
56 if (!button_callback_.is_null()) | 56 if (!button_callback_.is_null()) |
57 button_callback_.Run(button_index); | 57 button_callback_.Run(button_index); |
58 } | 58 } |
59 | 59 |
| 60 bool NotificationDelegate::ShouldDisplayOverFullscreen() const { |
| 61 return false; |
| 62 } |
| 63 |
60 } // namespace message_center | 64 } // namespace message_center |
OLD | NEW |