Chromium Code Reviews| Index: ui/accessibility/platform/ax_platform_node_auralinux.cc |
| diff --git a/ui/accessibility/platform/ax_platform_node_auralinux.cc b/ui/accessibility/platform/ax_platform_node_auralinux.cc |
| index 722280a97784ca0da65ad42f4fa3ca48db91269c..320d0d0709d87f64c5d63552c82753f9c862394f 100644 |
| --- a/ui/accessibility/platform/ax_platform_node_auralinux.cc |
| +++ b/ui/accessibility/platform/ax_platform_node_auralinux.cc |
| @@ -264,10 +264,18 @@ static void ax_platform_node_auralinux_get_size(AtkComponent* atk_component, |
| obj->GetSize(width, height); |
| } |
| +static gboolean ax_platform_node_auralinux_grab_focus( |
| + AtkComponent* atk_component) { |
| + g_return_val_if_fail(ATK_IS_COMPONENT(atk_component), FALSE); |
| + |
| + return atk_component_grab_focus(atk_component); |
|
dmazzoni
2015/07/21 15:49:01
You're implementing atk_component_grab_focus for o
|
| +} |
| + |
| void ax_component_interface_base_init(AtkComponentIface* iface) { |
| iface->get_extents = ax_platform_node_auralinux_get_extents; |
| iface->get_position = ax_platform_node_auralinux_get_position; |
| iface->get_size = ax_platform_node_auralinux_get_size; |
| + iface->grab_focus = ax_platform_node_auralinux_grab_focus; |
| } |
| static const GInterfaceInfo ComponentInfo = { |