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

Unified Diff: public/web/WebInputEvent.h

Issue 558773002: Remove WebTouchEvent.targetTouches (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updates 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
Index: public/web/WebInputEvent.h
diff --git a/public/web/WebInputEvent.h b/public/web/WebInputEvent.h
index 58c4a0bb39e1d8230b7d4ec08ad94a54f7d0dde5..17bb4d57a73d5dea6300d9e78318faef04624e1e 100644
--- a/public/web/WebInputEvent.h
+++ b/public/web/WebInputEvent.h
@@ -491,14 +491,11 @@ public:
// List of all touches which are currently down.
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)
{
}
« Source/web/WebInputEventConversion.cpp ('K') | « Source/web/tests/WebInputEventConversionTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698