• dmazzoni's avatar
    Improve Android accessible hit testing. · 46fca134
    dmazzoni authored
    Take advantage of a new function we defined already for what nodes are
    "interesting" on Android.
    
    When we get a hit test result back and it's not interesting, first see if
    there's a single child that's interesting. If so, return that. If not,
    walk up to the first interesting ancestor.
    
    That will avoid returning something like a wrapper <div>.
    
    BUG=656146
    
    Review-Url: https://chromiumcodereview.appspot.com/2422773002
    Cr-Commit-Position: refs/heads/master@{#426938}
    46fca134
browser_accessibility_manager_android.cc 31.8 KB