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

Issue 2844823002: Support Coalesced Touch in ppapi (Closed)

Created:
3 years, 8 months ago by jkwang
Modified:
3 years, 6 months ago
CC:
binji+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-events_chromium.org, bradnelson+warch_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, dtapuska+blinkwatch_chromium.org, eae+blinkwatch, ihf+watch_chromium.org, jam, kinuko+watch, mlamouri+watch-content_chromium.org, Navid Zolghadr, piman+watch_chromium.org, teravest+watch_chromium.org, tzik, yusukes+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Support Coalesced Touch in ppapi This patch route coalesced events through webplugin interface. The coalesced touch events will be dispatched to nacl when client request PP_INPUTEVENT_CLASS_COALESCED_TOUCH. BUG=720529 Review-Url: https://codereview.chromium.org/2844823002 Cr-Commit-Position: refs/heads/master@{#471909} Committed: https://chromium.googlesource.com/chromium/src/+/8e72a1beacc36f4f0e4d9cb3e4404cf8d896d931

Patch Set 1 #

Total comments: 4

Patch Set 2 : Support Coalesced Touch in ppapi #

Total comments: 6

Patch Set 3 : Support Coalesced Touch in ppapi #

Patch Set 4 : Support Coalesced Touch in ppapi #

Total comments: 4

Patch Set 5 : Support Coalesced Touch in ppapi #

Patch Set 6 : Support Coalesced Touch in ppapi #

Total comments: 4

Patch Set 7 : Support Coalesced Touch in ppapi #

Total comments: 1

Patch Set 8 : Support Coalesced Touch in ppapi #

Patch Set 9 : Support Coalesced Touch in ppapi #

