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

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

Issue 12326091: Made notification center notifications collapsed and expandable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, rebase, and rebase again! 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/notification.cc ('k') | ui/message_center/notification_list.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_MESSAGE_CENTER_NOTIFICATION_CHANGE_OBSERVER_H_
6 #define UI_MESSAGE_CENTER_NOTIFICATION_CHANGE_OBSERVER_H_
7
8 #include <string>
9
10 #include "ui/gfx/native_widget_types.h"
11
12 namespace message_center {
13
14 // For classes that need to handle or propagate notification changes.
15 class MESSAGE_CENTER_EXPORT NotificationChangeObserver {
16 public:
17 virtual ~NotificationChangeObserver() {};
18
19 virtual void OnRemoveNotification(const std::string& id, bool by_user) {};
20 virtual void OnRemoveAllNotifications(bool by_user) {};
21
22 virtual void OnDisableNotificationsByExtension(const std::string& id) {};
23 virtual void OnDisableNotificationsByUrl(const std::string& id) {};
24
25 virtual void OnShowNotificationSettings(const std::string& id) {};
26 virtual void OnShowNotificationSettingsDialog(gfx::NativeView context) {};
27
28 virtual void OnExpanded(const std::string& id) {};
29 virtual void OnClicked(const std::string& id) {};
30 virtual void OnButtonClicked(const std::string& id, int button_index) {};
31 };
32
33 } // namespace message_center
34
35 #endif // UI_MESSAGE_CENTER_NOTIFICATION_CHANGE_OBSERVER_H_
OLDNEW
« no previous file with comments | « ui/message_center/notification.cc ('k') | ui/message_center/notification_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698