• Michael Spang's avatar
    ozone: evdev: Minor stylistic cleanups for touch filtering · 016609c1
    Michael Spang authored
    Fix a number of minor style deviations in the touch filtering code:
    
    - Add blank lines where they are typically expected
    - Avoid some potential namespace conflicts by using less generic names
    - Un-abbreviate some local variable names
    - Make structs less interesting by pulling member functions out
    - Replace TimeTicks::UnixEpoch() with TimeTicks() as we don't care about dates
    - s/const static/static const/
    - Exports come before any other qualifiers.
    - Opportunistically constify a few members
    - Define assignment operators when there are copy/move constructors.
    - Class data members must be either private or const.
    - Only one declaration per statement.
    
    Change-Id: I35570a98a82d8a60c04c1b956e278f40e1b694b8
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1839435Reviewed-by: default avatarRob Schonberger <robsc@chromium.org>
    Commit-Queue: Rob Schonberger <robsc@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#708917}
    016609c1
touch_event_converter_evdev.cc 23.1 KB