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

Unified Diff: ui/message_center/views/message_center_view.h

Issue 117513006: Remove experimental code fro grouping notifications from the same source. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/message_center/views/message_center_controller.h ('k') | ui/message_center/views/message_center_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/message_center_view.h
diff --git a/ui/message_center/views/message_center_view.h b/ui/message_center/views/message_center_view.h
index 2733607444856724d11b9136c573d52b8becc4a0..1b44172190ca4ccdd22d56476a357e6bd618736c 100644
--- a/ui/message_center/views/message_center_view.h
+++ b/ui/message_center/views/message_center_view.h
@@ -25,7 +25,6 @@ class Button;
namespace message_center {
-class GroupView;
class MessageCenter;
class MessageCenterBubble;
class NotificationCenterButton;
@@ -90,10 +89,6 @@ class MESSAGE_CENTER_EXPORT MessageCenterView : public views::View,
virtual void ClickOnNotificationButton(const std::string& notification_id,
int button_index) OVERRIDE;
virtual void ExpandNotification(const std::string& notification_id) OVERRIDE;
- virtual void GroupBodyClicked(const std::string& last_notification_id)
- OVERRIDE;
- virtual void ExpandGroup(const NotifierId& notifier_id) OVERRIDE;
- virtual void RemoveGroup(const NotifierId& notifier_id) OVERRIDE;
// Overridden from gfx::AnimationDelegate:
virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE;
@@ -104,11 +99,6 @@ class MESSAGE_CENTER_EXPORT MessageCenterView : public views::View,
friend class MessageCenterViewTest;
void AddMessageViewAt(MessageView* view, int index);
- void AddGroupPlaceholder(const NotifierId& group_id,
- const Notification& notification,
- const gfx::ImageSkia& group_icon,
- int group_size,
- int index);
void AddNotificationAt(const Notification& notification, int index);
void NotificationsChanged();
void SetNotificationViewForTest(MessageView* view);
@@ -121,11 +111,6 @@ class MESSAGE_CENTER_EXPORT MessageCenterView : public views::View,
typedef std::map<std::string, NotificationView*> NotificationViewsMap;
NotificationViewsMap notification_views_; // Weak.
- // List of all GroupViews. GroupView is responsible for multiple Notifications
- // from the same source.
- typedef std::list<GroupView*> GroupViews;
- GroupViews group_views_; // Weak.
-
// Child views.
views::ScrollView* scroller_;
scoped_ptr<MessageListView> message_list_view_;
« no previous file with comments | « ui/message_center/views/message_center_controller.h ('k') | ui/message_center/views/message_center_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698