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

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

Issue 249113002: MacViews: Adds NativeWidgetMac and gets views target compiling on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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: ui/views/controls/menu/menu_host.cc
diff --git a/ui/views/controls/menu/menu_host.cc b/ui/views/controls/menu/menu_host.cc
index ad7915a22eedc3207188a94bfe539a6527e2be6b..98f71e2c24eb8d8f6689985c8a727177b3bef9c6 100644
--- a/ui/views/controls/menu/menu_host.cc
+++ b/ui/views/controls/menu/menu_host.cc
@@ -72,7 +72,9 @@ void MenuHost::ShowMenuHost(bool do_capture) {
if (do_capture) {
// Cancel existing touches, so we don't miss some touch release/cancel
// events due to the menu taking capture.
+#ifdef USE_AURA
ui::GestureRecognizer::Get()->TransferEventsTo(NULL, NULL);
+#endif
tapted 2014/05/21 09:40:29 This is to resolve Undefined symbols for architec
Andre 2014/05/21 17:13:31 That symbol was defined the last time I tried to b
tapted 2014/05/22 12:50:14 I poked at this a bit. Tried out just compiling th
native_widget_private()->SetCapture();
}
}

Powered by Google App Engine
This is Rietveld 408576698