Index: Tools/DumpRenderTree/chromium/TestRunner/AccessibilityUIElementChromium.cpp |
=================================================================== |
--- Tools/DumpRenderTree/chromium/TestRunner/AccessibilityUIElementChromium.cpp (revision 129410) |
+++ Tools/DumpRenderTree/chromium/TestRunner/AccessibilityUIElementChromium.cpp (working copy) |
@@ -348,6 +348,7 @@ |
bindProperty("isCollapsed", &AccessibilityUIElement::isCollapsedGetterCallback); |
bindProperty("hasPopup", &AccessibilityUIElement::hasPopupGetterCallback); |
bindProperty("isValid", &AccessibilityUIElement::isValidGetterCallback); |
+ bindProperty("isReadOnly", &AccessibilityUIElement::isReadOnlyGetterCallback); |
bindProperty("orientation", &AccessibilityUIElement::orientationGetterCallback); |
// |
@@ -584,6 +585,11 @@ |
result->set(!accessibilityObject().isDetached()); |
} |
+void AccessibilityUIElement::isReadOnlyGetterCallback(CppVariant* result) |
+{ |
+ result->set(accessibilityObject().isReadOnly()); |
+} |
+ |
void AccessibilityUIElement::orientationGetterCallback(CppVariant* result) |
{ |
result->set(getOrientation(accessibilityObject())); |