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

Unified Diff: ui/arc/notification/arc_custom_notification_view.cc

Issue 2800383003: [Notifications] Drop tap gestures for ArcCustomNotificationView. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/arc/notification/arc_custom_notification_view.cc
diff --git a/ui/arc/notification/arc_custom_notification_view.cc b/ui/arc/notification/arc_custom_notification_view.cc
index 39c3c6e4337eb5797c2e18d6bbb02ad7862aee98..8e4fdbb5809db135a223056eb549d127e201687d 100644
--- a/ui/arc/notification/arc_custom_notification_view.cc
+++ b/ui/arc/notification/arc_custom_notification_view.cc
@@ -44,6 +44,12 @@ class ArcCustomNotificationView::EventForwarder : public ui::EventHandler {
return;
}
+ // Tap gestures are handled on the Android side, so drop them here.
+ // See crbug.com/709911.
+ if (event->type() == ui::ET_GESTURE_TAP) {
+ return;
+ }
+
if (event->IsScrollEvent()) {
ForwardScrollEvent(event->AsScrollEvent());
} else if (event->IsMouseWheelEvent()) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698