| Index: ui/views/context_menu_controller.h
|
| diff --git a/ui/views/context_menu_controller.h b/ui/views/context_menu_controller.h
|
| index 23ebd2730d0bd4a07aa9d548377a162f3f8070eb..87eec37e18316b136b0f2b6d07f0069e9909d747 100644
|
| --- a/ui/views/context_menu_controller.h
|
| +++ b/ui/views/context_menu_controller.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef UI_VIEWS_CONTEXT_MENU_CONTROLLER_H_
|
| #define UI_VIEWS_CONTEXT_MENU_CONTROLLER_H_
|
|
|
| +#include "ui/base/ui_base_types.h"
|
| #include "ui/views/views_export.h"
|
|
|
| namespace gfx {
|
| @@ -29,8 +30,10 @@ class VIEWS_EXPORT ContextMenuController {
|
| public:
|
| // Invoked to show the context menu for |source|.
|
| // |point| is in screen coordinates.
|
| - virtual void ShowContextMenuForView(View* source,
|
| - const gfx::Point& point) = 0;
|
| + virtual void ShowContextMenuForView(
|
| + View* source,
|
| + const gfx::Point& point,
|
| + ui::ContextMenuSourceType source_type) = 0;
|
|
|
| protected:
|
| virtual ~ContextMenuController() {}
|
|
|