| 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_VIEWS_MESSAGE_CENTER_CONTROLLER_H_ | 5 #ifndef UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_CONTROLLER_H_ |
| 6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_CONTROLLER_H_ | 6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 virtual void ClickOnNotification(const std::string& notification_id) = 0; | 23 virtual void ClickOnNotification(const std::string& notification_id) = 0; |
| 24 virtual void RemoveNotification(const std::string& notification_id, | 24 virtual void RemoveNotification(const std::string& notification_id, |
| 25 bool by_user) = 0; | 25 bool by_user) = 0; |
| 26 virtual scoped_ptr<ui::MenuModel> CreateMenuModel( | 26 virtual scoped_ptr<ui::MenuModel> CreateMenuModel( |
| 27 const NotifierId& notifier_id, | 27 const NotifierId& notifier_id, |
| 28 const base::string16& display_source) = 0; | 28 const base::string16& display_source) = 0; |
| 29 virtual bool HasClickedListener(const std::string& notification_id) = 0; | 29 virtual bool HasClickedListener(const std::string& notification_id) = 0; |
| 30 virtual void ClickOnNotificationButton(const std::string& notification_id, | 30 virtual void ClickOnNotificationButton(const std::string& notification_id, |
| 31 int button_index) = 0; | 31 int button_index) = 0; |
| 32 virtual void ExpandNotification(const std::string& notification_id) = 0; | 32 virtual void ExpandNotification(const std::string& notification_id) = 0; |
| 33 virtual void GroupBodyClicked(const std::string& last_notification_id) = 0; | |
| 34 virtual void ExpandGroup(const NotifierId& notifier_id) = 0; | |
| 35 virtual void RemoveGroup(const NotifierId& notifier_id) = 0; | |
| 36 }; | 33 }; |
| 37 | 34 |
| 38 } // namespace message_center | 35 } // namespace message_center |
| 39 | 36 |
| 40 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_CONTROLLER_H_ | 37 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_CONTROLLER_H_ |
| OLD | NEW |