| Index: ui/wm/core/accelerator_filter.cc
|
| diff --git a/ui/wm/core/accelerator_filter.cc b/ui/wm/core/accelerator_filter.cc
|
| index 03ea898737df0f39963032d3863a04f738ecb66c..21f10d5bf05ab67b807da977ad3d66f9f95fd32e 100644
|
| --- a/ui/wm/core/accelerator_filter.cc
|
| +++ b/ui/wm/core/accelerator_filter.cc
|
| @@ -46,4 +46,11 @@ void AcceleratorFilter::OnKeyEvent(ui::KeyEvent* event) {
|
| event->StopPropagation();
|
| }
|
|
|
| +void AcceleratorFilter::OnMouseEvent(ui::MouseEvent* event) {
|
| + if (event->type() == ui::ET_MOUSE_PRESSED ||
|
| + event->type() == ui::ET_MOUSE_RELEASED) {
|
| + accelerator_history_->InterruptCurrentAccelerator();
|
| + }
|
| +}
|
| +
|
| } // namespace wm
|
|
|