Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / ui / views / controls / menu / menu_delegate.h
index fafccd7..c75a090 100644 (file)
@@ -209,6 +209,11 @@ class VIEWS_EXPORT MenuDelegate {
   virtual void DropMenuClosed(MenuItemView* menu) {
   }
 
+  // Returns true if the menu should close upon a drag completing. Defaults to
+  // true. This is only invoked for drag and drop operations performed on child
+  // Views that are not MenuItemViews.
+  virtual bool ShouldCloseOnDragComplete();
+
   // Notification that the user has highlighted the specified item.
   virtual void SelectionChanged(MenuItemView* menu) {
   }