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 m_private.get() == n.m_private.get(); | 85 return m_private.get() == n.m_private.get(); |
86 } | 86 } |
87 | 87 |
88 // static | 88 // static |
89 void WebAXObject::enableAccessibility() | 89 void WebAXObject::enableAccessibility() |
90 { | 90 { |
91 AXObjectCache::enableAccessibility(); | 91 AXObjectCache::enableAccessibility(); |
92 } | 92 } |
93 | 93 |
94 // static | |
95 bool WebAXObject::accessibilityEnabled() | |
96 { | |
97 return AXObjectCache::accessibilityEnabled(); | |
98 } | |
99 | 94 |
100 // static | 95 // static |
101 void WebAXObject::enableInlineTextBoxAccessibility() | 96 void WebAXObject::enableInlineTextBoxAccessibility() |
102 { | 97 { |
103 AXObjectCache::setInlineTextBoxAccessibility(true); | 98 AXObjectCache::setInlineTextBoxAccessibility(true); |
104 } | 99 } |
105 | 100 |
106 bool WebAXObject::isDetached() const | 101 bool WebAXObject::isDetached() const |
107 { | 102 { |
108 if (m_private.isNull()) | 103 if (m_private.isNull()) |
(...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1175 m_private = object; | 1170 m_private = object; |
1176 return *this; | 1171 return *this; |
1177 } | 1172 } |
1178 | 1173 |
1179 WebAXObject::operator WTF::PassRefPtr<AXObject>() const | 1174 WebAXObject::operator WTF::PassRefPtr<AXObject>() const |
1180 { | 1175 { |
1181 return m_private.get(); | 1176 return m_private.get(); |
1182 } | 1177 } |
1183 | 1178 |
1184 } // namespace blink | 1179 } // namespace blink |
OLD | NEW |