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

Unified Diff: content/browser/renderer_host/render_widget_host_view_win.cc

Issue 11416176: Javascript TouchEvents now get key state mods. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_win.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_win.cc b/content/browser/renderer_host/render_widget_host_view_win.cc
index e42bbac70f19abfbbc91aa2acca6e2d78e1c31a9..ef9dfef14ae02823b2d542f9634ada653b4c51c1 100644
--- a/content/browser/renderer_host/render_widget_host_view_win.cc
+++ b/content/browser/renderer_host/render_widget_host_view_win.cc
@@ -1904,6 +1904,8 @@ size_t WebTouchState::UpdateTouchPoints(
}
}
touch_event_.changedTouchesLength = 0;
+ touch_event_.modifiers = content::EventFlagsToWebEventModifiers(
+ ui::GetModifiersFromKeyState());
// Consume all events of the same type and add them to the changed list.
int last_type = 0;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698