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

Unified Diff: content/common/input/synthetic_web_input_event_builders.cc

Issue 247433003: Mark touchcancel events as uncancelable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/ui_events_helper.cc ('k') | content/renderer/pepper/event_conversion.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/input/synthetic_web_input_event_builders.cc
diff --git a/content/common/input/synthetic_web_input_event_builders.cc b/content/common/input/synthetic_web_input_event_builders.cc
index f5a8aa3f212d56e09cdc7fbae8a3127a1c90ee5d..8583496447c9e3e3c2705c4cc1e69da76ba30a91 100644
--- a/content/common/input/synthetic_web_input_event_builders.cc
+++ b/content/common/input/synthetic_web_input_event_builders.cc
@@ -192,6 +192,7 @@ void SyntheticWebTouchEvent::CancelPoint(int index) {
CHECK(index >= 0 && index < touchesLengthCap);
touches[index].state = WebTouchPoint::StateCancelled;
type = WebInputEvent::TouchCancel;
+ cancelable = false;
}
void SyntheticWebTouchEvent::SetTimestamp(base::TimeDelta timestamp) {
« no previous file with comments | « content/browser/renderer_host/ui_events_helper.cc ('k') | content/renderer/pepper/event_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698