| 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 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1062 | 1062 |
| 1063 Node* node = m_private->getNode(); | 1063 Node* node = m_private->getNode(); |
| 1064 if (!node) | 1064 if (!node) |
| 1065 return WebString(); | 1065 return WebString(); |
| 1066 | 1066 |
| 1067 const ComputedStyle* computedStyle = node->ensureComputedStyle(); | 1067 const ComputedStyle* computedStyle = node->ensureComputedStyle(); |
| 1068 if (!computedStyle) | 1068 if (!computedStyle) |
| 1069 return WebString(); | 1069 return WebString(); |
| 1070 | 1070 |
| 1071 return WebString( | 1071 return WebString( |
| 1072 CSSPrimitiveValue::create(computedStyle->display())->cssText()); | 1072 CSSIdentifierValue::create(computedStyle->display())->cssText()); |
| 1073 } | 1073 } |
| 1074 | 1074 |
| 1075 bool WebAXObject::accessibilityIsIgnored() const { | 1075 bool WebAXObject::accessibilityIsIgnored() const { |
| 1076 if (isDetached()) | 1076 if (isDetached()) |
| 1077 return false; | 1077 return false; |
| 1078 | 1078 |
| 1079 return m_private->accessibilityIsIgnored(); | 1079 return m_private->accessibilityIsIgnored(); |
| 1080 } | 1080 } |
| 1081 | 1081 |
| 1082 bool WebAXObject::lineBreaks(WebVector<int>& result) const { | 1082 bool WebAXObject::lineBreaks(WebVector<int>& result) const { |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1455 WebAXObject& WebAXObject::operator=(AXObject* object) { | 1455 WebAXObject& WebAXObject::operator=(AXObject* object) { |
| 1456 m_private = object; | 1456 m_private = object; |
| 1457 return *this; | 1457 return *this; |
| 1458 } | 1458 } |
| 1459 | 1459 |
| 1460 WebAXObject::operator AXObject*() const { | 1460 WebAXObject::operator AXObject*() const { |
| 1461 return m_private.get(); | 1461 return m_private.get(); |
| 1462 } | 1462 } |
| 1463 | 1463 |
| 1464 } // namespace blink | 1464 } // namespace blink |
| OLD | NEW |