Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(692)

Unified Diff: ui/wm/core/accelerator_filter.cc

Issue 1161853004: Revert "Converting (Alt+LeftClick -> RightClick) to (Search+LeftClick -> RightClick)" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/wm/core/accelerator_filter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/wm/core/accelerator_filter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698