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

Side by Side Diff: ui/message_center/views/message_center_view.h

Issue 1645843003: Implement Non-Closable Notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary property. Created 4 years, 10 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
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_VIEWS_MESSAGE_CENTER_VIEW_H_ 5 #ifndef UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_
6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_ 6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 MessageCenterView(MessageCenter* message_center, 43 MessageCenterView(MessageCenter* message_center,
44 MessageCenterTray* tray, 44 MessageCenterTray* tray,
45 int max_height, 45 int max_height,
46 bool initially_settings_visible, 46 bool initially_settings_visible,
47 bool top_down, 47 bool top_down,
48 const base::string16& title); 48 const base::string16& title);
49 ~MessageCenterView() override; 49 ~MessageCenterView() override;
50 50
51 void SetNotifications(const NotificationList::Notifications& notifications); 51 void SetNotifications(const NotificationList::Notifications& notifications);
52 52
53 void ClearAllNotifications(); 53 void ClearAllClosableNotifications();
54 void OnAllNotificationsCleared(); 54 void OnAllNotificationsCleared();
55 55
56 size_t NumMessageViewsForTest() const; 56 size_t NumMessageViewsForTest() const;
57 57
58 void SetSettingsVisible(bool visible); 58 void SetSettingsVisible(bool visible);
59 void OnSettingsChanged(); 59 void OnSettingsChanged();
60 bool settings_visible() const { return settings_visible_; } 60 bool settings_visible() const { return settings_visible_; }
61 MessageCenterTray* tray() { return tray_; } 61 MessageCenterTray* tray() { return tray_; }
62 62
63 void SetIsClosing(bool is_closing); 63 void SetIsClosing(bool is_closing);
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 bool is_closing_; 134 bool is_closing_;
135 135
136 scoped_ptr<MessageViewContextMenuController> context_menu_controller_; 136 scoped_ptr<MessageViewContextMenuController> context_menu_controller_;
137 137
138 DISALLOW_COPY_AND_ASSIGN(MessageCenterView); 138 DISALLOW_COPY_AND_ASSIGN(MessageCenterView);
139 }; 139 };
140 140
141 } // namespace message_center 141 } // namespace message_center
142 142
143 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_ 143 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_
OLDNEW
« no previous file with comments | « ui/message_center/views/message_center_button_bar.cc ('k') | ui/message_center/views/message_center_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698