Chromium Code Reviews| Index: chrome/browser/ui/views/toolbar/toolbar_action_view.cc |
| diff --git a/chrome/browser/ui/views/toolbar/toolbar_action_view.cc b/chrome/browser/ui/views/toolbar/toolbar_action_view.cc |
| index e11905b73c53ffe2e8459523ec144913f83f1fbe..5e97de20ce7c8590251974c214772eb430f533b4 100644 |
| --- a/chrome/browser/ui/views/toolbar/toolbar_action_view.cc |
| +++ b/chrome/browser/ui/views/toolbar/toolbar_action_view.cc |
| @@ -231,6 +231,10 @@ bool ToolbarActionView::OnMousePressed(const ui::MouseEvent& event) { |
| return MenuButton::OnMousePressed(event); |
| } |
| +void ToolbarActionView::OnMouseCaptureLost() { |
| + ink_drop_delegate()->OnAction(views::InkDropState::HIDDEN); |
|
Devlin
2015/12/10 22:18:22
Why are these in ToolbarActionView, instead of Cus
varkha
2015/12/11 02:09:43
Done.
|
| +} |
| + |
| void ToolbarActionView::OnGestureEvent(ui::GestureEvent* event) { |
| // While the dropdown menu is showing, the button should not handle gestures. |
| if (menu_) |