Changeset 40426 in webkit


Ignore:
Timestamp:
Jan 30, 2009 3:13:59 PM (15 years ago)
Author:
zecke@webkit.org
Message:

[Gtk+] Use AccessibilityObject::stringValue for the AtkObject name

https://bugs.webkit.org/show_bug.cgi?id=21546

The API documentation at http://library.gnome.org/devel/atk/stable/AtkText.html
states that: "AtkObjects whose text content is simple, unattributed, and very
brief may expose that content via atk_object_get_name instead"

As we are currently not able to always provide a AtkTextInterface
implementation this will make the whole content available to accerciser,
and other tools.

Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r40425 r40426  
    7676        (WebCore::FrameLoader::continueFragmentScrollAfterNavigationPolicy):
    7777        (WebCore::FrameLoader::loadItem): Use the lockHistory parameter.
     78
     792009-01-30  Holger Hans Peter Freyther  <zecke@selfish.org>
     80
     81        Reviewed by Mark Rowe.
     82
     83        [Gtk+] Use AccessibilityObject::stringValue for the AtkObject name
     84
     85        https://bugs.webkit.org/show_bug.cgi?id=21546
     86
     87        The API documentation at http://library.gnome.org/devel/atk/stable/AtkText.html
     88        states that: "AtkObjects whose text content is simple, unattributed, and very
     89        brief may expose that content via atk_object_get_name instead"
     90
     91        As we are currently not able to always provide a AtkTextInterface
     92        implementation this will make the whole content available to accerciser,
     93        and other tools.
     94
     95        * page/gtk/AccessibilityObjectWrapperAtk.cpp:
    7896
    79972009-01-30  Holger Hans Peter Freyther  <zecke@selfish.org>
  • trunk/WebCore/page/gtk/AccessibilityObjectWrapperAtk.cpp

    r38244 r40426  
    111111    // TODO: Deal with later changes.
    112112    if (!object->name)
    113         atk_object_set_name(object, core(object)->title().utf8().data());
     113        atk_object_set_name(object, core(object)->stringValue().utf8().data());
    114114    return object->name;
    115115}
Note: See TracChangeset for help on using the changeset viewer.