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

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

Issue 11926032: Updated the look of web and basic notifications to match latest mockups. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_MESSAGE_CENTER_MESSAGE_VIEW_FACTORY_H_
6 #define UI_MESSAGE_CENTER_MESSAGE_VIEW_FACTORY_H_
7
8 #include "ui/message_center/notification_list.h"
9
10 namespace message_center {
11
12 class MessageView;
13
14 // Creates appropriate MessageViews for Notifications. The factory
15 // examines notification.type and uses that as a 1:1 mapping from type enum to
16 // concrete MessageView class.
17 class MessageViewFactory {
18 public:
19 static MessageView* ViewForNotification(
20 const NotificationList::Notification& notification,
21 NotificationList::Delegate* list_delegate);
22 };
23
24 } // namespace message_center
25
26 #endif // UI_MESSAGE_CENTER_WEB_MESSAGE_VIEW_FACTORY_H_
dharcourt 2013/01/19 03:06:13 MessageViewFactory replaced by a class method in N
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698