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" | 8 #include "ui/message_center/message_center_export.h" |
9 | 9 |
10 namespace message_center { | 10 namespace message_center { |
(...skipping 17 matching lines...) Expand all Loading... |
28 // Called when a change to the message center could cause a change to popups | 28 // Called when a change to the message center could cause a change to popups |
29 // that are currently being displayed. | 29 // that are currently being displayed. |
30 virtual void UpdatePopups() = 0; | 30 virtual void UpdatePopups() = 0; |
31 | 31 |
32 // Display the message center containing all undismissed notifications to the | 32 // Display the message center containing all undismissed notifications to the |
33 // user. Returns true if the center was actually displayed to the user. | 33 // user. Returns true if the center was actually displayed to the user. |
34 virtual bool ShowMessageCenter() = 0; | 34 virtual bool ShowMessageCenter() = 0; |
35 | 35 |
36 // Remove the message center from the UI. | 36 // Remove the message center from the UI. |
37 virtual void HideMessageCenter() = 0; | 37 virtual void HideMessageCenter() = 0; |
| 38 |
| 39 // Show a platform-specific UI that informs the user how to open the message |
| 40 // center. |
| 41 virtual void DisplayFirstRunBalloon() {}; |
38 }; | 42 }; |
39 | 43 |
40 } // namespace message_center | 44 } // namespace message_center |
41 | 45 |
42 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_TRAY_DELEGATE_H_ | 46 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_TRAY_DELEGATE_H_ |
OLD | NEW |