[webkit-changes] cvs commit: WebCore/kwq KWQAccObject.mm

David harrison at opensource.apple.com
Thu Nov 10 16:24:02 PST 2005


harrison    05/11/10 16:24:02

  Modified:    .        ChangeLog
               kwq      KWQAccObject.mm
  Log:
          Reviewed by Tim Omernick.
  
          <rdar://problem/3766883> AX: Should be able to tell whether an AXLink has been visited to or not
  
          No test cases because this does not affect layout.
  
          * kwq/KWQAccObject.mm:
          (-[KWQAccObject accessibilityAttributeNames]):
          (-[KWQAccObject accessibilityAttributeValue:]):
          Added "AXVisited" attribute.
  
  Revision  Changes    Path
  1.352     +13 -0     WebCore/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/WebCore/ChangeLog,v
  retrieving revision 1.351
  retrieving revision 1.352
  diff -u -r1.351 -r1.352
  --- ChangeLog	10 Nov 2005 22:55:12 -0000	1.351
  +++ ChangeLog	11 Nov 2005 00:23:59 -0000	1.352
  @@ -1,3 +1,16 @@
  +2005-11-10  David Harrison  <harrison at apple.com>
  +
  +        Reviewed by Tim Omernick.
  +
  +        <rdar://problem/3766883> AX: Should be able to tell whether an AXLink has been visited to or not
  +
  +        No test cases because this does not affect layout.
  +
  +        * kwq/KWQAccObject.mm:
  +        (-[KWQAccObject accessibilityAttributeNames]):
  +        (-[KWQAccObject accessibilityAttributeValue:]):
  +        Added "AXVisited" attribute.
  +
   2005-11-10  Eric Seidel  <eseidel at apple.com>
   
           Reviewed by ggaren.
  
  
  
  1.86      +7 -0      WebCore/kwq/KWQAccObject.mm
  
  Index: KWQAccObject.mm
  ===================================================================
  RCS file: /cvs/root/WebCore/kwq/KWQAccObject.mm,v
  retrieving revision 1.85
  retrieving revision 1.86
  diff -u -r1.85 -r1.86
  --- KWQAccObject.mm	21 Oct 2005 21:27:49 -0000	1.85
  +++ KWQAccObject.mm	11 Nov 2005 00:24:01 -0000	1.86
  @@ -675,6 +675,7 @@
               @"AXSelectedTextMarkerRange",
               @"AXStartTextMarker",
               @"AXEndTextMarker",
  +            @"AXVisited",
               nil];
       }
       if (anchorAttrs == nil) {
  @@ -694,6 +695,7 @@
               @"AXSelectedTextMarkerRange",
               @"AXStartTextMarker",
               @"AXEndTextMarker",
  +            @"AXVisited",
               nil];
       }
       if (webAreaAttrs == nil) {
  @@ -715,6 +717,7 @@
               @"AXSelectedTextMarkerRange",
               @"AXStartTextMarker",
               @"AXEndTextMarker",
  +            @"AXVisited",
               nil];
       }
       
  @@ -887,6 +890,10 @@
               }
           }
       }
  +
  +    if ([attributeName isEqualToString: @"AXVisited"]) {
  +        return [NSNumber numberWithBool: m_renderer->style()->pseudoState() == khtml::PseudoVisited];
  +    }
       
       if ([attributeName isEqualToString: NSAccessibilityTitleAttribute])
           return [self title];
  
  
  



More information about the webkit-changes mailing list