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

Issue 557863002: Remove references to WebTouchEvent.targetTouches (Closed)

Created:
6 years, 3 months ago by jdduke (slow)
Modified:
6 years, 3 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, tzik, binji+watch_chromium.org, jam, raymes+watch_chromium.org, teravest+watch_chromium.org, darin-cc_chromium.org, nfullagar1, piman+watch_chromium.org, noelallen1, jochen+watch_chromium.org, ihf+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/dd03ea640f54cd5b6e8b718cb4ab754918d9701a Cr-Commit-Position: refs/heads/master@{#294250}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Remove deprecation, populate TARGET touches #

Patch Set 3 : Cleanup #

Patch Set 4 : Unit tests #

Patch Set 5 : Minor tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -76 lines) Patch
M content/content_tests.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M content/renderer/pepper/event_conversion.h View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M content/renderer/pepper/event_conversion.cc View 1 2 3 4 4 chunks +82 lines, -70 lines 0 comments Download
A content/renderer/pepper/event_conversion_unittest.cc View 1 2 3 1 chunk +145 lines, -0 lines 0 comments Download
M content/shell/renderer/test_runner/test_plugin.cc View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (8 generated)
jdduke (slow)
dmichael@: Could you take a look, and perhaps offer some guidance on deprecation of enum ...
6 years, 3 months ago (2014-09-09 18:31:59 UTC) #2
dmichael (off chromium)
Our basic promise is that we don't break ABI compatibility. That means any app that's ...
6 years, 3 months ago (2014-09-09 19:38:46 UTC) #3
jdduke (slow)
On 2014/09/09 19:38:46, dmichael wrote: > Our basic promise is that we don't break ABI ...
6 years, 3 months ago (2014-09-09 20:05:29 UTC) #4
dmichael (off chromium)
On 2014/09/09 20:05:29, jdduke wrote: > On 2014/09/09 19:38:46, dmichael wrote: > > Our basic ...
6 years, 3 months ago (2014-09-09 20:13:56 UTC) #5
bokan
Logic looks good to me assuming this was correct before. However, with the lack of ...
6 years, 3 months ago (2014-09-09 20:17:38 UTC) #6
jdduke (slow)
dmichael@: OK, I think we can get away without deprecation while still avoiding the dependency ...
6 years, 3 months ago (2014-09-09 20:43:43 UTC) #9
jdduke (slow)
https://codereview.chromium.org/557863002/diff/1/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://codereview.chromium.org/557863002/diff/1/content/renderer/browser_plugin/browser_plugin.cc#newcode591 content/renderer/browser_plugin/browser_plugin.cc:591: if (touch_event->changedTouchesLength) On 2014/09/09 20:17:38, bokan wrote: > Nit: ...
6 years, 3 months ago (2014-09-09 20:52:24 UTC) #10
Fady Samuel
browser_plugin lgtm
6 years, 3 months ago (2014-09-09 20:59:18 UTC) #11
jdduke (slow)
Oops, actually adding pfeldman@ as reviewer now... pfeldman@: content/shell/renderer/test_runner/test_plugin.cc bokan@: I added a unit test ...
6 years, 3 months ago (2014-09-09 21:49:34 UTC) #13
bokan
On 2014/09/09 21:49:34, jdduke wrote: > Oops, actually adding pfeldman@ as reviewer now... > > ...
6 years, 3 months ago (2014-09-09 21:55:21 UTC) #14
dmichael (off chromium)
pepper lgtm. Thanks for the new unit test! We also have an integration test here: ...
6 years, 3 months ago (2014-09-09 23:03:30 UTC) #15
pfeldman
content/shell lgtm
6 years, 3 months ago (2014-09-10 18:39:34 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/557863002/120001
6 years, 3 months ago (2014-09-10 18:52:49 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/12271)
6 years, 3 months ago (2014-09-10 20:35:48 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/557863002/120001
6 years, 3 months ago (2014-09-10 21:01:56 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:120001) as 3e032755ee50674ad5011451f25b08662c5bdc10
6 years, 3 months ago (2014-09-10 22:59:14 UTC) #24
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 23:10:42 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/dd03ea640f54cd5b6e8b718cb4ab754918d9701a
Cr-Commit-Position: refs/heads/master@{#294250}

Powered by Google App Engine
This is Rietveld 408576698