Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / views / extensions / browser_action_overflow_menu_controller.h
index 6203c79..2744891 100644 (file)
@@ -41,16 +41,20 @@ class BrowserActionOverflowMenuController : public views::MenuDelegate {
       Browser* browser,
       views::MenuButton* menu_button,
       const std::vector<BrowserActionView*>& views,
-      int start_index);
+      int start_index,
+      bool for_drop);
 
   void set_observer(Observer* observer) { observer_ = observer; }
 
   // Shows the overflow menu.
-  bool RunMenu(views::Widget* widget, bool for_drop);
+  bool RunMenu(views::Widget* widget);
 
   // Closes the overflow menu (and its context menu if open as well).
   void CancelMenu();
 
+  // Notify the menu that the associated BrowserActionViews have been deleted.
+  void NotifyBrowserActionViewsDeleting();
+
   // Overridden from views::MenuDelegate:
   virtual bool IsCommandEnabled(int id) const OVERRIDE;
   virtual void ExecuteCommand(int id) OVERRIDE;