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

Side by Side Diff: ui/message_center/message_view_multiple.h

Issue 11651002: Updated multiple item notification view to match latest mockups (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_MESSAGE_VIEW_MULTIPLE_H_ 5 #ifndef UI_MESSAGE_CENTER_MESSAGE_VIEW_MULTIPLE_H_
6 #define UI_MESSAGE_CENTER_MESSAGE_VIEW_MULTIPLE_H_ 6 #define UI_MESSAGE_CENTER_MESSAGE_VIEW_MULTIPLE_H_
7 7
8 #include "ui/message_center/message_view.h" 8 #include "ui/message_center/message_view.h"
9 #include "ui/message_center/notification_list.h" 9 #include "ui/message_center/notification_list.h"
10 10
11 namespace message_center { 11 namespace message_center {
12 12
13 // View that displays multiple-item notifications. 13 // View that displays multiple-item notifications.
14 // 14 //
15 // TODO(dharcourt): Rename MessageCenter and MessageView* to NotificationCenter 15 // TODO(dharcourt): Rename MessageCenter and MessageView* to NotificationCenter
16 // and NotificationView*? 16 // and NotificationView*?
17 class MessageViewMultiple : public MessageView { 17 class MessageViewMultiple : public MessageView {
18 public: 18 public:
19 MessageViewMultiple(NotificationList::Delegate* list_delegate, 19 MessageViewMultiple(NotificationList::Delegate* list_delegate,
20 const NotificationList::Notification& notification); 20 const NotificationList::Notification& notification);
21 virtual ~MessageViewMultiple(); 21 virtual ~MessageViewMultiple();
22 22
23 // Overridden from MessageView. 23 // Overridden from MessageView.
24 virtual void SetUpView() OVERRIDE; 24 virtual void SetUpView() OVERRIDE;
25 25
26 protected: 26 protected:
27 MessageViewMultiple(); 27 MessageViewMultiple();
Jun Mukai 2012/12/19 00:33:53 this method is removed in cc, please remove from h
dharcourt 2012/12/19 01:47:44 Done.
28 28
29 private: 29 private:
30 views::Border* CreateTopBorder(int height);
31
32 DISALLOW_COPY_AND_ASSIGN(MessageViewMultiple); 30 DISALLOW_COPY_AND_ASSIGN(MessageViewMultiple);
33 }; 31 };
34 32
35 } // namespace message_center 33 } // namespace message_center
36 34
37 #endif // UI_MESSAGE_CENTER_MESSAGE_VIEW_MULTIPLE_H_ 35 #endif // UI_MESSAGE_CENTER_MESSAGE_VIEW_MULTIPLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698