[webkit-dev] Re: Next link in page

Alp Toker alp at atoker.com
Thu Oct 25 21:48:26 PDT 2007

Naiem Shaik wrote:
> Yes Oliver.
> Tab key press doesn't take me to any of the links so can I hack the
> tab key press and move to the next link by calling some webkit page
> functions...
> --Naiem
> On 10/26/07, Oliver Hunt <oliver at apple.com> wrote:
>> I suspect Naiem meant how to either switch focus from link to the
>> next, or to get all the links programmatically...
>> --Oliver
>> On Oct 25, 2007, at 9:26 PM, Mark Rowe wrote:
>>> Naiem,
>>> Click on them?
>>> - Mark
>>> On 26/10/2007, at 14:23, Naiem Shaik wrote:
>>>> Hello All,
>>>> I have cross compiled the Webkit+Gtk port and ran the GtkLauncher
>>>> on Linux box.
>>>> Can somebody please let me know how to go to different links present
>>>> on the page.


This is becoming a FAQ :-)

We just need to return true in ChromeClient::tabsToLinks() to enable 
this navigation mode.

To see it in action you'll also need my input patch from 
http://bugs.webkit.org/show_bug.cgi?id=15653 (unless it lands in the 

There are still some focus issues, and the focus rings aren't 
GTK+-style. Please file a bug on this, should be easy to fix.

More information about the webkit-dev mailing list