Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(772)

Side by Side Diff: ash/system/web_notification/web_notification_tray.h

Issue 1914093002: Refactors DockedWindowLayoutManager in terms of ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nuke_aura_window
Patch Set: comment Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
70 // Returns true if the mouse is inside the notification bubble. 70 // Returns true if the mouse is inside the notification bubble.
71 bool IsMouseInNotificationBubble() const; 71 bool IsMouseInNotificationBubble() const;
72 72
73 // Shows the message center bubble. 73 // Shows the message center bubble.
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(wm::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 bool 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;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698