Hello Input-Devs,
I'm comparing the stock-webView with Chromium and wondering if the ContentView has a specific input feature.
With the Stock Android browser when I browse a page with links/input fields and use the gamepad/controller, the dpad will automatically jump between links and input fields and highlight them. It's very nice.
It's smart enough to know when links are hidden and nicely jumps between the visible links and input fields.
I like the stock Android browser behaviour and I want the same in Chromium.
I'm just wondering if the contentView has access an interface like:
-contentView.hasVisibleLink(direction) //up, down, left, right
-contentView.setVisibleLinkFocus(direction) //up, down, left, right
It's either something like this or I need access to a collection of render objects that have a visible/not visible state and position so I can find the nearest input field in a specific direction.
I've also used the JavaScript interface to iterate through document.links but JavaScript has no idea if it's visible to the ContentView, on screen, there's no magic CSS property display:none, or link method to test if it's visible.
Anyway I'm just checking off-hand if there's a chromium mode that turns on nice controller focus navigation.
If you need more info, I can make a video of the experience on the OUYA with the stock browser. It's nice and logical. The DPAD switches between links and input fields with a nice highlight.
Anyway that's my question. I appreciate your feedback.
Thanks,