| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 void ShowMessageCenterBubble(); | 74 void ShowMessageCenterBubble(); |
| 75 | 75 |
| 76 // Called when the login status is changed. | 76 // Called when the login status is changed. |
| 77 void UpdateAfterLoginStatusChange(user::LoginStatus login_status); | 77 void UpdateAfterLoginStatusChange(user::LoginStatus login_status); |
| 78 | 78 |
| 79 // Overridden from TrayBackgroundView. | 79 // Overridden from TrayBackgroundView. |
| 80 void SetShelfAlignment(ShelfAlignment alignment) override; | 80 void SetShelfAlignment(ShelfAlignment alignment) override; |
| 81 void AnchorUpdated() override; | 81 void AnchorUpdated() override; |
| 82 base::string16 GetAccessibleNameForTray() override; | 82 base::string16 GetAccessibleNameForTray() override; |
| 83 void HideBubbleWithView(const views::TrayBubbleView* bubble_view) override; | 83 void HideBubbleWithView(const views::TrayBubbleView* bubble_view) override; |
| 84 bool ClickedOutsideBubble() override; | 84 void ClickedOutsideBubble() override; |
| 85 | 85 |
| 86 // Overridden from ActionableView. | 86 // Overridden from ActionableView. |
| 87 bool PerformAction(const ui::Event& event) override; | 87 bool PerformAction(const ui::Event& event) override; |
| 88 | 88 |
| 89 // Overridden from views::TrayBubbleView::Delegate. | 89 // Overridden from views::TrayBubbleView::Delegate. |
| 90 void BubbleViewDestroyed() override; | 90 void BubbleViewDestroyed() override; |
| 91 void OnMouseEnteredView() override; | 91 void OnMouseEnteredView() override; |
| 92 void OnMouseExitedView() override; | 92 void OnMouseExitedView() override; |
| 93 base::string16 GetAccessibleNameForBubble() override; | 93 base::string16 GetAccessibleNameForBubble() override; |
| 94 gfx::Rect GetAnchorRect(views::Widget* anchor_widget, | 94 gfx::Rect GetAnchorRect(views::Widget* anchor_widget, |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 bool should_block_shelf_auto_hide_; | 174 bool should_block_shelf_auto_hide_; |
| 175 | 175 |
| 176 std::unique_ptr<AshPopupAlignmentDelegate> popup_alignment_delegate_; | 176 std::unique_ptr<AshPopupAlignmentDelegate> popup_alignment_delegate_; |
| 177 | 177 |
| 178 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); | 178 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); |
| 179 }; | 179 }; |
| 180 | 180 |
| 181 } // namespace ash | 181 } // namespace ash |
| 182 | 182 |
| 183 #endif // ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ | 183 #endif // ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ |
| OLD | NEW |