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

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: 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 void ClearAllNotifications(); 56 void ClearAllNotifications();
57 void OnAllNotificationsCleared(); 57 void OnAllNotificationsCleared();
58 58
59 size_t NumMessageViewsForTest() const; 59 size_t NumMessageViewsForTest() const;
60 60
61 void SetSettingsVisible(bool visible); 61 void SetSettingsVisible(bool visible);
62 void OnSettingsChanged(); 62 void OnSettingsChanged();
63 bool settings_visible() const { return settings_visible_; } 63 bool settings_visible() const { return settings_visible_; }
64 MessageCenterTray* tray() { return tray_; } 64 MessageCenterTray* tray() { return tray_; }
65 void SetNotificationTitle(const base::string16& new_title);
65 66
66 void SetIsClosing(bool is_closing); 67 void SetIsClosing(bool is_closing);
67 68
68 protected: 69 protected:
69 // Overridden from views::View: 70 // Overridden from views::View:
70 virtual void Layout() OVERRIDE; 71 virtual void Layout() OVERRIDE;
71 virtual gfx::Size GetPreferredSize() OVERRIDE; 72 virtual gfx::Size GetPreferredSize() OVERRIDE;
72 virtual int GetHeightForWidth(int width) OVERRIDE; 73 virtual int GetHeightForWidth(int width) OVERRIDE;
73 virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE; 74 virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE;
74 virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; 75 virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE;
(...skipping 62 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

Powered by Google App Engine
This is Rietveld 408576698