OLD | NEW |
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 ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ | 5 #ifndef ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ |
6 #define ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ | 6 #define ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/system/tray/tray_background_view.h" | 9 #include "ash/system/tray/tray_background_view.h" |
10 #include "ash/system/user/login_status.h" | 10 #include "ash/system/user/login_status.h" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 virtual bool ClickedOutsideBubble() OVERRIDE; | 83 virtual bool ClickedOutsideBubble() OVERRIDE; |
84 | 84 |
85 // Overridden from ActionableView. | 85 // Overridden from ActionableView. |
86 virtual bool PerformAction(const ui::Event& event) OVERRIDE; | 86 virtual bool PerformAction(const ui::Event& event) OVERRIDE; |
87 | 87 |
88 // Overridden from views::TrayBubbleView::Delegate. | 88 // Overridden from views::TrayBubbleView::Delegate. |
89 virtual void BubbleViewDestroyed() OVERRIDE; | 89 virtual void BubbleViewDestroyed() OVERRIDE; |
90 virtual void OnMouseEnteredView() OVERRIDE; | 90 virtual void OnMouseEnteredView() OVERRIDE; |
91 virtual void OnMouseExitedView() OVERRIDE; | 91 virtual void OnMouseExitedView() OVERRIDE; |
92 virtual base::string16 GetAccessibleNameForBubble() OVERRIDE; | 92 virtual base::string16 GetAccessibleNameForBubble() OVERRIDE; |
93 virtual gfx::Rect GetAnchorRect(views::Widget* anchor_widget, | 93 virtual gfx::Rect GetAnchorRect( |
94 AnchorType anchor_type, | 94 views::Widget* anchor_widget, |
95 AnchorAlignment anchor_alignment) OVERRIDE; | 95 AnchorType anchor_type, |
| 96 AnchorAlignment anchor_alignment) const OVERRIDE; |
96 virtual void HideBubble(const views::TrayBubbleView* bubble_view) OVERRIDE; | 97 virtual void HideBubble(const views::TrayBubbleView* bubble_view) OVERRIDE; |
97 | 98 |
98 // Overridden from ButtonListener. | 99 // Overridden from ButtonListener. |
99 virtual void ButtonPressed(views::Button* sender, | 100 virtual void ButtonPressed(views::Button* sender, |
100 const ui::Event& event) OVERRIDE; | 101 const ui::Event& event) OVERRIDE; |
101 | 102 |
102 // Overridden from MessageCenterTrayDelegate. | 103 // Overridden from MessageCenterTrayDelegate. |
103 virtual void OnMessageCenterTrayChanged() OVERRIDE; | 104 virtual void OnMessageCenterTrayChanged() OVERRIDE; |
104 virtual bool ShowMessageCenter() OVERRIDE; | 105 virtual bool ShowMessageCenter() OVERRIDE; |
105 virtual void HideMessageCenter() OVERRIDE; | 106 virtual void HideMessageCenter() OVERRIDE; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 | 177 |
177 // Observes the work area for |popup_collection_| and notifies to it. | 178 // Observes the work area for |popup_collection_| and notifies to it. |
178 scoped_ptr<WorkAreaObserver> work_area_observer_; | 179 scoped_ptr<WorkAreaObserver> work_area_observer_; |
179 | 180 |
180 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); | 181 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); |
181 }; | 182 }; |
182 | 183 |
183 } // namespace ash | 184 } // namespace ash |
184 | 185 |
185 #endif // ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ | 186 #endif // ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ |
OLD | NEW |