| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 // Returns true if the message center bubble is visible. | 69 // Returns true if the message center bubble is visible. |
| 70 bool IsMessageCenterBubbleVisible() const; | 70 bool IsMessageCenterBubbleVisible() const; |
| 71 | 71 |
| 72 // Shows the message center bubble. | 72 // Shows the message center bubble. |
| 73 void ShowMessageCenterBubble(); | 73 void ShowMessageCenterBubble(); |
| 74 | 74 |
| 75 // Called when the login status is changed. | 75 // Called when the login status is changed. |
| 76 void UpdateAfterLoginStatusChange(LoginStatus login_status); | 76 void UpdateAfterLoginStatusChange(LoginStatus login_status); |
| 77 | 77 |
| 78 // Overridden from TrayBackgroundView. | 78 // Overridden from TrayBackgroundView. |
| 79 void SetShelfAlignment(ShelfAlignment alignment) override; | 79 void UpdateAfterShelfAlignmentChange() override; |
| 80 void AnchorUpdated() override; | 80 void AnchorUpdated() override; |
| 81 base::string16 GetAccessibleNameForTray() override; | 81 base::string16 GetAccessibleNameForTray() override; |
| 82 void HideBubbleWithView(const views::TrayBubbleView* bubble_view) override; | 82 void HideBubbleWithView(const views::TrayBubbleView* bubble_view) override; |
| 83 void ClickedOutsideBubble() override; | 83 void ClickedOutsideBubble() override; |
| 84 | 84 |
| 85 // Overridden from ActionableView. | 85 // Overridden from ActionableView. |
| 86 bool PerformAction(const ui::Event& event) override; | 86 bool PerformAction(const ui::Event& event) override; |
| 87 | 87 |
| 88 // Overridden from views::TrayBubbleView::Delegate. | 88 // Overridden from views::TrayBubbleView::Delegate. |
| 89 void BubbleViewDestroyed() override; | 89 void BubbleViewDestroyed() override; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 bool should_block_shelf_auto_hide_; | 177 bool should_block_shelf_auto_hide_; |
| 178 | 178 |
| 179 std::unique_ptr<AshPopupAlignmentDelegate> popup_alignment_delegate_; | 179 std::unique_ptr<AshPopupAlignmentDelegate> popup_alignment_delegate_; |
| 180 | 180 |
| 181 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); | 181 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); |
| 182 }; | 182 }; |
| 183 | 183 |
| 184 } // namespace ash | 184 } // namespace ash |
| 185 | 185 |
| 186 #endif // ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ | 186 #endif // ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ |
| OLD | NEW |