On Thu, Oct 8, 2009 at 6:32 PM, Finnur Thorarinsson <fin...@chromium.org>wrote:

> Maybe it's just me, but I don't see the point in making a toolbar as a
> whole focusable. The keyboard shortcut should put focus on the first element
> in the toolbar and tab should cycle focus from there.
>
The goal was to have a mode where you could switch between the buttons of
the Toolbar using the left/right key, making them hot tracked when they are
selected.
That's why the ToolbarView gets focused, so it receives the keyboard events
and can deal with the traversal.
If we focus the buttons, they'll have to deal with the keyboard events and
traversal themselves.
It's easier to have the ToolbarView doing it.

Jay

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to