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

Unified Diff: ash/system/tray/tray_event_filter.h

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/system/tray/tray_event_filter.h
diff --git a/ash/system/tray/tray_event_filter.h b/ash/system/tray/tray_event_filter.h
index c38dd2b23a0f931f9b5ab0f11df0eefc0333e28c..dd73f6a0e3b1a9739c3e7de493574db80468bd10 100644
--- a/ash/system/tray/tray_event_filter.h
+++ b/ash/system/tray/tray_event_filter.h
@@ -32,14 +32,14 @@ class TrayEventFilter : public views::PointerWatcher {
void RemoveWrapper(TrayBubbleWrapper* wrapper);
// views::PointerWatcher:
- void OnMousePressed(const ui::MouseEvent& event,
- const gfx::Point& location_in_screen) override;
- void OnTouchPressed(const ui::TouchEvent& event,
- const gfx::Point& location_in_screen) override;
+ void OnMousePressed(const gfx::Point& location_in_screen,
+ views::Widget* target) override;
+ void OnTouchPressed(const gfx::Point& location_in_screen,
+ views::Widget* target) override;
private:
- void ProcessLocatedEvent(const ui::LocatedEvent& event,
- const gfx::Point& location_in_screen);
+ void ProcessPressedEvent(const gfx::Point& location_in_screen,
+ views::Widget* target);
std::set<TrayBubbleWrapper*> wrappers_;

Powered by Google App Engine
This is Rietveld 408576698