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

Unified Diff: ui/aura/window_event_dispatcher.cc

Issue 1017473002: [Merge] Make mouse buttons 8 - 11 navigate forward and back in history (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2311
Patch Set: Created 5 years, 9 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 | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | ui/events/event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_event_dispatcher.cc
diff --git a/ui/aura/window_event_dispatcher.cc b/ui/aura/window_event_dispatcher.cc
index a21236ac38558d4daa23c68c62f3bf8a84b1032a..fcd55e02c0064c9ee9d52d7eb35e0bd0bad8c282 100644
--- a/ui/aura/window_event_dispatcher.cc
+++ b/ui/aura/window_event_dispatcher.cc
@@ -778,7 +778,9 @@ void WindowEventDispatcher::PreDispatchMouseEvent(Window* target,
const int kMouseButtonFlagMask = ui::EF_LEFT_MOUSE_BUTTON |
ui::EF_MIDDLE_MOUSE_BUTTON |
- ui::EF_RIGHT_MOUSE_BUTTON;
+ ui::EF_RIGHT_MOUSE_BUTTON |
+ ui::EF_BACK_MOUSE_BUTTON |
+ ui::EF_FORWARD_MOUSE_BUTTON;
switch (event->type()) {
case ui::ET_MOUSE_EXITED:
if (!target || target == window()) {
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | ui/events/event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698