Index: ui/views/controls/menu/menu_delegate.h |
diff --git a/ui/views/controls/menu/menu_delegate.h b/ui/views/controls/menu/menu_delegate.h |
index 6c51d5948b476685f17c7541ed2e1feab6c57517..9a6860e2c45e611dfe35ddbe7ac8ade6f63703c1 100644 |
--- a/ui/views/controls/menu/menu_delegate.h |
+++ b/ui/views/controls/menu/menu_delegate.h |
@@ -213,6 +213,10 @@ class VIEWS_EXPORT MenuDelegate { |
// Views that are not MenuItemViews. |
virtual bool ShouldCloseOnDragComplete(); |
+ // Returns true if a subview is performing a drag and drop operation, and the |
+ // menu shouldn't be closed. |
+ virtual bool InNestedDrag(); |
+ |
// Notification that the user has highlighted the specified item. |
virtual void SelectionChanged(MenuItemView* menu) { |
} |