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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 #include "AccessibilitySlider.h" | 51 #include "AccessibilitySlider.h" |
52 #include "AccessibilitySpinButton.h" | 52 #include "AccessibilitySpinButton.h" |
53 #include "AccessibilityTable.h" | 53 #include "AccessibilityTable.h" |
54 #include "AccessibilityTableCell.h" | 54 #include "AccessibilityTableCell.h" |
55 #include "AccessibilityTableColumn.h" | 55 #include "AccessibilityTableColumn.h" |
56 #include "AccessibilityTableHeaderContainer.h" | 56 #include "AccessibilityTableHeaderContainer.h" |
57 #include "AccessibilityTableRow.h" | 57 #include "AccessibilityTableRow.h" |
58 #include "Chrome.h" | 58 #include "Chrome.h" |
59 #include "ChromeClient.h" | 59 #include "ChromeClient.h" |
60 #include "Document.h" | 60 #include "Document.h" |
| 61 #include "Editor.h" |
61 #include "FocusController.h" | 62 #include "FocusController.h" |
62 #include "Frame.h" | 63 #include "Frame.h" |
63 #include "HTMLAreaElement.h" | 64 #include "HTMLAreaElement.h" |
64 #include "HTMLImageElement.h" | 65 #include "HTMLImageElement.h" |
65 #include "HTMLInputElement.h" | 66 #include "HTMLInputElement.h" |
66 #include "HTMLLabelElement.h" | 67 #include "HTMLLabelElement.h" |
67 #include "HTMLNames.h" | 68 #include "HTMLNames.h" |
68 #if ENABLE(VIDEO) | |
69 #include "MediaControlElements.h" | |
70 #endif | |
71 #include "Page.h" | 69 #include "Page.h" |
72 #include "RenderListBox.h" | 70 #include "RenderListBox.h" |
73 #include "RenderMenuList.h" | 71 #include "RenderMenuList.h" |
74 #include "RenderProgress.h" | 72 #include "RenderProgress.h" |
75 #include "RenderSlider.h" | 73 #include "RenderSlider.h" |
76 #include "RenderTable.h" | 74 #include "RenderTable.h" |
77 #include "RenderTableCell.h" | 75 #include "RenderTableCell.h" |
78 #include "RenderTableRow.h" | 76 #include "RenderTableRow.h" |
79 #include "RenderView.h" | 77 #include "RenderView.h" |
80 #include "ScrollView.h" | 78 #include "ScrollView.h" |
| 79 #include <wtf/PassRefPtr.h> |
81 | 80 |
82 #include <wtf/PassRefPtr.h> | 81 #if ENABLE(VIDEO) |
| 82 #include "MediaControlElements.h" |
| 83 #endif |
83 | 84 |
84 namespace WebCore { | 85 namespace WebCore { |
85 | 86 |
86 using namespace HTMLNames; | 87 using namespace HTMLNames; |
87 | 88 |
88 AccessibilityObjectInclusion AXComputedObjectAttributeCache::getIgnored(AXID id)
const | 89 AccessibilityObjectInclusion AXComputedObjectAttributeCache::getIgnored(AXID id)
const |
89 { | 90 { |
90 HashMap<AXID, CachedAXObjectAttributes>::const_iterator it = m_idMapping.fin
d(id); | 91 HashMap<AXID, CachedAXObjectAttributes>::const_iterator it = m_idMapping.fin
d(id); |
91 return it != m_idMapping.end() ? it->value.ignored : DefaultBehavior; | 92 return it != m_idMapping.end() ? it->value.ignored : DefaultBehavior; |
92 } | 93 } |
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1030 void AXObjectCache::handleScrolledToAnchor(const Node* anchorNode) | 1031 void AXObjectCache::handleScrolledToAnchor(const Node* anchorNode) |
1031 { | 1032 { |
1032 // The anchor node may not be accessible. Post the notification for the | 1033 // The anchor node may not be accessible. Post the notification for the |
1033 // first accessible object. | 1034 // first accessible object. |
1034 postPlatformNotification(AccessibilityObject::firstAccessibleObjectFromNode(
anchorNode), AXScrolledToAnchor); | 1035 postPlatformNotification(AccessibilityObject::firstAccessibleObjectFromNode(
anchorNode), AXScrolledToAnchor); |
1035 } | 1036 } |
1036 | 1037 |
1037 } // namespace WebCore | 1038 } // namespace WebCore |
1038 | 1039 |
1039 #endif // HAVE(ACCESSIBILITY) | 1040 #endif // HAVE(ACCESSIBILITY) |
OLD | NEW |