Changeset 50393 in webkit
- Timestamp:
- Nov 1, 2009 1:22:30 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r50392 r50393 1 2009-11-01 Joanmarie Diggs <joanmarie.diggs@gmail.com> 2 3 Reviewed by Jan Alonzo. 4 5 https://bugs.webkit.org/show_bug.cgi?id=30964 6 [Gtk] Implemment AtkDocument 7 8 Implements what has been implemented in AT-SPI. 9 10 * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp: 11 (GetAtkInterfaceTypeFromWAIType): 12 (getInterfaceMaskFromObject): 13 (atk_document_interface_init): 14 (webkit_accessible_document_get_document_attribute_value): 15 (webkit_accessible_document_get_document_attributes): 16 (webkit_accessible_document_get_locale): 17 1 18 2009-11-01 Laszlo Gombos <laszlo.1.gombos@nokia.com> 2 19 -
trunk/WebCore/accessibility/gtk/AccessibilityObjectWrapperAtk.cpp
r50342 r50393 136 136 { 137 137 return core(ATK_OBJECT(table)); 138 } 139 140 static AccessibilityObject* core(AtkDocument* document) 141 { 142 return core(ATK_OBJECT(document)); 138 143 } 139 144 … … 1407 1412 } 1408 1413 1414 static const gchar* webkit_accessible_document_get_attribute_value(AtkDocument* document, const gchar* attribute) 1415 { 1416 // FIXME: This needs to be implemented. 1417 notImplemented(); 1418 return 0; 1419 } 1420 1421 static AtkAttributeSet* webkit_accessible_document_get_attributes(AtkDocument* document) 1422 { 1423 // FIXME: This needs to be implemented. 1424 notImplemented(); 1425 return 0; 1426 } 1427 1428 static const gchar* webkit_accessible_document_get_locale(AtkDocument* document) 1429 { 1430 // FIXME: This needs to be implemented. 1431 notImplemented(); 1432 return 0; 1433 } 1434 1435 static void atk_document_interface_init(AtkDocumentIface* iface) 1436 { 1437 iface->get_document_attribute_value = webkit_accessible_document_get_attribute_value; 1438 iface->get_document_attributes = webkit_accessible_document_get_attributes; 1439 iface->get_document_locale = webkit_accessible_document_get_locale; 1440 } 1441 1409 1442 static const GInterfaceInfo AtkInterfacesInitFunctions[] = { 1410 1443 {(GInterfaceInitFunc)atk_action_interface_init, … … 1421 1454 (GInterfaceFinalizeFunc) NULL, NULL}, 1422 1455 {(GInterfaceInitFunc)atk_table_interface_init, 1456 (GInterfaceFinalizeFunc) NULL, NULL}, 1457 {(GInterfaceInitFunc)atk_document_interface_init, 1423 1458 (GInterfaceFinalizeFunc) NULL, NULL} 1424 1459 }; … … 1431 1466 WAI_COMPONENT, 1432 1467 WAI_IMAGE, 1433 WAI_TABLE 1468 WAI_TABLE, 1469 WAI_DOCUMENT 1434 1470 }; 1435 1471 … … 1451 1487 case WAI_TABLE: 1452 1488 return ATK_TYPE_TABLE; 1489 case WAI_DOCUMENT: 1490 return ATK_TYPE_DOCUMENT; 1453 1491 } 1454 1492 … … 1489 1527 if (role == TableRole) 1490 1528 interfaceMask |= 1 << WAI_TABLE; 1529 1530 // Document 1531 if (role == WebAreaRole) 1532 interfaceMask |= 1 << WAI_DOCUMENT; 1491 1533 1492 1534 return interfaceMask;
Note: See TracChangeset
for help on using the changeset viewer.