| 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 524fb9525cedfeabefa855b52dad6f68772f4f7d..935cb50b16e344dd5e88d374b4a3a1b2d67f32f7 100644
|
| --- a/chrome/browser/ui/views/toolbar/toolbar_action_view.cc
|
| +++ b/chrome/browser/ui/views/toolbar/toolbar_action_view.cc
|
| @@ -225,8 +225,12 @@ gfx::Size ToolbarActionView::GetPreferredSize() const {
|
|
|
| bool ToolbarActionView::OnMousePressed(const ui::MouseEvent& event) {
|
| // views::MenuButton actions are only triggered by left mouse clicks.
|
| - if (event.IsOnlyLeftMouseButton())
|
| + if (event.IsOnlyLeftMouseButton()) {
|
| + // TODO(bruthig): The ACTION_PENDING triggering logic should be in
|
| + // MenuButton::OnPressed() however there is a bug with the pressed state
|
| + // logic in MenuButton. See http://crbug.com/567252.
|
| ink_drop_delegate()->OnAction(views::InkDropState::ACTION_PENDING);
|
| + }
|
| return MenuButton::OnMousePressed(event);
|
| }
|
|
|
|
|