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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 { | 72 { |
73 return m_private.get() == n.m_private.get(); | 73 return m_private.get() == n.m_private.get(); |
74 } | 74 } |
75 | 75 |
76 // static | 76 // static |
77 void WebAXObject::enableAccessibility() | 77 void WebAXObject::enableAccessibility() |
78 { | 78 { |
79 AXObjectCache::enableAccessibility(); | 79 AXObjectCache::enableAccessibility(); |
80 } | 80 } |
81 | 81 |
82 // static | |
83 bool WebAXObject::accessibilityEnabled() | |
84 { | |
85 return AXObjectCache::accessibilityEnabled(); | |
86 } | |
87 | 82 |
88 // static | 83 // static |
89 void WebAXObject::enableInlineTextBoxAccessibility() | 84 void WebAXObject::enableInlineTextBoxAccessibility() |
90 { | 85 { |
91 AXObjectCache::setInlineTextBoxAccessibility(true); | 86 AXObjectCache::setInlineTextBoxAccessibility(true); |
92 } | 87 } |
93 | 88 |
94 bool WebAXObject::isDetached() const | 89 bool WebAXObject::isDetached() const |
95 { | 90 { |
96 if (m_private.isNull()) | 91 if (m_private.isNull()) |
(...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1171 m_private = object; | 1166 m_private = object; |
1172 return *this; | 1167 return *this; |
1173 } | 1168 } |
1174 | 1169 |
1175 WebAXObject::operator WTF::PassRefPtr<blink::AXObject>() const | 1170 WebAXObject::operator WTF::PassRefPtr<blink::AXObject>() const |
1176 { | 1171 { |
1177 return m_private.get(); | 1172 return m_private.get(); |
1178 } | 1173 } |
1179 | 1174 |
1180 } // namespace blink | 1175 } // namespace blink |
OLD | NEW |