Index: ui/views/bubble/tray_bubble_view.cc |
diff --git a/ui/views/bubble/tray_bubble_view.cc b/ui/views/bubble/tray_bubble_view.cc |
index 46eebae8b028a3e95ceb7d357b08bfebfb71b686..b37dd8b2c55e0e2c442ffd653ac0bf9fc40723d6 100644 |
--- a/ui/views/bubble/tray_bubble_view.cc |
+++ b/ui/views/bubble/tray_bubble_view.cc |
@@ -393,6 +393,13 @@ void TrayBubbleView::GetAccessibleNodeData(ui::AXNodeData* node_data) { |
} |
} |
+void TrayBubbleView::OnGestureEvent(ui::GestureEvent* event) { |
+ if (delegate_ && delegate_->ProcessGestureEventForBubble(event)) |
+ event->SetHandled(); |
+ else |
+ BubbleDialogDelegateView::OnGestureEvent(event); |
+} |
+ |
void TrayBubbleView::MouseMovedOutOfHost() { |
// The mouse was accidentally over the bubble when it opened and the AutoClose |
// logic was not activated. Now that the user did move the mouse we tell the |