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 20 matching lines...) Expand all Loading... |
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 | 38 |
39 // Display the notifier settings as a bubble. | 39 // Display the notifier settings as a bubble. |
40 virtual bool ShowNotifierSettings() = 0; | 40 virtual bool ShowNotifierSettings() = 0; |
| 41 |
| 42 // Show a platform-specific UI that informs the user how to open the message |
| 43 // center. |
| 44 virtual void DisplayFirstRunBalloon() {}; |
41 }; | 45 }; |
42 | 46 |
43 } // namespace message_center | 47 } // namespace message_center |
44 | 48 |
45 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_TRAY_DELEGATE_H_ | 49 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_TRAY_DELEGATE_H_ |
OLD | NEW |