diff options
Diffstat (limited to 'WebKitTools/DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp')
-rw-r--r-- | WebKitTools/DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/WebKitTools/DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp b/WebKitTools/DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp index abfe115..fabada3 100644 --- a/WebKitTools/DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp +++ b/WebKitTools/DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp @@ -75,6 +75,26 @@ void AccessibilityUIElement::getChildrenWithRange(Vector<AccessibilityUIElement> } } +int AccessibilityUIElement::rowCount() +{ + if (!m_element) + return 0; + + ASSERT(ATK_IS_TABLE(m_element)); + + return atk_table_get_n_rows(ATK_TABLE(m_element)); +} + +int AccessibilityUIElement::columnCount() +{ + if (!m_element) + return 0; + + ASSERT(ATK_IS_TABLE(m_element)); + + return atk_table_get_n_columns(ATK_TABLE(m_element)); +} + int AccessibilityUIElement::childrenCount() { if (!m_element) @@ -204,6 +224,11 @@ JSStringRef AccessibilityUIElement::language() return JSStringCreateWithCharacters(0, 0); } +JSStringRef AccessibilityUIElement::helpText() const +{ + return 0; +} + double AccessibilityUIElement::x() { int x, y; @@ -492,6 +517,11 @@ void AccessibilityUIElement::decrement() // FIXME: implement } +void AccessibilityUIElement::press() +{ + // FIXME: implement +} + void AccessibilityUIElement::showMenu() { // FIXME: implement @@ -558,6 +588,11 @@ bool AccessibilityUIElement::addNotificationListener(JSObjectRef functionCallbac return false; } +void AccessibilityUIElement::removeNotificationListener() +{ + // FIXME: implement +} + bool AccessibilityUIElement::isSelectable() const { // FIXME: implement |