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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 void ClickedOutsideBubble() override; | 85 void ClickedOutsideBubble() override; |
86 | 86 |
87 // Overridden from ActionableView. | 87 // Overridden from ActionableView. |
88 bool PerformAction(const ui::Event& event) override; | 88 bool PerformAction(const ui::Event& event) override; |
89 | 89 |
90 // Overridden from views::TrayBubbleView::Delegate. | 90 // Overridden from views::TrayBubbleView::Delegate. |
91 void BubbleViewDestroyed() override; | 91 void BubbleViewDestroyed() override; |
92 void OnMouseEnteredView() override; | 92 void OnMouseEnteredView() override; |
93 void OnMouseExitedView() override; | 93 void OnMouseExitedView() override; |
94 base::string16 GetAccessibleNameForBubble() override; | 94 base::string16 GetAccessibleNameForBubble() override; |
95 void OnBeforeBubbleWidgetInit( | |
96 views::Widget* anchor_widget, | |
97 views::Widget* bubble_widget, | |
98 views::Widget::InitParams* params) const override; | |
99 void HideBubble(const views::TrayBubbleView* bubble_view) override; | 95 void HideBubble(const views::TrayBubbleView* bubble_view) override; |
100 | 96 |
101 // Overridden from MessageCenterTrayDelegate. | 97 // Overridden from MessageCenterTrayDelegate. |
102 void OnMessageCenterTrayChanged() override; | 98 void OnMessageCenterTrayChanged() override; |
103 bool ShowMessageCenter() override; | 99 bool ShowMessageCenter() override; |
104 void HideMessageCenter() override; | 100 void HideMessageCenter() override; |
105 bool ShowPopups() override; | 101 bool ShowPopups() override; |
106 void HidePopups() override; | 102 void HidePopups() override; |
107 bool ShowNotifierSettings() override; | 103 bool ShowNotifierSettings() override; |
108 bool IsContextMenuEnabled() const override; | 104 bool IsContextMenuEnabled() const override; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 bool should_block_shelf_auto_hide_; | 175 bool should_block_shelf_auto_hide_; |
180 | 176 |
181 std::unique_ptr<AshPopupAlignmentDelegate> popup_alignment_delegate_; | 177 std::unique_ptr<AshPopupAlignmentDelegate> popup_alignment_delegate_; |
182 | 178 |
183 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); | 179 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); |
184 }; | 180 }; |
185 | 181 |
186 } // namespace ash | 182 } // namespace ash |
187 | 183 |
188 #endif // ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ | 184 #endif // ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ |
OLD | NEW |