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

Issue 28513004: Move evdev events support into EventFactoryDelegateEvdev (Closed)

Created:
7 years, 2 months ago by spang
Modified:
7 years, 2 months ago
Reviewers:
rjkroege, sadrul
CC:
chromium-reviews
Visibility:
Public.

Description

Move evdev events support into EventFactoryDelegateEvdev And introduce a gyp variable use_ozone_evdev to allow this feature to be removed from the build. Additionally, the --ozone-events flag is introduced to select an EventFactoryDelegateOzone implementation to use. If an embedder or out-of-tree EventFactoryDelegateOzone implementation calls SetEventFactoryDelegateOzone during initialization, the flag has no effect. BUG=none TEST=Build & run content_shell, ui_unittests with use_ozone=1 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229950

Patch Set 1 #

Total comments: 8

Patch Set 2 : s/_evdev//, add event_factory_delegate_ozone.cc, move GetRequestedDelegate() #

Total comments: 4

Patch Set 3 : add evdev to filename_rules.gypi #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -992 lines) Patch
M build/common.gypi View 4 chunks +4 lines, -0 lines 0 comments Download
M build/filename_rules.gypi View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M ui/events/event_switches.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/events/event_switches.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/events/events.gyp View 1 2 2 chunks +10 lines, -4 lines 0 comments Download
A ui/events/ozone/evdev/event_factory_delegate.h View 1 1 chunk +28 lines, -0 lines 0 comments Download
A ui/events/ozone/evdev/event_factory_delegate.cc View 1 1 chunk +62 lines, -0 lines 0 comments Download
A + ui/events/ozone/evdev/key_event_converter.h View 1 1 chunk +7 lines, -7 lines 0 comments Download
A + ui/events/ozone/evdev/key_event_converter.cc View 1 3 chunks +5 lines, -5 lines 0 comments Download
D ui/events/ozone/evdev/key_event_converter_ozone.h View 1 chunk +0 lines, -28 lines 0 comments Download
D ui/events/ozone/evdev/key_event_converter_ozone.cc View 1 chunk +0 lines, -187 lines 0 comments Download
A + ui/events/ozone/evdev/touch_event_converter.h View 1 3 chunks +8 lines, -8 lines 0 comments Download
A + ui/events/ozone/evdev/touch_event_converter.cc View 1 4 chunks +6 lines, -6 lines 0 comments Download
D ui/events/ozone/evdev/touch_event_converter_ozone.h View 1 chunk +0 lines, -82 lines 0 comments Download
D ui/events/ozone/evdev/touch_event_converter_ozone.cc View 1 chunk +0 lines, -190 lines 0 comments Download
D ui/events/ozone/evdev/touch_event_converter_ozone_unittest.cc View 1 chunk +0 lines, -396 lines 0 comments Download
A + ui/events/ozone/evdev/touch_event_converter_unittest.cc View 1 9 chunks +25 lines, -25 lines 0 comments Download
M ui/events/ozone/event_factory_delegate_ozone.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
A + ui/events/ozone/event_factory_delegate_ozone.cc View 1 1 chunk +4 lines, -6 lines 0 comments Download
M ui/events/ozone/event_factory_ozone.cc View 1 2 chunks +42 lines, -47 lines 0 comments Download
M ui/ui_unittests.gypi View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
spang
7 years, 2 months ago (2013-10-18 17:03:36 UTC) #1
rjkroege
https://codereview.chromium.org/28513004/diff/1/ui/events/events.gyp File ui/events/events.gyp (right): https://codereview.chromium.org/28513004/diff/1/ui/events/events.gyp#newcode121 ui/events/events.gyp:121: 'defines': ['USE_OZONE_EVDEV=1'], it is conventional to make the define ...
7 years, 2 months ago (2013-10-18 18:57:55 UTC) #2
spang
On 2013/10/18 18:57:55, rjkroege wrote: > https://codereview.chromium.org/28513004/diff/1/ui/events/events.gyp > File ui/events/events.gyp (right): > > https://codereview.chromium.org/28513004/diff/1/ui/events/events.gyp#newcode121 > ...
7 years, 2 months ago (2013-10-21 18:46:01 UTC) #3
spang
https://codereview.chromium.org/28513004/diff/1/ui/events/events.gyp File ui/events/events.gyp (right): https://codereview.chromium.org/28513004/diff/1/ui/events/events.gyp#newcode121 ui/events/events.gyp:121: 'defines': ['USE_OZONE_EVDEV=1'], On 2013/10/18 18:57:55, rjkroege wrote: > it ...
7 years, 2 months ago (2013-10-21 18:46:11 UTC) #4
rjkroege
On 2013/10/21 18:46:11, spang wrote: > https://codereview.chromium.org/28513004/diff/1/ui/events/events.gyp > File ui/events/events.gyp (right): > > https://codereview.chromium.org/28513004/diff/1/ui/events/events.gyp#newcode121 > ...
7 years, 2 months ago (2013-10-21 19:37:16 UTC) #5
rjkroege
lgtm
7 years, 2 months ago (2013-10-21 19:43:54 UTC) #6
sadrul
non-ozone code lgtm with the suggested changes. https://codereview.chromium.org/28513004/diff/80001/ui/events/events.gyp File ui/events/events.gyp (right): https://codereview.chromium.org/28513004/diff/80001/ui/events/events.gyp#newcode126 ui/events/events.gyp:126: ['exclude', '^ozone/evdev/*'], ...
7 years, 2 months ago (2013-10-21 20:22:54 UTC) #7
spang
https://codereview.chromium.org/28513004/diff/80001/ui/events/events.gyp File ui/events/events.gyp (right): https://codereview.chromium.org/28513004/diff/80001/ui/events/events.gyp#newcode126 ui/events/events.gyp:126: ['exclude', '^ozone/evdev/*'], On 2013/10/21 20:22:54, sadrul wrote: > Move ...
7 years, 2 months ago (2013-10-21 20:32:03 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/spang@chromium.org/28513004/180001
7 years, 2 months ago (2013-10-21 20:38:36 UTC) #9
commit-bot: I haz the power
7 years, 2 months ago (2013-10-21 23:09:51 UTC) #10
Message was sent while issue was closed.
Change committed as 229950

Powered by Google App Engine
This is Rietveld 408576698