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 1a4c195a74b200bdc90e1c8e97c9603d86154eac..a89693fd24839405a6e9a4c457904ee0bc0af42c 100644 |
--- a/ui/views/controls/menu/menu_controller.h |
+++ b/ui/views/controls/menu/menu_controller.h |
@@ -402,6 +402,10 @@ class VIEWS_EXPORT MenuController : public WidgetObserver { |
void StartCancelAllTimer(); |
void StopCancelAllTimer(); |
+ // Closes the menu because an in-progress drag-and-drop operation left the |
+ // bounds of the active menu view. |
+ void CancelAllForDrag(); |
+ |
// Calculates the bounds of the menu to show. is_leading is set to match the |
// direction the menu opened in. |
gfx::Rect CalculateMenuBounds(MenuItemView* item, |