OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_MESSAGE_CENTER_TRAY_DELEGATE_H_ | 5 #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_TRAY_DELEGATE_H_ |
6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_TRAY_DELEGATE_H_ | 6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_TRAY_DELEGATE_H_ |
7 | 7 |
| 8 #include "ui/message_center/message_center_export.h" |
| 9 |
8 namespace message_center { | 10 namespace message_center { |
9 | 11 |
10 // A MessageCenterTrayDelegate class is responsible for managing the various UI | 12 // A MessageCenterTrayDelegate class is responsible for managing the various UI |
11 // surfaces that should be displayed when the MessageCenter is changed. | 13 // surfaces that should be displayed when the MessageCenter is changed. |
12 class MESSAGE_CENTER_EXPORT MessageCenterTrayDelegate { | 14 class MESSAGE_CENTER_EXPORT MessageCenterTrayDelegate { |
13 public: | 15 public: |
14 virtual ~MessageCenterTrayDelegate() {}; | 16 virtual ~MessageCenterTrayDelegate() {}; |
15 | 17 |
16 // Called whenever a change to the visible UI has occurred. | 18 // Called whenever a change to the visible UI has occurred. |
17 virtual void OnMessageCenterTrayChanged() = 0; | 19 virtual void OnMessageCenterTrayChanged() = 0; |
(...skipping 17 matching lines...) Expand all Loading... |
35 virtual void HideMessageCenter() = 0; | 37 virtual void HideMessageCenter() = 0; |
36 | 38 |
37 // Called when a change to the message center could cause a change to the | 39 // Called when a change to the message center could cause a change to the |
38 // message center widget that is currently being displayed. | 40 // message center widget that is currently being displayed. |
39 virtual void UpdateMessageCenter() = 0; | 41 virtual void UpdateMessageCenter() = 0; |
40 }; | 42 }; |
41 | 43 |
42 } // namespace message_center | 44 } // namespace message_center |
43 | 45 |
44 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_TRAY_DELEGATE_H_ | 46 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_TRAY_DELEGATE_H_ |
OLD | NEW |