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

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

Issue 2651723002: Remove dead code related to Notification View Bubble (Closed)
Patch Set: add few more lines Created 3 years, 11 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_COMMON_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ 5 #ifndef ASH_COMMON_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_
6 #define ASH_COMMON_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ 6 #define ASH_COMMON_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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 // Returns the current tray bubble height or 0 if there is no bubble. 63 // Returns the current tray bubble height or 0 if there is no bubble.
64 int tray_bubble_height_for_test() const; 64 int tray_bubble_height_for_test() const;
65 65
66 // Returns true if it should block the auto hide behavior of the shelf. 66 // Returns true if it should block the auto hide behavior of the shelf.
67 bool ShouldBlockShelfAutoHide() const; 67 bool ShouldBlockShelfAutoHide() const;
68 68
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 // Returns true if the mouse is inside the notification bubble.
73 bool IsMouseInNotificationBubble() const;
74
75 // Shows the message center bubble. 72 // Shows the message center bubble.
76 void ShowMessageCenterBubble(); 73 void ShowMessageCenterBubble();
77 74
78 // Called when the login status is changed. 75 // Called when the login status is changed.
79 void UpdateAfterLoginStatusChange(LoginStatus login_status); 76 void UpdateAfterLoginStatusChange(LoginStatus login_status);
80 77
81 // Overridden from TrayBackgroundView. 78 // Overridden from TrayBackgroundView.
82 void SetShelfAlignment(ShelfAlignment alignment) override; 79 void SetShelfAlignment(ShelfAlignment alignment) override;
83 void AnchorUpdated() override; 80 void AnchorUpdated() override;
84 base::string16 GetAccessibleNameForTray() override; 81 base::string16 GetAccessibleNameForTray() override;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 bool should_block_shelf_auto_hide_; 181 bool should_block_shelf_auto_hide_;
185 182
186 std::unique_ptr<AshPopupAlignmentDelegate> popup_alignment_delegate_; 183 std::unique_ptr<AshPopupAlignmentDelegate> popup_alignment_delegate_;
187 184
188 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); 185 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray);
189 }; 186 };
190 187
191 } // namespace ash 188 } // namespace ash
192 189
193 #endif // ASH_COMMON_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_ 190 #endif // ASH_COMMON_SYSTEM_WEB_NOTIFICATION_WEB_NOTIFICATION_TRAY_H_
OLDNEW
« no previous file with comments | « ash/common/system/tray/system_tray.cc ('k') | ash/common/system/web_notification/web_notification_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698