• jonross's avatar
    Remove Default Touch Radii in EventGenerator · 644b0306
    jonross authored
    EventGenerator creates touch events in two different manners. Those that use TestTouchEvent set touch radii without exposing this to unit test classes. Chrome's gesture recognizer uses these radii when determining touch rects. This can lead to different views being targetting within unittests.
    
    Remove the setting of these radii. Tests that wish to use larger can still create TouchEvents and call EventGenerator::Dispatch.
    
    Review URL: https://codereview.chromium.org/522453002
    
    Cr-Commit-Position: refs/heads/master@{#292933}
    644b0306
event_generator.cc 19.6 KB