[Webkit-unassigned] [Bug 67192] API to set initial focus in gtk webkit
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 20 10:57:39 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=67192
--- Comment #32 from Gustavo Noronha (kov) <gns at gnome.org> 2011-09-20 10:57:39 PST ---
(In reply to comment #31)
> Actually the API focuses either the first or last focusable element.So I think a boolean is apt for it.Please provide your thought.
That's not the point, the point is a boolean is harder to understand by just looking at the code - you have to know the parameter is called 'forward' to understand that TRUE means "go forward", while if you use an enum you'll see FOCUS_FIRST, which is very obvious, agree? =) I agree with Mario here, we should make it an enum, indeed.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list