Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: ui/message_center/message_center_tray_delegate.h

Issue 17286015: Adds a first-run balloon to the Windows notification center. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test failures Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698