diff options
author | jdduke <jdduke@chromium.org> | 2014-09-10 15:53:19 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-10 23:03:11 +0000 |
commit | dd03ea640f54cd5b6e8b718cb4ab754918d9701a (patch) | |
tree | 4a3c4f1047d4618808ba071f453b28a51454af26 /content/shell | |
parent | a46326caf0eb6a4cb51e26dd9cd811984b392aa8 (diff) | |
download | chromium_src-dd03ea640f54cd5b6e8b718cb4ab754918d9701a.zip chromium_src-dd03ea640f54cd5b6e8b718cb4ab754918d9701a.tar.gz chromium_src-dd03ea640f54cd5b6e8b718cb4ab754918d9701a.tar.bz2 |
Remove references to WebTouchEvent.targetTouches
This field will soon be removed entirely, instead replaced by the
|WebTouchEvent.touches| field as the global container for all touches
offered to embedders. Use that field to populate Pepper's
changed and target touch lists, eliminating Pepper's dependency on
|WebTouchEvent.changedTouches| and |WebTouchEvent.targetTouches|.
This is part 1 of a 4-sided patch simplifying WebTouchEvent:
1) This change
2) https://codereview.chromium.org/558773002/
3) https://codereview.chromium.org/559693003/
4) https://codereview.chromium.org/560493003/
BUG=358132
Review URL: https://codereview.chromium.org/557863002
Cr-Commit-Position: refs/heads/master@{#294250}
Diffstat (limited to 'content/shell')
-rw-r--r-- | content/shell/renderer/test_runner/test_plugin.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/content/shell/renderer/test_runner/test_plugin.cc b/content/shell/renderer/test_runner/test_plugin.cc index 2572c4a..4ced675 100644 --- a/content/shell/renderer/test_runner/test_plugin.cc +++ b/content/shell/renderer/test_runner/test_plugin.cc @@ -99,8 +99,6 @@ void PrintEventDetails(WebTestDelegate* delegate, const blink::WebTouchEvent& touch = static_cast<const blink::WebTouchEvent&>(event); PrintTouchList(delegate, touch.touches, touch.touchesLength); - PrintTouchList(delegate, touch.changedTouches, touch.changedTouchesLength); - PrintTouchList(delegate, touch.targetTouches, touch.targetTouchesLength); } else if (blink::WebInputEvent::isMouseEventType(event.type) || event.type == blink::WebInputEvent::MouseWheel) { const blink::WebMouseEvent& mouse = |