| Index: chrome/browser/ui/views/toolbar/toolbar_action_view.h
|
| diff --git a/chrome/browser/ui/views/toolbar/toolbar_action_view.h b/chrome/browser/ui/views/toolbar/toolbar_action_view.h
|
| index aaaddb08d0c7c7e38d1cde030ddd8c939790732d..bf19e1e6649686e70451fd8121d4b57208b5246f 100644
|
| --- a/chrome/browser/ui/views/toolbar/toolbar_action_view.h
|
| +++ b/chrome/browser/ui/views/toolbar/toolbar_action_view.h
|
| @@ -56,6 +56,9 @@ class ToolbarActionView : public views::MenuButton,
|
| // reference point for a popup when this view isn't visible.
|
| virtual views::MenuButton* GetOverflowReferenceView() = 0;
|
|
|
| + // Notifies the delegate that the mouse entered the view.
|
| + virtual void OnMouseEnteredToolbarActionView() = 0;
|
| +
|
| protected:
|
| ~Delegate() override {}
|
| };
|
| @@ -86,6 +89,7 @@ class ToolbarActionView : public views::MenuButton,
|
| // menu buttons only enter a pressed state on release (if they're draggable).
|
| // We should probably just pick a behavior, and stick to it.
|
| bool Activate() override;
|
| + void OnMouseEntered(const ui::MouseEvent& event) override;
|
| bool OnMousePressed(const ui::MouseEvent& event) override;
|
| void OnMouseReleased(const ui::MouseEvent& event) override;
|
| void OnMouseExited(const ui::MouseEvent& event) override;
|
|
|