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

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

Issue 12635010: Start building message_center on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MessageCenterNotificationsTest Created 7 years, 9 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
« no previous file with comments | « ui/message_center/message_center_tray.cc ('k') | ui/message_center/message_center_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
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
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_
OLDNEW
« no previous file with comments | « ui/message_center/message_center_tray.cc ('k') | ui/message_center/message_center_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698