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

Unified Diff: ui/aura/window_event_dispatcher.h

Issue 1565013002: Don't send touch events to windows like menus when the touch occurs outside the menu bounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore DCHECK Created 4 years, 11 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 | ui/aura/window_event_dispatcher.cc » ('j') | ui/views/controls/menu/menu_controller.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_event_dispatcher.h
diff --git a/ui/aura/window_event_dispatcher.h b/ui/aura/window_event_dispatcher.h
index ccd5b267133d5d37b09c496ef1bc1837b2306034..3ea98331118b76c01a442f45d8e823a08157d111 100644
--- a/ui/aura/window_event_dispatcher.h
+++ b/ui/aura/window_event_dispatcher.h
@@ -71,9 +71,9 @@ class AURA_EXPORT WindowEventDispatcher : public ui::EventProcessor,
Window* mouse_moved_handler() { return mouse_moved_handler_; }
// Repost event for re-processing. Used when exiting context menus.
- // We only support the ET_MOUSE_PRESSED and ET_GESTURE_TAP_DOWN event
- // types (although the latter is currently a no-op).
- void RepostEvent(const ui::LocatedEvent& event);
+ // We support the ET_MOUSE_PRESSED, ET_TOUCH_PRESSED and ET_GESTURE_TAP_DOWN
+ // event types (although the latter is currently a no-op).
+ void RepostEvent(const ui::LocatedEvent* event);
// Invoked when the mouse events get enabled or disabled.
void OnMouseEventsEnableStateChanged(bool enabled);
« no previous file with comments | « no previous file | ui/aura/window_event_dispatcher.cc » ('j') | ui/views/controls/menu/menu_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698