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

Unified Diff: public/web/WebInputEvent.h

Issue 558773002: Remove WebTouchEvent.targetTouches (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Cleanup and simplify Created 6 years, 3 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 | « Source/web/tests/WebInputEventConversionTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebInputEvent.h
diff --git a/public/web/WebInputEvent.h b/public/web/WebInputEvent.h
index 58c4a0bb39e1d8230b7d4ec08ad94a54f7d0dde5..6b2f319c36727ad14c2a9bb129f5e7fb166fe19d 100644
--- a/public/web/WebInputEvent.h
+++ b/public/web/WebInputEvent.h
@@ -488,17 +488,14 @@ public:
enum { touchesLengthCap = 12 };
unsigned touchesLength;
- // List of all touches which are currently down.
+ // List of all touches, regardless of state.
WebTouchPoint touches[touchesLengthCap];
+ // FIXME: Remove after eliminating downstream references, crbug.com/358132.
unsigned changedTouchesLength;
// List of all touches whose state has changed since the last WebTouchEvent
WebTouchPoint changedTouches[touchesLengthCap];
- unsigned targetTouchesLength;
- // List of all touches which are currently down and are targeting the event recipient.
- WebTouchPoint targetTouches[touchesLengthCap];
-
// Whether the event can be canceled (with preventDefault). If true then the browser
// must wait for an ACK for this event. If false then no ACK IPC is expected.
// See comment at the top for why an int is used here instead of a bool.
@@ -508,7 +505,6 @@ public:
: WebInputEvent(sizeof(WebTouchEvent))
, touchesLength(0)
, changedTouchesLength(0)
- , targetTouchesLength(0)
, cancelable(true)
{
}
« no previous file with comments | « Source/web/tests/WebInputEventConversionTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698