| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 { | 79 { |
| 80 m_private = other.m_private; | 80 m_private = other.m_private; |
| 81 } | 81 } |
| 82 | 82 |
| 83 bool WebAXObject::equals(const WebAXObject& n) const | 83 bool WebAXObject::equals(const WebAXObject& n) const |
| 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 { | |
| 91 AXObjectCache::enableAccessibility(); | |
| 92 } | |
| 93 | |
| 94 | 90 |
| 95 // static | 91 // static |
| 96 void WebAXObject::enableInlineTextBoxAccessibility() | 92 void WebAXObject::enableInlineTextBoxAccessibility() { } |
| 97 { | |
| 98 AXObjectCache::setInlineTextBoxAccessibility(true); | |
| 99 } | |
| 100 | 93 |
| 101 bool WebAXObject::isDetached() const | 94 bool WebAXObject::isDetached() const |
| 102 { | 95 { |
| 103 if (m_private.isNull()) | 96 if (m_private.isNull()) |
| 104 return true; | 97 return true; |
| 105 | 98 |
| 106 return m_private->isDetached(); | 99 return m_private->isDetached(); |
| 107 } | 100 } |
| 108 | 101 |
| 109 int WebAXObject::axID() const | 102 int WebAXObject::axID() const |
| (...skipping 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1170 m_private = object; | 1163 m_private = object; |
| 1171 return *this; | 1164 return *this; |
| 1172 } | 1165 } |
| 1173 | 1166 |
| 1174 WebAXObject::operator WTF::PassRefPtr<AXObject>() const | 1167 WebAXObject::operator WTF::PassRefPtr<AXObject>() const |
| 1175 { | 1168 { |
| 1176 return m_private.get(); | 1169 return m_private.get(); |
| 1177 } | 1170 } |
| 1178 | 1171 |
| 1179 } // namespace blink | 1172 } // namespace blink |
| OLD | NEW |