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

Unified Diff: ash/system/web_notification/web_notification_tray.cc

Issue 1914793002: WIP: PointerWatcher for systray bubble (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eventobserver
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/web_notification/web_notification_tray.h ('k') | chrome/browser/ui/ash/chrome_shell_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/web_notification/web_notification_tray.cc
diff --git a/ash/system/web_notification/web_notification_tray.cc b/ash/system/web_notification/web_notification_tray.cc
index 1f2e461c95c567976f03fc0f74621244719ffb6d..6b7f2826d7e69f60b3f8952cc55f9c22c92800bb 100644
--- a/ash/system/web_notification/web_notification_tray.cc
+++ b/ash/system/web_notification/web_notification_tray.cc
@@ -457,13 +457,12 @@ void WebNotificationTray::UpdateTrayContent() {
SchedulePaint();
}
-bool WebNotificationTray::ClickedOutsideBubble() {
+void WebNotificationTray::ClickedOutsideBubble() {
// Only hide the message center
if (!message_center_bubble())
- return false;
+ return;
message_center_tray_->HideMessageCenterBubble();
- return true;
}
message_center::MessageCenter* WebNotificationTray::message_center() const {
« no previous file with comments | « ash/system/web_notification/web_notification_tray.h ('k') | chrome/browser/ui/ash/chrome_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698