[Webkit-unassigned] [Bug 21546] [GTK] ATK accessibility enhancements
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 9 03:41:58 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=21546
zecke at selfish.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #29326|review? |review+
Flag| |
------- Comment #21 from zecke at selfish.org 2009-04-09 03:41 PDT -------
(From update of attachment 29326)
> +static GType GetAtkInterfaceTypeFromWAIType(WAIType type)
> +{
> + switch (type) {
> + case WAI_ACTION:
> + return ATK_TYPE_ACTION;
> + case WAI_STREAMABLE:
> + return ATK_TYPE_STREAMABLE_CONTENT;
> + case WAI_EDITABLE_TEXT:
> + return ATK_TYPE_EDITABLE_TEXT;
> + case WAI_TEXT:
> + return ATK_TYPE_TEXT;
> + }
> +
> + return G_TYPE_INVALID;
> +}
style foobar... four spaces please and the case labels should be on the same
height as the switch (consult the style guide I might be wrong about the
switch).
> +#define WAI_TYPE_NAME_LEN (30) /* Enough for prefix + 5 hex characters (max) */
> + static char name[WAI_TYPE_NAME_LEN + 1];
> +
> + g_sprintf(name, "WAIType%x", interfaceMask);
> + name[WAI_TYPE_NAME_LEN] = '\0';
nice improvement. I have no idea where W should come from AI == a11y here?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list