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

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

Issue 2036353002: mash: Move ash/common/wm/shelf to ash/common/shelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 4 years, 6 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(user::LoginStatus login_status);
81 81
82 // Overridden from TrayBackgroundView. 82 // Overridden from TrayBackgroundView.
83 void SetShelfAlignment(wm::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;
91 91
92 // Overridden from views::TrayBubbleView::Delegate. 92 // Overridden from views::TrayBubbleView::Delegate.
93 void BubbleViewDestroyed() override; 93 void BubbleViewDestroyed() override;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698