Index: ash/system/tray/tray_event_filter.cc |
diff --git a/ash/system/tray/tray_event_filter.cc b/ash/system/tray/tray_event_filter.cc |
index 5ed01225e4eba1cf62e882e81911547b89388c0b..b7a6d617ba471134484a54fea154a5b65018bda2 100644 |
--- a/ash/system/tray/tray_event_filter.cc |
+++ b/ash/system/tray/tray_event_filter.cc |
@@ -62,6 +62,13 @@ bool TrayEventFilter::ProcessLocatedEvent(ui::LocatedEvent* event) { |
->Contains(target)) { |
return false; |
} |
+ // Don't process events that occurred inside the status area widget and |
+ // a popup notification from message center. |
+ if (root_controller && |
+ root_controller->GetContainer(kShellWindowId_StatusContainer) |
+ ->Contains(target)) { |
+ return false; |
+ } |
} |
// Check the boundary for all wrappers, and do not handle the event if it |