| 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 #ifndef UI_MESSAGE_CENTER_FAKE_MESSAGE_CENTER_H_ | 5 #ifndef UI_MESSAGE_CENTER_FAKE_MESSAGE_CENTER_H_ |
| 6 #define UI_MESSAGE_CENTER_FAKE_MESSAGE_CENTER_H_ | 6 #define UI_MESSAGE_CENTER_FAKE_MESSAGE_CENTER_H_ |
| 7 | 7 |
| 8 #include "ui/message_center/message_center.h" | 8 #include "ui/message_center/message_center.h" |
| 9 #include "ui/message_center/message_center_types.h" | 9 #include "ui/message_center/message_center_types.h" |
| 10 | 10 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 OVERRIDE; | 38 OVERRIDE; |
| 39 | 39 |
| 40 virtual void RemoveNotification(const std::string& id, bool by_user) OVERRIDE; | 40 virtual void RemoveNotification(const std::string& id, bool by_user) OVERRIDE; |
| 41 virtual void RemoveAllNotifications(bool by_user) OVERRIDE; | 41 virtual void RemoveAllNotifications(bool by_user) OVERRIDE; |
| 42 virtual void RemoveAllVisibleNotifications(bool by_user) OVERRIDE; | 42 virtual void RemoveAllVisibleNotifications(bool by_user) OVERRIDE; |
| 43 virtual void SetNotificationIcon(const std::string& notification_id, | 43 virtual void SetNotificationIcon(const std::string& notification_id, |
| 44 const gfx::Image& image) OVERRIDE; | 44 const gfx::Image& image) OVERRIDE; |
| 45 | 45 |
| 46 virtual void SetNotificationImage(const std::string& notification_id, | 46 virtual void SetNotificationImage(const std::string& notification_id, |
| 47 const gfx::Image& image) OVERRIDE; | 47 const gfx::Image& image) OVERRIDE; |
| 48 virtual void SetNotificationSmallImage(const std::string& notification_id, |
| 49 const gfx::Image& image) OVERRIDE; |
| 48 | 50 |
| 49 virtual void SetNotificationButtonIcon(const std::string& notification_id, | 51 virtual void SetNotificationButtonIcon(const std::string& notification_id, |
| 50 int button_index, | 52 int button_index, |
| 51 const gfx::Image& image) OVERRIDE; | 53 const gfx::Image& image) OVERRIDE; |
| 52 virtual void DisableNotificationsByNotifier( | 54 virtual void DisableNotificationsByNotifier( |
| 53 const NotifierId& notifier_id) OVERRIDE; | 55 const NotifierId& notifier_id) OVERRIDE; |
| 54 virtual void ExpandNotification(const std::string& id) OVERRIDE; | 56 virtual void ExpandNotification(const std::string& id) OVERRIDE; |
| 55 virtual void ClickOnNotification(const std::string& id) OVERRIDE; | 57 virtual void ClickOnNotification(const std::string& id) OVERRIDE; |
| 56 virtual void ClickOnNotificationButton(const std::string& id, | 58 virtual void ClickOnNotificationButton(const std::string& id, |
| 57 int button_index) OVERRIDE; | 59 int button_index) OVERRIDE; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 74 | 76 |
| 75 private: | 77 private: |
| 76 const NotificationList::Notifications empty_notifications_; | 78 const NotificationList::Notifications empty_notifications_; |
| 77 | 79 |
| 78 DISALLOW_COPY_AND_ASSIGN(FakeMessageCenter); | 80 DISALLOW_COPY_AND_ASSIGN(FakeMessageCenter); |
| 79 }; | 81 }; |
| 80 | 82 |
| 81 } // namespace message_center | 83 } // namespace message_center |
| 82 | 84 |
| 83 #endif // UI_MESSAGE_CENTER_FAKE_MESSAGE_CENTER_H_ | 85 #endif // UI_MESSAGE_CENTER_FAKE_MESSAGE_CENTER_H_ |
| OLD | NEW |