| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. | 2  * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. | 
| 3  * | 3  * | 
| 4  * Redistribution and use in source and binary forms, with or without | 4  * Redistribution and use in source and binary forms, with or without | 
| 5  * modification, are permitted provided that the following conditions | 5  * modification, are permitted provided that the following conditions | 
| 6  * are met: | 6  * are met: | 
| 7  * | 7  * | 
| 8  * 1.  Redistributions of source code must retain the above copyright | 8  * 1.  Redistributions of source code must retain the above copyright | 
| 9  *     notice, this list of conditions and the following disclaimer. | 9  *     notice, this list of conditions and the following disclaimer. | 
| 10  * 2.  Redistributions in binary form must reproduce the above copyright | 10  * 2.  Redistributions in binary form must reproduce the above copyright | 
| (...skipping 12 matching lines...) Expand all  Loading... | 
| 23  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 23  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 
| 24  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 
| 25  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 25  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 
| 26  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 
| 27  */ | 27  */ | 
| 28 | 28 | 
| 29 #include "config.h" | 29 #include "config.h" | 
| 30 | 30 | 
| 31 #if HAVE(ACCESSIBILITY) | 31 #if HAVE(ACCESSIBILITY) | 
| 32 | 32 | 
| 33 #include "AXObjectCache.h" | 33 #include "core/accessibility/AXObjectCache.h" | 
| 34 | 34 | 
| 35 #include "AccessibilityARIAGrid.h" |  | 
| 36 #include "AccessibilityARIAGridCell.h" |  | 
| 37 #include "AccessibilityARIAGridRow.h" |  | 
| 38 #include "AccessibilityImageMapLink.h" |  | 
| 39 #include "AccessibilityList.h" |  | 
| 40 #include "AccessibilityListBox.h" |  | 
| 41 #include "AccessibilityListBoxOption.h" |  | 
| 42 #include "AccessibilityMediaControls.h" |  | 
| 43 #include "AccessibilityMenuList.h" |  | 
| 44 #include "AccessibilityMenuListOption.h" |  | 
| 45 #include "AccessibilityMenuListPopup.h" |  | 
| 46 #include "AccessibilityProgressIndicator.h" |  | 
| 47 #include "AccessibilityRenderObject.h" |  | 
| 48 #include "AccessibilitySVGRoot.h" |  | 
| 49 #include "AccessibilityScrollView.h" |  | 
| 50 #include "AccessibilityScrollbar.h" |  | 
| 51 #include "AccessibilitySlider.h" |  | 
| 52 #include "AccessibilitySpinButton.h" |  | 
| 53 #include "AccessibilityTable.h" |  | 
| 54 #include "AccessibilityTableCell.h" |  | 
| 55 #include "AccessibilityTableColumn.h" |  | 
| 56 #include "AccessibilityTableHeaderContainer.h" |  | 
| 57 #include "AccessibilityTableRow.h" |  | 
| 58 #include "Chrome.h" | 35 #include "Chrome.h" | 
| 59 #include "ChromeClient.h" | 36 #include "ChromeClient.h" | 
| 60 #include "Document.h" | 37 #include "Document.h" | 
| 61 #include "Editor.h" | 38 #include "Editor.h" | 
| 62 #include "FocusController.h" | 39 #include "FocusController.h" | 
| 63 #include "Frame.h" | 40 #include "Frame.h" | 
| 64 #include "HTMLAreaElement.h" | 41 #include "HTMLAreaElement.h" | 
| 65 #include "HTMLImageElement.h" | 42 #include "HTMLImageElement.h" | 
| 66 #include "HTMLInputElement.h" | 43 #include "HTMLInputElement.h" | 
| 67 #include "HTMLLabelElement.h" | 44 #include "HTMLLabelElement.h" | 
| 68 #include "HTMLNames.h" | 45 #include "HTMLNames.h" | 
| 69 #include "MediaControlElements.h" | 46 #include "MediaControlElements.h" | 
| 70 #include "Page.h" | 47 #include "Page.h" | 
| 71 #include "RenderListBox.h" | 48 #include "RenderListBox.h" | 
| 72 #include "RenderMenuList.h" | 49 #include "RenderMenuList.h" | 
| 73 #include "RenderProgress.h" | 50 #include "RenderProgress.h" | 
| 74 #include "RenderSlider.h" | 51 #include "RenderSlider.h" | 
| 75 #include "RenderTable.h" | 52 #include "RenderTable.h" | 
| 76 #include "RenderTableCell.h" | 53 #include "RenderTableCell.h" | 
| 77 #include "RenderTableRow.h" | 54 #include "RenderTableRow.h" | 
| 78 #include "RenderView.h" | 55 #include "RenderView.h" | 
| 79 #include "ScrollView.h" | 56 #include "ScrollView.h" | 
|  | 57 #include "core/accessibility/AccessibilityARIAGrid.h" | 
|  | 58 #include "core/accessibility/AccessibilityARIAGridCell.h" | 
|  | 59 #include "core/accessibility/AccessibilityARIAGridRow.h" | 
|  | 60 #include "core/accessibility/AccessibilityImageMapLink.h" | 
|  | 61 #include "core/accessibility/AccessibilityList.h" | 
|  | 62 #include "core/accessibility/AccessibilityListBox.h" | 
|  | 63 #include "core/accessibility/AccessibilityListBoxOption.h" | 
|  | 64 #include "core/accessibility/AccessibilityMediaControls.h" | 
|  | 65 #include "core/accessibility/AccessibilityMenuList.h" | 
|  | 66 #include "core/accessibility/AccessibilityMenuListOption.h" | 
|  | 67 #include "core/accessibility/AccessibilityMenuListPopup.h" | 
|  | 68 #include "core/accessibility/AccessibilityProgressIndicator.h" | 
|  | 69 #include "core/accessibility/AccessibilityRenderObject.h" | 
|  | 70 #include "core/accessibility/AccessibilitySVGRoot.h" | 
|  | 71 #include "core/accessibility/AccessibilityScrollView.h" | 
|  | 72 #include "core/accessibility/AccessibilityScrollbar.h" | 
|  | 73 #include "core/accessibility/AccessibilitySlider.h" | 
|  | 74 #include "core/accessibility/AccessibilitySpinButton.h" | 
|  | 75 #include "core/accessibility/AccessibilityTable.h" | 
|  | 76 #include "core/accessibility/AccessibilityTableCell.h" | 
|  | 77 #include "core/accessibility/AccessibilityTableColumn.h" | 
|  | 78 #include "core/accessibility/AccessibilityTableHeaderContainer.h" | 
|  | 79 #include "core/accessibility/AccessibilityTableRow.h" | 
| 80 #include <wtf/PassRefPtr.h> | 80 #include <wtf/PassRefPtr.h> | 
| 81 | 81 | 
| 82 namespace WebCore { | 82 namespace WebCore { | 
| 83 | 83 | 
| 84 using namespace HTMLNames; | 84 using namespace HTMLNames; | 
| 85 | 85 | 
| 86 AccessibilityObjectInclusion AXComputedObjectAttributeCache::getIgnored(AXID id)
       const | 86 AccessibilityObjectInclusion AXComputedObjectAttributeCache::getIgnored(AXID id)
       const | 
| 87 { | 87 { | 
| 88     HashMap<AXID, CachedAXObjectAttributes>::const_iterator it = m_idMapping.fin
      d(id); | 88     HashMap<AXID, CachedAXObjectAttributes>::const_iterator it = m_idMapping.fin
      d(id); | 
| 89     return it != m_idMapping.end() ? it->value.ignored : DefaultBehavior; | 89     return it != m_idMapping.end() ? it->value.ignored : DefaultBehavior; | 
| (...skipping 936 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1026 void AXObjectCache::handleScrolledToAnchor(const Node* anchorNode) | 1026 void AXObjectCache::handleScrolledToAnchor(const Node* anchorNode) | 
| 1027 { | 1027 { | 
| 1028     // The anchor node may not be accessible. Post the notification for the | 1028     // The anchor node may not be accessible. Post the notification for the | 
| 1029     // first accessible object. | 1029     // first accessible object. | 
| 1030     postPlatformNotification(AccessibilityObject::firstAccessibleObjectFromNode(
      anchorNode), AXScrolledToAnchor); | 1030     postPlatformNotification(AccessibilityObject::firstAccessibleObjectFromNode(
      anchorNode), AXScrolledToAnchor); | 
| 1031 } | 1031 } | 
| 1032 | 1032 | 
| 1033 } // namespace WebCore | 1033 } // namespace WebCore | 
| 1034 | 1034 | 
| 1035 #endif // HAVE(ACCESSIBILITY) | 1035 #endif // HAVE(ACCESSIBILITY) | 
| OLD | NEW | 
|---|