Changeset 43018 in webkit


Ignore:
Timestamp:
Apr 29, 2009 3:14:52 PM (15 years ago)
Author:
eric@webkit.org
Message:

2009-04-29 Sankar Aditya Tanguturi <sankaraditya@gmail.com>

Reviewed by Adele Peterson.

https://bugs.webkit.org/show_bug.cgi?id=23583
Populate role attribute for document objects correctly
on Windows platform.

  • AccessibleDocument.cpp: (AccessibleDocument::role): Return ROLE_SYSTEM_DOCUMENT for document objects on windows. (Matching Firefox).
  • AccessibleDocument.h: Add the role function prototype in header file.
Location:
trunk
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r43014 r43018  
     12009-04-29  Sankar Aditya Tanguturi  <sankaraditya@gmail.com>
     2
     3        Reviewed by Adele Peterson.
     4
     5        Populate the role attribute for document objects correctly
     6        on windows. Added a new test case for this fix. This fix is
     7        specific for windows. So, added a new test case in windows
     8        specific directory.
     9        https://bugs.webkit.org/show_bug.cgi?id=23583
     10
     11        * platform/win/accessibility: Added a new directory i.e. accessibility.
     12        * platform/win/accessibility/document-role-expected.txt: Added a new
     13        test case for populating role attribute of document objects.
     14        * platform/win/accessibility/document-role.html: This file represents
     15        the expected output for the test case that is added.
     16
    1172009-04-29  Mike Belshe  <mike@belshe.com>
    218
  • trunk/WebKit/win/AccessibleDocument.cpp

    r42419 r43018  
    3939}
    4040
     41long AccessibleDocument::role() const
     42{
     43    return ROLE_SYSTEM_DOCUMENT;
     44}
     45
    4146Document* AccessibleDocument::document() const
    4247{
  • trunk/WebKit/win/AccessibleDocument.h

    r32250 r43018  
    3636    AccessibleDocument(Document*);
    3737    Document* document() const;
     38
     39protected:
     40    virtual long role() const;
    3841};
    3942
  • trunk/WebKit/win/ChangeLog

    r42767 r43018  
     12009-04-29  Sankar Aditya Tanguturi  <sankaraditya@gmail.com>
     2
     3        Reviewed by Adele Peterson.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=23583
     6        Populate role attribute for document objects correctly
     7        on Windows platform.
     8
     9        * AccessibleDocument.cpp:
     10        (AccessibleDocument::role): Return ROLE_SYSTEM_DOCUMENT for
     11        document objects on windows. (Matching Firefox).
     12        * AccessibleDocument.h: Add the role function prototype in
     13        header file.
     14
    1152009-04-22  Ada Chan  <adachan@apple.com>
    216
Note: See TracChangeset for help on using the changeset viewer.