| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 void HideBubbleWithView(const views::TrayBubbleView* bubble_view) override; | 84 void HideBubbleWithView(const views::TrayBubbleView* bubble_view) override; |
| 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 void RegisterAccelerators(const std::vector<ui::Accelerator>& accelerators, |
| 95 views::TrayBubbleView* tray_bubble_view) override; |
| 96 void UnregisterAllAccelerators( |
| 97 views::TrayBubbleView* tray_bubble_view) override; |
| 94 base::string16 GetAccessibleNameForBubble() override; | 98 base::string16 GetAccessibleNameForBubble() override; |
| 99 bool ShouldEnableExtraKeyboardAccessibility() override; |
| 95 void HideBubble(const views::TrayBubbleView* bubble_view) override; | 100 void HideBubble(const views::TrayBubbleView* bubble_view) override; |
| 96 | 101 |
| 97 // Overridden from MessageCenterTrayDelegate. | 102 // Overridden from MessageCenterTrayDelegate. |
| 98 void OnMessageCenterTrayChanged() override; | 103 void OnMessageCenterTrayChanged() override; |
| 99 bool ShowMessageCenter() override; | 104 bool ShowMessageCenter() override; |
| 100 void HideMessageCenter() override; | 105 void HideMessageCenter() override; |
| 101 bool ShowPopups() override; | 106 bool ShowPopups() override; |
| 102 void HidePopups() override; | 107 void HidePopups() override; |
| 103 bool ShowNotifierSettings() override; | 108 bool ShowNotifierSettings() override; |
| 104 bool IsContextMenuEnabled() const override; | 109 bool IsContextMenuEnabled() const override; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 bool should_block_shelf_auto_hide_; | 180 bool should_block_shelf_auto_hide_; |
| 176 | 181 |
| 177 std::unique_ptr<AshPopupAlignmentDelegate> popup_alignment_delegate_; | 182 std::unique_ptr<AshPopupAlignmentDelegate> popup_alignment_delegate_; |
| 178 | 183 |
| 179 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); | 184 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); |
| 180 }; | 185 }; |
| 181 | 186 |
| 182 } // namespace ash | 187 } // namespace ash |
| 183 | 188 |
| 184 #endif // ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ | 189 #endif // ASH_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ |
| OLD | NEW |