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

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

Issue 114323002: Fixes the context menu for a notification. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: ui/message_center/views/message_view.h
diff --git a/ui/message_center/views/message_view.h b/ui/message_center/views/message_view.h
index 341e9adbf844b42a4a7b374da6034babf5f42ca4..7237403f836d2ba6ad5168ceffbee8ac1e9c8ae2 100644
--- a/ui/message_center/views/message_view.h
+++ b/ui/message_center/views/message_view.h
@@ -23,7 +23,6 @@ namespace message_center {
class MessageCenter;
class MessageCenterTray;
-class MessageViewContextMenuController;
// Individual notifications constants.
const int kPaddingBetweenItems = 10;
@@ -35,14 +34,12 @@ const int kWebNotificationIconSize = 40;
class MESSAGE_CENTER_EXPORT MessageView : public views::SlideOutView,
public views::ButtonListener {
public:
- MessageView(const string16& display_source);
+ MessageView();
virtual ~MessageView();
// Overrided by derived classes.
virtual void ClickOnNotification() = 0;
virtual void RemoveNotification(bool by_user) = 0;
- virtual void DisableNotificationsFromThisSource() = 0;
- virtual void ShowNotifierSettingsBubble() = 0;
// Returns the insets for the shadow it will have for rich notification.
static gfx::Insets GetShadowInsets();
@@ -81,7 +78,6 @@ class MESSAGE_CENTER_EXPORT MessageView : public views::SlideOutView,
views::ScrollView* scroller() { return scroller_; }
private:
- scoped_ptr<MessageViewContextMenuController> context_menu_controller_;
scoped_ptr<views::ImageButton> close_button_;
views::ScrollView* scroller_;

Powered by Google App Engine
This is Rietveld 408576698