Index: ui/wm/core/accelerator_filter.cc |
diff --git a/ui/wm/core/accelerator_filter.cc b/ui/wm/core/accelerator_filter.cc |
index 20eb9a54e5545bb3bff071b7710d34de2b3534e1..93a9225d74b2ad20c8a4a497e654ae06bad60dd2 100644 |
--- a/ui/wm/core/accelerator_filter.cc |
+++ b/ui/wm/core/accelerator_filter.cc |
@@ -71,17 +71,4 @@ void AcceleratorFilter::OnKeyEvent(ui::KeyEvent* event) { |
event->StopPropagation(); |
} |
-void AcceleratorFilter::OnMouseEvent(ui::MouseEvent* event) { |
- // When a mouse event is interleaved between two key accelerators, we must |
- // store this event as an empty default accelerator in the accelerator |
- // history, so that the |AcceleratorController| can notice that something |
- // actually happened between those two key accelerators. |
- // Non-real synthesized mouse events should be ignored because we don't want |
- // them to interfere with tracking the key accelerator. |
- if (event->flags() & ui::EF_IS_SYNTHESIZED) |
- return; |
- |
- accelerator_history_->StoreCurrentAccelerator(ui::Accelerator()); |
-} |
- |
} // namespace wm |