| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 // Returns true if the message center bubble is visible. | 70 // Returns true if the message center bubble is visible. |
| 71 bool IsMessageCenterBubbleVisible() const; | 71 bool IsMessageCenterBubbleVisible() const; |
| 72 | 72 |
| 73 // Returns true if the mouse is inside the notification bubble. | 73 // Returns true if the mouse is inside the notification bubble. |
| 74 bool IsMouseInNotificationBubble() const; | 74 bool IsMouseInNotificationBubble() const; |
| 75 | 75 |
| 76 // Shows the message center bubble. | 76 // Shows the message center bubble. |
| 77 void ShowMessageCenterBubble(); | 77 void ShowMessageCenterBubble(); |
| 78 | 78 |
| 79 // Called when the login status is changed. | 79 // Called when the login status is changed. |
| 80 void UpdateAfterLoginStatusChange(user::LoginStatus login_status); | 80 void UpdateAfterLoginStatusChange(LoginStatus login_status); |
| 81 | 81 |
| 82 // Overridden from TrayBackgroundView. | 82 // Overridden from TrayBackgroundView. |
| 83 void SetShelfAlignment(ShelfAlignment alignment) override; | 83 void SetShelfAlignment(ShelfAlignment alignment) override; |
| 84 void AnchorUpdated() override; | 84 void AnchorUpdated() override; |
| 85 base::string16 GetAccessibleNameForTray() override; | 85 base::string16 GetAccessibleNameForTray() override; |
| 86 void HideBubbleWithView(const views::TrayBubbleView* bubble_view) override; | 86 void HideBubbleWithView(const views::TrayBubbleView* bubble_view) override; |
| 87 void ClickedOutsideBubble() override; | 87 void ClickedOutsideBubble() override; |
| 88 | 88 |
| 89 // Overridden from ActionableView. | 89 // Overridden from ActionableView. |
| 90 bool PerformAction(const ui::Event& event) override; | 90 bool PerformAction(const ui::Event& event) override; |
| (...skipping 86 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 |