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

Issue 15927023: Explicit interface for synchronous InputHandlerProxy input handling (Closed)

Created:
7 years, 6 months ago by jdduke (slow)
Modified:
7 years, 6 months ago
Reviewers:
jamesr
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Explicit interface for synchronous InputHandlerProxy input handling The move of compositor input handling logic from WebKit to content gives us guarantees on how and when input events might be handled. As InputHandlerProxy handles input events synchronously, we now simply return the EventDisposition directly, rather than calling into a client interface with the result. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203844

Patch Set 1 #

Total comments: 6

Patch Set 2 : Code review #

Total comments: 2

Patch Set 3 : Shorter names ftw #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -243 lines) Patch
M content/renderer/gpu/input_event_filter.h View 3 chunks +8 lines, -16 lines 0 comments Download
M content/renderer/gpu/input_event_filter.cc View 2 chunks +13 lines, -33 lines 0 comments Download
M content/renderer/gpu/input_event_filter_unittest.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M content/renderer/gpu/input_handler_manager.h View 2 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/gpu/input_handler_manager.cc View 1 2 3 chunks +22 lines, -4 lines 0 comments Download
M content/renderer/gpu/input_handler_proxy.h View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M content/renderer/gpu/input_handler_proxy.cc View 1 2 13 chunks +34 lines, -43 lines 0 comments Download
M content/renderer/gpu/input_handler_proxy_client.h View 1 chunk +0 lines, -12 lines 0 comments Download
M content/renderer/gpu/input_handler_proxy_unittest.cc View 1 2 36 chunks +85 lines, -114 lines 0 comments Download
M content/renderer/gpu/input_handler_wrapper.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/gpu/input_handler_wrapper.cc View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jdduke (slow)
In short, this removes the Did/DidNotHandle callbacks from the InputHandlerProxyClient, instead returning the result of ...
7 years, 6 months ago (2013-06-03 20:01:08 UTC) #1
jamesr
I'll review this (i'm owners here too). Looks really nice, just needs a bit of ...
7 years, 6 months ago (2013-06-03 20:45:59 UTC) #2
jdduke (slow)
https://codereview.chromium.org/15927023/diff/1/content/renderer/gpu/input_handler_manager.cc File content/renderer/gpu/input_handler_manager.cc (right): https://codereview.chromium.org/15927023/diff/1/content/renderer/gpu/input_handler_manager.cc#newcode29 content/renderer/gpu/input_handler_manager.cc:29: default: On 2013/06/03 20:45:59, jamesr wrote: > i would ...
7 years, 6 months ago (2013-06-03 21:40:42 UTC) #3
jamesr
On 2013/06/03 21:40:42, jdduke wrote: > https://codereview.chromium.org/15927023/diff/1/content/renderer/gpu/input_handler_proxy.h > File content/renderer/gpu/input_handler_proxy.h (right): > > https://codereview.chromium.org/15927023/diff/1/content/renderer/gpu/input_handler_proxy.h#newcode37 > ...
7 years, 6 months ago (2013-06-03 21:42:40 UTC) #4
jdduke (slow)
OK, latest version has the enum refactor and style fixes. Thanks for the review.
7 years, 6 months ago (2013-06-03 21:56:59 UTC) #5
jamesr
lgtm. this is really nice. I think you can be shorter on the enum values ...
7 years, 6 months ago (2013-06-03 22:07:44 UTC) #6
jdduke (slow)
https://codereview.chromium.org/15927023/diff/3002/content/renderer/gpu/input_handler_proxy.h File content/renderer/gpu/input_handler_proxy.h (right): https://codereview.chromium.org/15927023/diff/3002/content/renderer/gpu/input_handler_proxy.h#newcode37 content/renderer/gpu/input_handler_proxy.h:37: EVENT_DISPOSITION_DID_HANDLE, On 2013/06/03 22:07:44, jamesr wrote: > nit: the ...
7 years, 6 months ago (2013-06-03 22:31:03 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/15927023/1012
7 years, 6 months ago (2013-06-03 22:53:05 UTC) #8
commit-bot: I haz the power
7 years, 6 months ago (2013-06-04 04:18:38 UTC) #9
Message was sent while issue was closed.
Change committed as 203844

Powered by Google App Engine
This is Rietveld 408576698