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

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

Issue 318173002: Fix the notification center label. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Notification Center Title: Set in ctor. Created 6 years, 6 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
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 8
9 #include "ui/gfx/animation/animation_delegate.h" 9 #include "ui/gfx/animation/animation_delegate.h"
10 #include "ui/message_center/message_center_export.h" 10 #include "ui/message_center/message_center_export.h"
(...skipping 30 matching lines...) Expand all
41 41
42 class MESSAGE_CENTER_EXPORT MessageCenterView : public views::View, 42 class MESSAGE_CENTER_EXPORT MessageCenterView : public views::View,
43 public MessageCenterObserver, 43 public MessageCenterObserver,
44 public MessageCenterController, 44 public MessageCenterController,
45 public gfx::AnimationDelegate { 45 public gfx::AnimationDelegate {
46 public: 46 public:
47 MessageCenterView(MessageCenter* message_center, 47 MessageCenterView(MessageCenter* message_center,
48 MessageCenterTray* tray, 48 MessageCenterTray* tray,
49 int max_height, 49 int max_height,
50 bool initially_settings_visible, 50 bool initially_settings_visible,
51 bool top_down); 51 bool top_down,
52 const base::string16& title);
52 virtual ~MessageCenterView(); 53 virtual ~MessageCenterView();
53 54
54 void SetNotifications(const NotificationList::Notifications& notifications); 55 void SetNotifications(const NotificationList::Notifications& notifications);
55 56
56 void ClearAllNotifications(); 57 void ClearAllNotifications();
57 void OnAllNotificationsCleared(); 58 void OnAllNotificationsCleared();
58 59
59 size_t NumMessageViewsForTest() const; 60 size_t NumMessageViewsForTest() const;
60 61
61 void SetSettingsVisible(bool visible); 62 void SetSettingsVisible(bool visible);
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 bool is_closing_; 138 bool is_closing_;
138 139
139 scoped_ptr<MessageViewContextMenuController> context_menu_controller_; 140 scoped_ptr<MessageViewContextMenuController> context_menu_controller_;
140 141
141 DISALLOW_COPY_AND_ASSIGN(MessageCenterView); 142 DISALLOW_COPY_AND_ASSIGN(MessageCenterView);
142 }; 143 };
143 144
144 } // namespace message_center 145 } // namespace message_center
145 146
146 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_CENTER_VIEW_H_ 147 #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