| Index: Source/core/accessibility/AXObject.h
|
| diff --git a/Source/core/accessibility/AXObject.h b/Source/core/accessibility/AXObject.h
|
| index 0a9075d9622a69489642623e91328bbe8e9042ab..d5db1b6a906f33a7c1dce825454528cc08e4d546 100644
|
| --- a/Source/core/accessibility/AXObject.h
|
| +++ b/Source/core/accessibility/AXObject.h
|
| @@ -101,6 +101,7 @@ enum AccessibilityRole {
|
| ImageMapRole,
|
| ImageRole,
|
| IncrementorRole,
|
| + InlineTextBoxRole,
|
| LabelRole,
|
| LegendRole,
|
| LinkRole,
|
| @@ -242,6 +243,13 @@ enum AccessibilityButtonState {
|
| ButtonStateMixed,
|
| };
|
|
|
| +enum AccessibilityTextDirection {
|
| + AccessibilityTextDirectionLeftToRight,
|
| + AccessibilityTextDirectionRightToLeft,
|
| + AccessibilityTextDirectionTopToBottom,
|
| + AccessibilityTextDirectionBottomToTop
|
| +};
|
| +
|
| struct VisiblePositionRange {
|
|
|
| VisiblePosition start;
|
| @@ -411,6 +419,13 @@ public:
|
| virtual AXObject* titleUIElement() const { return 0; }
|
| virtual KURL url() const { return KURL(); }
|
|
|
| + // For an inline text box.
|
| + virtual AccessibilityTextDirection textDirection() const { return AccessibilityTextDirectionLeftToRight; }
|
| + // The integer horizontal pixel offset of each character in the string; negative values for RTL.
|
| + virtual void textCharacterOffsets(Vector<int>&) const { }
|
| + // The start and end character offset of each word in the inline text box.
|
| + virtual void wordBoundaries(Vector<PlainTextRange>& words) const { }
|
| +
|
| // Properties of interactive elements.
|
| virtual String actionVerb() const;
|
| virtual AccessibilityButtonState checkboxOrRadioValue() const;
|
|
|