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

Issue 217253002: [Android] Short-circuit touch forwarding when no touch handlers exist (Closed)

Created:
6 years, 9 months ago by jdduke (slow)
Modified:
6 years, 8 months ago
Reviewers:
tdresser
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[Android] Short-circuit touch forwarding when no touch handlers exist Rather than forwarding the touch event to the input router and incurring the attendant overhead, short-circuit touch forwarding from ContentViewCoreImpl when no touch handler exists. This aligns with existing Aura behavior, and saves ~20us/event when no touch handler exists. BUG=341613 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260381

Patch Set 1 #

Total comments: 6

Patch Set 2 : Code review #

Patch Set 3 : Fix build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -24 lines) Patch
M content/browser/android/content_view_core_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 4 chunks +23 lines, -10 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/renderer_host/input/web_input_event_builders_android.h View 1 chunk +0 lines, -6 lines 0 comments Download
M content/browser/renderer_host/input/web_input_event_builders_android.cc View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
jdduke (slow)
tdresser@: PTAL, thanks.
6 years, 9 months ago (2014-03-28 17:26:58 UTC) #1
tdresser
LGTM with nits. https://codereview.chromium.org/217253002/diff/1/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/217253002/diff/1/content/browser/android/content_view_core_impl.cc#newcode1136 content/browser/android/content_view_core_impl.cc:1136: // forwarding can be short-circuited completely. ...
6 years, 9 months ago (2014-03-28 17:55:26 UTC) #2
jdduke (slow)
https://codereview.chromium.org/217253002/diff/1/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/217253002/diff/1/content/browser/android/content_view_core_impl.cc#newcode1136 content/browser/android/content_view_core_impl.cc:1136: // forwarding can be short-circuited completely. On 2014/03/28 17:55:27, ...
6 years, 9 months ago (2014-03-28 18:33:55 UTC) #3
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 9 months ago (2014-03-28 18:34:05 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/217253002/20001
6 years, 9 months ago (2014-03-28 18:37:27 UTC) #5
tdresser
https://codereview.chromium.org/217253002/diff/1/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/217253002/diff/1/content/browser/android/content_view_core_impl.cc#newcode1136 content/browser/android/content_view_core_impl.cc:1136: // forwarding can be short-circuited completely. On 2014/03/28 18:33:55, ...
6 years, 9 months ago (2014-03-28 18:40:05 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 19:37:31 UTC) #7
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=290497
6 years, 9 months ago (2014-03-28 19:37:32 UTC) #8
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 9 months ago (2014-03-28 19:41:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/217253002/40001
6 years, 9 months ago (2014-03-28 19:42:11 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 23:44:47 UTC) #11
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 9 months ago (2014-03-28 23:44:49 UTC) #12
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 9 months ago (2014-03-29 00:13:14 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/217253002/40001
6 years, 9 months ago (2014-03-29 00:16:21 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-29 01:55:27 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 9 months ago (2014-03-29 01:55:28 UTC) #16
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 9 months ago (2014-03-29 02:54:45 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/217253002/40001
6 years, 9 months ago (2014-03-29 02:59:04 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/217253002/40001
6 years, 9 months ago (2014-03-29 03:09:42 UTC) #19
commit-bot: I haz the power
6 years, 8 months ago (2014-03-29 17:38:38 UTC) #20
Message was sent while issue was closed.
Change committed as 260381

Powered by Google App Engine
This is Rietveld 408576698