| Index: ui/views/controls/button/button_dropdown.h
|
| diff --git a/ui/views/controls/button/button_dropdown.h b/ui/views/controls/button/button_dropdown.h
|
| index 2842b04990a42fae616e7c058ff6c4d0204e2160..f0a18faeebe3b309c34eaa5f8772ae83f509f933 100644
|
| --- a/ui/views/controls/button/button_dropdown.h
|
| +++ b/ui/views/controls/button/button_dropdown.h
|
| @@ -54,7 +54,8 @@ class VIEWS_EXPORT ButtonDropDown : public ImageButton,
|
|
|
| // Overridden from views::ContextMenuController
|
| virtual void ShowContextMenuForView(View* source,
|
| - const gfx::Point& point) OVERRIDE;
|
| + const gfx::Point& point,
|
| + ui::MenuSourceType source_type) OVERRIDE;
|
|
|
| protected:
|
| // Overridden from CustomButton. Returns true if the button should become
|
| @@ -67,7 +68,7 @@ class VIEWS_EXPORT ButtonDropDown : public ImageButton,
|
| virtual bool ShouldShowMenu();
|
|
|
| // Function to show the dropdown menu.
|
| - virtual void ShowDropDownMenu();
|
| + virtual void ShowDropDownMenu(ui::MenuSourceType source_type);
|
|
|
| private:
|
| // The model that populates the attached menu.
|
|
|