events: Introduce EventRewriter.
commit9e6028da5f17d054e570790e6e6d5a6e3349b52f
authorkpschoedel@chromium.org <kpschoedel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 28 Mar 2014 15:32:16 +0000 (28 15:32 +0000)
committerkpschoedel@chromium.org <kpschoedel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 28 Mar 2014 15:32:16 +0000 (28 15:32 +0000)
tree10935bfc5de72f7fe488c00e955d26282f2cc096
parent566a67b4f6c03eb7abb953a601481d3bca73c7c4
events: Introduce EventRewriter.

EventSource gets a list of EventRewriters, which each get a chance to
rewrite an event before it gets sent to the EventProcessor.

BUG=354033
R=sadrul@chromium.org

Review URL: https://codereview.chromium.org/210203002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260132 0039d316-1c4b-4281-b951-d872f2087c98
ui/events/event_rewriter.h [new file with mode: 0644]
ui/events/event_rewriter_unittest.cc [new file with mode: 0644]
ui/events/event_source.cc
ui/events/event_source.h
ui/events/events.gyp