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

Unified Diff: ash/shelf/overflow_bubble.cc

Issue 1957653003: mash: Don't close system tray bubble for clicks in menus/notifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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
Index: ash/shelf/overflow_bubble.cc
diff --git a/ash/shelf/overflow_bubble.cc b/ash/shelf/overflow_bubble.cc
index c87f77a083bd219a6ceb8c28fc286def91991379..056853c424132a10e4fe4caf7e6249915e10adbb 100644
--- a/ash/shelf/overflow_bubble.cc
+++ b/ash/shelf/overflow_bubble.cc
@@ -71,13 +71,13 @@ void OverflowBubble::ProcessPressedEvent(
}
}
-void OverflowBubble::OnMousePressed(const ui::MouseEvent& event,
- const gfx::Point& location_in_screen) {
+void OverflowBubble::OnMousePressed(const gfx::Point& location_in_screen,
+ views::Widget* target) {
ProcessPressedEvent(location_in_screen);
}
-void OverflowBubble::OnTouchPressed(const ui::TouchEvent& event,
- const gfx::Point& location_in_screen) {
+void OverflowBubble::OnTouchPressed(const gfx::Point& location_in_screen,
+ views::Widget* target) {
ProcessPressedEvent(location_in_screen);
}

Powered by Google App Engine
This is Rietveld 408576698