El jue, 02-02-2012 a las 11:10 -0800, Martin Robinson escribió: > On Thu, Feb 2, 2012 at 10:25 AM, Carlos Garcia Campos > <[email protected]> wrote: > > Ok, I understand Element can be confusing, but I still think > > HitTestResult sounds like the result of a HitTest. In both cases, > > hovering-whatever signal and context menu, it will be used to give > > context to the user about the thing affected, so I thin the name should > > be consistent with both. For example, CursorTargetInformation or > > WebKitMouseTarget, as you proposed in previous mails, might not be > > accurate either for a context menu triggered with the keyboard. So I > > would rather use a generic name that could be used in both cases, but I > > can't think of any . . . > > I think I understand more clearly why you dislike the HitTestResult > name. It seems that whatever name we choose should take into account > the fact that, in the future, the API may allow creating one manually. > You brought this up in a previous mail and I think it could be a > useful feature. > > If we sought to add this feature to the API, would it be sufficient to > say in the documentation for context menus and hovering APIs that "an > implicit hit test is done at the point of interest?" Then we could use > the HitTestResult and maintain a bit of consistency.
That's a good point. > --Martin > -- Carlos Garcia Campos http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3
signature.asc
Description: This is a digitally signed message part
_______________________________________________ webkit-gtk mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk
