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

Unified Diff: ui/views/controls/menu/menu_controller.h

Issue 9466028: aura: Repost click events that cause a menu to hide itself. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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_controller.h
diff --git a/ui/views/controls/menu/menu_controller.h b/ui/views/controls/menu/menu_controller.h
index a043d155e514cbcd38399e95585fef11c71d58ca..70bffaa7ec250b28f662ad400396f21b7d44c416 100644
--- a/ui/views/controls/menu/menu_controller.h
+++ b/ui/views/controls/menu/menu_controller.h
@@ -401,7 +401,7 @@ class VIEWS_EXPORT MenuController : public MessageLoop::Dispatcher {
// the title. Returns true if a match was selected and the menu should exit.
bool SelectByChar(char16 key);
-#if defined(OS_WIN) && !defined(USE_AURA)
+#if defined(OS_WIN) || defined(USE_AURA)
// If there is a window at the location of the event, a new mouse event is
// generated and posted to it at the given location.
void RepostEvent(SubmenuView* source, const LocatedEvent& event);

Powered by Google App Engine
This is Rietveld 408576698