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

Unified Diff: ui/views/controls/menu/menu_message_loop_mac.cc

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
Index: ui/views/controls/menu/menu_message_loop_mac.cc
diff --git a/ui/views/controls/menu/menu_message_loop_mac.cc b/ui/views/controls/menu/menu_message_loop_mac.cc
index c443ce9beb40c0aa6390806359747b1565606ff7..6d3afb77acc5aecb9577267554cbeb22e0d2c5c5 100644
--- a/ui/views/controls/menu/menu_message_loop_mac.cc
+++ b/ui/views/controls/menu/menu_message_loop_mac.cc
@@ -18,7 +18,7 @@ MenuMessageLoop* MenuMessageLoop::Create() {
}
// static
-void MenuMessageLoop::RepostEventToWindow(const ui::LocatedEvent& event,
+void MenuMessageLoop::RepostEventToWindow(const ui::LocatedEvent* event,
gfx::NativeWindow window,
const gfx::Point& screen_loc) {
NOTIMPLEMENTED();

Powered by Google App Engine
This is Rietveld 408576698