OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 { | 84 { |
85 return AXObjectCache::accessibilityEnabled(); | 85 return AXObjectCache::accessibilityEnabled(); |
86 } | 86 } |
87 | 87 |
88 // static | 88 // static |
89 void WebAXObject::enableInlineTextBoxAccessibility() | 89 void WebAXObject::enableInlineTextBoxAccessibility() |
90 { | 90 { |
91 AXObjectCache::setInlineTextBoxAccessibility(true); | 91 AXObjectCache::setInlineTextBoxAccessibility(true); |
92 } | 92 } |
93 | 93 |
94 void WebAXObject::startCachingComputedObjectAttributesUntilTreeMutates() | |
95 { | |
96 m_private->axObjectCache()->startCachingComputedObjectAttributesUntilTreeMut
ates(); | |
97 } | |
98 | |
99 void WebAXObject::stopCachingComputedObjectAttributes() | |
100 { | |
101 m_private->axObjectCache()->stopCachingComputedObjectAttributes(); | |
102 } | |
103 | |
104 bool WebAXObject::isDetached() const | 94 bool WebAXObject::isDetached() const |
105 { | 95 { |
106 if (m_private.isNull()) | 96 if (m_private.isNull()) |
107 return true; | 97 return true; |
108 | 98 |
109 return m_private->isDetached(); | 99 return m_private->isDetached(); |
110 } | 100 } |
111 | 101 |
112 int WebAXObject::axID() const | 102 int WebAXObject::axID() const |
113 { | 103 { |
(...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1160 m_private = object; | 1150 m_private = object; |
1161 return *this; | 1151 return *this; |
1162 } | 1152 } |
1163 | 1153 |
1164 WebAXObject::operator WTF::PassRefPtr<WebCore::AXObject>() const | 1154 WebAXObject::operator WTF::PassRefPtr<WebCore::AXObject>() const |
1165 { | 1155 { |
1166 return m_private.get(); | 1156 return m_private.get(); |
1167 } | 1157 } |
1168 | 1158 |
1169 } // namespace blink | 1159 } // namespace blink |
OLD | NEW |