Unified diffs Side-by-side diffs Delta from patch set Stats (+230 lines, -62 lines) Patch
M components/plugins/renderer/webview_plugin.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M components/plugins/renderer/webview_plugin.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.h View 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 2 3 4 5 2 chunks +17 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_webplugin_impl.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/pepper_webplugin_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -2 lines 0 comments Download
M content/shell/test_runner/test_plugin.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/shell/test_runner/test_plugin.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M ppapi/api/ppb_input_event.idl View 1 chunk +10 lines, -1 line 0 comments Download
M ppapi/c/ppb_input_event.h View 2 chunks +10 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/events/TouchEvent.h View 1 2 3 4 5 6 7 8 4 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/events/TouchEvent.cpp View 1 2 3 4 5 6 7 8 6 chunks +13 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/events/TouchEventTest.cpp View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.cpp View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/TouchEventManager.h View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/TouchEventManager.cpp View 1 2 3 4 5 6 7 8 6 chunks +13 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebCoalescedInputEvent.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebPluginContainerImpl.h View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebPluginContainerImpl.cpp View 1 2 3 4 5 6 7 8 7 chunks +49 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/web/tests/FakeWebPlugin.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp View 1 2 3 4 5 6 7 8 3 chunks +66 lines, -2 lines 0 comments Download
M third_party/WebKit/public/platform/WebCoalescedInputEvent.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebPlugin.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 85 (40 generated)
Navid Zolghadr
https://codereview.chromium.org/2844823002/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/2844823002/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode1128 content/renderer/pepper/pepper_plugin_instance_impl.cc:1128: // event.Event(). Is there any reason you are only ...
3 years, 7 months ago (2017-05-01 15:53:33 UTC) #4
bbudge
Will this work when the plugin is fullscreen? It seems like the old HandleInputEvent routine ...
3 years, 7 months ago (2017-05-01 18:49:06 UTC) #5
jkwang
https://codereview.chromium.org/2844823002/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/2844823002/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode1128 content/renderer/pepper/pepper_plugin_instance_impl.cc:1128: // event.Event(). On 2017/05/01 15:53:33, Navid Zolghadr wrote: > ...
3 years, 7 months ago (2017-05-02 18:59:15 UTC) #6
Navid Zolghadr
https://codereview.chromium.org/2844823002/diff/20001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/2844823002/diff/20001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode1122 content/renderer/pepper/pepper_plugin_instance_impl.cc:1122: bool result = HandleInputEvent(event.Event(), cursor_info); One thing here. Note ...
3 years, 7 months ago (2017-05-02 19:17:40 UTC) #7
dtapuska
On 2017/05/02 18:59:15, jkwang wrote: > https://codereview.chromium.org/2844823002/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc > File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): > > https://codereview.chromium.org/2844823002/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode1128 > ...
3 years, 7 months ago (2017-05-02 19:18:27 UTC) #8
jkwang
On 2017/05/02 19:18:27, dtapuska wrote: > On 2017/05/02 18:59:15, jkwang wrote: > > > https://codereview.chromium.org/2844823002/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc ...
3 years, 7 months ago (2017-05-02 20:27:44 UTC) #9
jkwang
https://codereview.chromium.org/2844823002/diff/20001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/2844823002/diff/20001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode1122 content/renderer/pepper/pepper_plugin_instance_impl.cc:1122: bool result = HandleInputEvent(event.Event(), cursor_info); On 2017/05/02 19:17:40, Navid ...
3 years, 7 months ago (2017-05-02 22:27:05 UTC) #10
Navid Zolghadr
https://codereview.chromium.org/2844823002/diff/20001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/2844823002/diff/20001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode1122 content/renderer/pepper/pepper_plugin_instance_impl.cc:1122: bool result = HandleInputEvent(event.Event(), cursor_info); On 2017/05/02 22:27:04, jkwang ...
3 years, 7 months ago (2017-05-02 23:57:57 UTC) #11
jkwang
https://codereview.chromium.org/2844823002/diff/20001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/2844823002/diff/20001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode1122 content/renderer/pepper/pepper_plugin_instance_impl.cc:1122: bool result = HandleInputEvent(event.Event(), cursor_info); On 2017/05/02 23:57:56, Navid ...
3 years, 7 months ago (2017-05-03 00:36:00 UTC) #12
Navid Zolghadr
https://codereview.chromium.org/2844823002/diff/20001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/2844823002/diff/20001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode1122 content/renderer/pepper/pepper_plugin_instance_impl.cc:1122: bool result = HandleInputEvent(event.Event(), cursor_info); On 2017/05/03 00:36:00, jkwang ...
3 years, 7 months ago (2017-05-03 02:30:03 UTC) #13
jkwang
https://codereview.chromium.org/2844823002/diff/20001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/2844823002/diff/20001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode1122 content/renderer/pepper/pepper_plugin_instance_impl.cc:1122: bool result = HandleInputEvent(event.Event(), cursor_info); On 2017/05/03 02:30:02, Navid ...
3 years, 7 months ago (2017-05-03 18:45:39 UTC) #14
Navid Zolghadr
lgtm
3 years, 7 months ago (2017-05-05 16:08:42 UTC) #15
dtapuska
Where are the tests? https://codereview.chromium.org/2844823002/diff/60001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/2844823002/diff/60001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode1125 content/renderer/pepper/pepper_plugin_instance_impl.cc:1125: bool result; Probably need to ...
3 years, 7 months ago (2017-05-05 16:21:10 UTC) #16
jkwang
On 2017/05/05 16:21:10, dtapuska wrote: > Where are the tests? > > https://codereview.chromium.org/2844823002/diff/60001/content/renderer/pepper/pepper_plugin_instance_impl.cc > File ...
3 years, 7 months ago (2017-05-05 20:21:20 UTC) #17
jkwang
https://codereview.chromium.org/2844823002/diff/60001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/2844823002/diff/60001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode1125 content/renderer/pepper/pepper_plugin_instance_impl.cc:1125: bool result; On 2017/05/05 16:21:09, dtapuska wrote: > Probably ...
3 years, 7 months ago (2017-05-05 20:21:43 UTC) #18
dtapuska
https://codereview.chromium.org/2844823002/diff/100001/third_party/WebKit/Source/core/events/TouchEvent.cpp File third_party/WebKit/Source/core/events/TouchEvent.cpp (right): https://codereview.chromium.org/2844823002/diff/100001/third_party/WebKit/Source/core/events/TouchEvent.cpp#newcode235 third_party/WebKit/Source/core/events/TouchEvent.cpp:235: native_event_.reset(new WebCoalescedInputEvent(event)); Can we add a DCHECK here that ...
3 years, 7 months ago (2017-05-08 13:11:16 UTC) #27
jkwang
https://codereview.chromium.org/2844823002/diff/100001/third_party/WebKit/Source/core/events/TouchEvent.cpp File third_party/WebKit/Source/core/events/TouchEvent.cpp (right): https://codereview.chromium.org/2844823002/diff/100001/third_party/WebKit/Source/core/events/TouchEvent.cpp#newcode235 third_party/WebKit/Source/core/events/TouchEvent.cpp:235: native_event_.reset(new WebCoalescedInputEvent(event)); On 2017/05/08 13:11:15, dtapuska wrote: > Can ...
3 years, 7 months ago (2017-05-08 17:26:53 UTC) #28
dtapuska
lgtm
3 years, 7 months ago (2017-05-08 17:29:14 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2844823002/120001
3 years, 7 months ago (2017-05-08 17:45:54 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/430086)
3 years, 7 months ago (2017-05-08 17:58:25 UTC) #34
tommycli
components/plugins LGTM with nit https://codereview.chromium.org/2844823002/diff/120001/components/plugins/renderer/webview_plugin.cc File components/plugins/renderer/webview_plugin.cc (right): https://codereview.chromium.org/2844823002/diff/120001/components/plugins/renderer/webview_plugin.cc#newcode31 components/plugins/renderer/webview_plugin.cc:31: using blink::WebCoalescedInputEvent; nit: Remove both ...
3 years, 7 months ago (2017-05-09 18:06:12 UTC) #37
piman
lgtm
3 years, 7 months ago (2017-05-09 21:24:13 UTC) #39
Rick Byers
lgtm
3 years, 7 months ago (2017-05-09 21:30:17 UTC) #41
Rick Byers
BTW it looks like in addition to supporting coalesced events, this also fixes an issue ...
3 years, 7 months ago (2017-05-09 21:32:47 UTC) #42
jkwang
On 2017/05/09 21:32:47, Rick Byers wrote: > BTW it looks like in addition to supporting ...
3 years, 7 months ago (2017-05-09 21:36:06 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2844823002/140001
3 years, 7 months ago (2017-05-09 21:42:53 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/422196)
3 years, 7 months ago (2017-05-09 23:40:52 UTC) #48
jochen (gone - plz use gerrit)
please file a bug about what you're trying to achieve and reference it from the ...
3 years, 7 months ago (2017-05-10 08:22:12 UTC) #49
bbudge
ppapi & content/renderer/pepper lgtm
3 years, 7 months ago (2017-05-10 17:52:03 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2844823002/140001
3 years, 7 months ago (2017-05-10 18:52:22 UTC) #53
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/450540)
3 years, 7 months ago (2017-05-10 21:11:04 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2844823002/140001
3 years, 7 months ago (2017-05-10 23:56:33 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2844823002/140001
3 years, 7 months ago (2017-05-11 00:03:46 UTC) #59
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/451133)
3 years, 7 months ago (2017-05-11 02:57:19 UTC) #61
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2844823002/140001
3 years, 7 months ago (2017-05-11 16:49:11 UTC) #63
jochen (gone - plz use gerrit)
not lgtm... still waiting for an answer to my question
3 years, 7 months ago (2017-05-11 16:50:57 UTC) #65
jkwang
On 2017/05/11 16:50:57, jochen wrote: > not lgtm... still waiting for an answer to my ...
3 years, 7 months ago (2017-05-11 16:52:27 UTC) #66
jochen (gone - plz use gerrit)
thanks for sending the design doc. lgtm.
3 years, 7 months ago (2017-05-15 05:30:13 UTC) #67
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2844823002/140001
3 years, 7 months ago (2017-05-15 05:44:16 UTC) #69
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2844823002/140001
3 years, 7 months ago (2017-05-15 15:24:44 UTC) #73
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/268076)
3 years, 7 months ago (2017-05-15 15:30:00 UTC) #75
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2844823002/160001
3 years, 7 months ago (2017-05-15 16:37:42 UTC) #78
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/411304) win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, ...
3 years, 7 months ago (2017-05-15 17:12:45 UTC) #80
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2844823002/160001
3 years, 7 months ago (2017-05-15 18:43:32 UTC) #82
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 21:35:56 UTC) #85
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/8e72a1beacc36f4f0e4d9cb3e440...

Powered by Google App Engine
This is Rietveld 408576698