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

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

Issue 2092343002: Touch HUD app for mustash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/common/system/tray/tray_event_filter.h
diff --git a/ash/common/system/tray/tray_event_filter.h b/ash/common/system/tray/tray_event_filter.h
index 88a5ba8085c61a5daf12914a73c113d5e43c8d24..5c86d97cf02eeb4d8b751c5b9845a1eef14463b5 100644
--- a/ash/common/system/tray/tray_event_filter.h
+++ b/ash/common/system/tray/tray_event_filter.h
@@ -32,12 +32,21 @@ class TrayEventFilter : public views::PointerWatcher {
void RemoveWrapper(TrayBubbleWrapper* wrapper);
// views::PointerWatcher:
- void OnMousePressed(const ui::MouseEvent& event,
- const gfx::Point& location_in_screen,
- views::Widget* target) override;
- void OnTouchPressed(const ui::TouchEvent& event,
- const gfx::Point& location_in_screen,
- views::Widget* target) override;
+ void OnMousePressObserved(const ui::MouseEvent& event,
+ const gfx::Point& location_in_screen,
+ views::Widget* target) override;
+ void OnTouchPressObserved(const ui::TouchEvent& event,
+ const gfx::Point& location_in_screen,
+ views::Widget* target) override;
+ void OnTouchReleaseObserved(const ui::TouchEvent& event,
+ const gfx::Point& location_in_screen,
+ views::Widget* target) override;
+ void OnTouchMoveObserved(const ui::TouchEvent& event,
+ const gfx::Point& location_in_screen,
+ views::Widget* target) override;
+ void OnTouchCancellObserved(const ui::TouchEvent& event,
+ const gfx::Point& location_in_screen,
+ views::Widget* target) override;
private:
void ProcessPressedEvent(const gfx::Point& location_in_screen,
« no previous file with comments | « no previous file | ash/common/system/tray/tray_event_filter.cc » ('j') | components/mus/public/interfaces/event_matcher.mojom » ('J')

Powered by Google App Engine
This is Rietveld 408576698