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 cb0f198806e8422c3ef94b9d478ba14aae67a1c4..ae575463533e2a4ab2930b2219596ddfda04e502 100644 |
--- a/ui/views/controls/menu/menu_controller.h |
+++ b/ui/views/controls/menu/menu_controller.h |
@@ -412,9 +412,10 @@ class VIEWS_EXPORT MenuController |
// 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)) || defined(OS_CHROMEOS) |
// 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. |
+ // For Chromeos it applies also to the background window, i.e. always. |
void RepostEvent(SubmenuView* source, const ui::LocatedEvent& event); |
#endif |