Mailbox support for texture layers.
[chromium-blink-merge.git] / ui / message_center / message_center_bubble.h
blob45176ad035fab81a6ec1b71499b916d232664f17
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.
5 #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_BUBBLE_H_
6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_BUBBLE_H_
8 #include "ui/message_center/message_bubble_base.h"
9 #include "ui/message_center/message_center_export.h"
10 #include "ui/message_center/notification_list.h"
12 namespace message_center {
14 class MessageCenterContentsView;
16 // Bubble for message center.
17 class MESSAGE_CENTER_EXPORT MessageCenterBubble : public MessageBubbleBase {
18 public:
19 explicit MessageCenterBubble(NotificationList::Delegate* delegate);
21 virtual ~MessageCenterBubble();
23 // Overridden from MessageBubbleBase.
24 virtual views::TrayBubbleView::InitParams GetInitParams(
25 views::TrayBubbleView::AnchorAlignment anchor_alignment) OVERRIDE;
26 virtual void InitializeContents(views::TrayBubbleView* bubble_view) OVERRIDE;
27 virtual void OnBubbleViewDestroyed() OVERRIDE;
28 virtual void UpdateBubbleView() OVERRIDE;
29 virtual void OnMouseEnteredView() OVERRIDE;
30 virtual void OnMouseExitedView() OVERRIDE;
32 size_t NumMessageViewsForTest() const;
34 private:
35 MessageCenterContentsView* contents_view_;
37 DISALLOW_COPY_AND_ASSIGN(MessageCenterBubble);
40 } // namespace message_center
42 #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_BUBBLE_H_