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

Unified Diff: Source/core/events/TouchEvent.h

Issue 247483002: Allow touch events to be uncancelable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix build on some platforms 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 | « no previous file | Source/core/events/TouchEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/TouchEvent.h
diff --git a/Source/core/events/TouchEvent.h b/Source/core/events/TouchEvent.h
index 03ae6b575e84096a850f9d10b9765728fd06d945..b33060dcc7439d2c5fe29f58cb70e0c703aeeea6 100644
--- a/Source/core/events/TouchEvent.h
+++ b/Source/core/events/TouchEvent.h
@@ -45,11 +45,11 @@ public:
TouchList* targetTouches, TouchList* changedTouches,
const AtomicString& type, PassRefPtrWillBeRawPtr<AbstractView> view,
int screenX, int screenY, int pageX, int pageY,
- bool ctrlKey, bool altKey, bool shiftKey, bool metaKey)
+ bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool cancelable)
{
return adoptRefWillBeNoop(new TouchEvent(touches, targetTouches, changedTouches,
type, view, screenX, screenY, pageX, pageY,
- ctrlKey, altKey, shiftKey, metaKey));
+ ctrlKey, altKey, shiftKey, metaKey, cancelable));
}
void initTouchEvent(TouchList* touches, TouchList* targetTouches,
@@ -78,7 +78,7 @@ private:
TouchList* changedTouches, const AtomicString& type,
PassRefPtrWillBeRawPtr<AbstractView>, int screenX, int screenY, int pageX,
int pageY,
- bool ctrlKey, bool altKey, bool shiftKey, bool metaKey);
+ bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool cancelable);
RefPtrWillBeMember<TouchList> m_touches;
RefPtrWillBeMember<TouchList> m_targetTouches;
« no previous file with comments | « no previous file | Source/core/events/TouchEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698