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..6c2303a6793a72bdf39e4a7faa89e642a4dc7275 100644 |
--- a/ui/views/controls/menu/menu_controller.h |
+++ b/ui/views/controls/menu/menu_controller.h |
@@ -402,6 +402,9 @@ class VIEWS_EXPORT MenuController : public WidgetObserver { |
void StartCancelAllTimer(); |
void StopCancelAllTimer(); |
+ // Closes the menu because a drag left the view. |
Finnur
2014/07/18 10:40:40
Drag (noun), pronounced /drag/.
"a boring or tires
Devlin
2014/07/18 15:44:32
Haha fair enough. :) I'd like to stick to drag-an
Finnur
2014/07/18 15:53:51
Yup, what you have now is good.
|
+ 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, |