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

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

Issue 114323002: Fixes the context menu for a notification. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix2 Created 7 years 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 19 matching lines...) Expand all
30 // Display the message center containing all undismissed notifications to the 30 // Display the message center containing all undismissed notifications to the
31 // user. Returns true if the center was actually displayed to the user. 31 // user. Returns true if the center was actually displayed to the user.
32 virtual bool ShowMessageCenter() = 0; 32 virtual bool ShowMessageCenter() = 0;
33 33
34 // Remove the message center from the UI. 34 // Remove the message center from the UI.
35 virtual void HideMessageCenter() = 0; 35 virtual void HideMessageCenter() = 0;
36 36
37 // Display the notifier settings as a bubble. 37 // Display the notifier settings as a bubble.
38 virtual bool ShowNotifierSettings() = 0; 38 virtual bool ShowNotifierSettings() = 0;
39 39
40 // Returns true if the context menu for a notification is currently enabled.
41 virtual bool IsContextMenuEnabled() const = 0;
42
40 // Show a platform-specific UI that informs the user how to open the message 43 // Show a platform-specific UI that informs the user how to open the message
41 // center. 44 // center.
42 virtual void DisplayFirstRunBalloon() {} 45 virtual void DisplayFirstRunBalloon() {}
43 46
44 virtual MessageCenterTray* GetMessageCenterTray() = 0; 47 virtual MessageCenterTray* GetMessageCenterTray() = 0;
45 }; 48 };
46 49
47 } // namespace message_center 50 } // namespace message_center
48 51
49 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_TRAY_DELEGATE_H_ 52 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_TRAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/message_center/message_center_tray.cc ('k') | ui/message_center/message_center_tray_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698