| 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 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1153 document->updateStyleAndLayoutTree(); | 1153 document->updateStyleAndLayoutTree(); |
| 1154 | 1154 |
| 1155 Node* node = m_private->getNode(); | 1155 Node* node = m_private->getNode(); |
| 1156 if (!node) | 1156 if (!node) |
| 1157 return WebString(); | 1157 return WebString(); |
| 1158 | 1158 |
| 1159 const ComputedStyle* computedStyle = node->ensureComputedStyle(); | 1159 const ComputedStyle* computedStyle = node->ensureComputedStyle(); |
| 1160 if (!computedStyle) | 1160 if (!computedStyle) |
| 1161 return WebString(); | 1161 return WebString(); |
| 1162 | 1162 |
| 1163 return WebString(CSSPrimitiveValue::create(computedStyle->display())->cssTex
t()); | 1163 return WebString(CSSIdentifierValue::create(computedStyle->display())->cssTe
xt()); |
| 1164 } | 1164 } |
| 1165 | 1165 |
| 1166 bool WebAXObject::accessibilityIsIgnored() const | 1166 bool WebAXObject::accessibilityIsIgnored() const |
| 1167 { | 1167 { |
| 1168 if (isDetached()) | 1168 if (isDetached()) |
| 1169 return false; | 1169 return false; |
| 1170 | 1170 |
| 1171 return m_private->accessibilityIsIgnored(); | 1171 return m_private->accessibilityIsIgnored(); |
| 1172 } | 1172 } |
| 1173 | 1173 |
| (...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1578 m_private = object; | 1578 m_private = object; |
| 1579 return *this; | 1579 return *this; |
| 1580 } | 1580 } |
| 1581 | 1581 |
| 1582 WebAXObject::operator AXObject*() const | 1582 WebAXObject::operator AXObject*() const |
| 1583 { | 1583 { |
| 1584 return m_private.get(); | 1584 return m_private.get(); |
| 1585 } | 1585 } |
| 1586 | 1586 |
| 1587 } // namespace blink | 1587 } // namespace blink |
| OLD | NEW |