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 1221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1232 document->updateLayoutTreeIfNeeded(); | 1232 document->updateLayoutTreeIfNeeded(); |
1233 | 1233 |
1234 Node* node = m_private->node(); | 1234 Node* node = m_private->node(); |
1235 if (!node) | 1235 if (!node) |
1236 return WebString(); | 1236 return WebString(); |
1237 | 1237 |
1238 const ComputedStyle* computedStyle = node->ensureComputedStyle(); | 1238 const ComputedStyle* computedStyle = node->ensureComputedStyle(); |
1239 if (!computedStyle) | 1239 if (!computedStyle) |
1240 return WebString(); | 1240 return WebString(); |
1241 | 1241 |
1242 return WebString(CSSPrimitiveValue::create(computedStyle->display())->getStr
ingValue()); | 1242 return WebString(CSSPrimitiveValue::create(computedStyle->display())->cssTex
t()); |
1243 } | 1243 } |
1244 | 1244 |
1245 bool WebAXObject::accessibilityIsIgnored() const | 1245 bool WebAXObject::accessibilityIsIgnored() const |
1246 { | 1246 { |
1247 if (isDetached()) | 1247 if (isDetached()) |
1248 return false; | 1248 return false; |
1249 | 1249 |
1250 return m_private->accessibilityIsIgnored(); | 1250 return m_private->accessibilityIsIgnored(); |
1251 } | 1251 } |
1252 | 1252 |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1613 m_private = object; | 1613 m_private = object; |
1614 return *this; | 1614 return *this; |
1615 } | 1615 } |
1616 | 1616 |
1617 WebAXObject::operator PassRefPtrWillBeRawPtr<AXObject>() const | 1617 WebAXObject::operator PassRefPtrWillBeRawPtr<AXObject>() const |
1618 { | 1618 { |
1619 return m_private.get(); | 1619 return m_private.get(); |
1620 } | 1620 } |
1621 | 1621 |
1622 } // namespace blink | 1622 } // namespace blink |
OLD | NEW |