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 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1191 document->updateLayoutTreeIfNeeded(); | 1191 document->updateLayoutTreeIfNeeded(); |
1192 | 1192 |
1193 Node* node = m_private->node(); | 1193 Node* node = m_private->node(); |
1194 if (!node) | 1194 if (!node) |
1195 return WebString(); | 1195 return WebString(); |
1196 | 1196 |
1197 const ComputedStyle* computedStyle = node->ensureComputedStyle(); | 1197 const ComputedStyle* computedStyle = node->ensureComputedStyle(); |
1198 if (!computedStyle) | 1198 if (!computedStyle) |
1199 return WebString(); | 1199 return WebString(); |
1200 | 1200 |
1201 return WebString(CSSPrimitiveValue::create(computedStyle->display())->getStr
ingValue()); | 1201 return WebString(CSSPrimitiveValue::create(computedStyle->display()).getStri
ngValue()); |
1202 } | 1202 } |
1203 | 1203 |
1204 bool WebAXObject::accessibilityIsIgnored() const | 1204 bool WebAXObject::accessibilityIsIgnored() const |
1205 { | 1205 { |
1206 if (isDetached()) | 1206 if (isDetached()) |
1207 return false; | 1207 return false; |
1208 | 1208 |
1209 return m_private->accessibilityIsIgnored(); | 1209 return m_private->accessibilityIsIgnored(); |
1210 } | 1210 } |
1211 | 1211 |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1570 m_private = object; | 1570 m_private = object; |
1571 return *this; | 1571 return *this; |
1572 } | 1572 } |
1573 | 1573 |
1574 WebAXObject::operator PassRefPtrWillBeRawPtr<AXObject>() const | 1574 WebAXObject::operator PassRefPtrWillBeRawPtr<AXObject>() const |
1575 { | 1575 { |
1576 return m_private.get(); | 1576 return m_private.get(); |
1577 } | 1577 } |
1578 | 1578 |
1579 } // namespace blink | 1579 } // namespace blink |
OLD | NEW |