OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 bool isSelected() const override; | 94 bool isSelected() const override; |
95 | 95 |
96 // Whether objects are ignored, i.e. not included in the tree. | 96 // Whether objects are ignored, i.e. not included in the tree. |
97 AXObjectInclusion defaultObjectInclusion(IgnoredReasons* = nullptr) const ov
erride; | 97 AXObjectInclusion defaultObjectInclusion(IgnoredReasons* = nullptr) const ov
erride; |
98 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override
; | 98 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override
; |
99 | 99 |
100 // Properties of static elements. | 100 // Properties of static elements. |
101 const AtomicString& accessKey() const override; | 101 const AtomicString& accessKey() const override; |
102 RGBA32 backgroundColor() const final; | 102 RGBA32 backgroundColor() const final; |
103 RGBA32 color() const final; | 103 RGBA32 color() const final; |
| 104 String fontFamily() const final; |
104 // Font size is in pixels. | 105 // Font size is in pixels. |
105 float fontSize() const final; | 106 float fontSize() const final; |
106 String text() const override; | 107 String text() const override; |
107 AccessibilityTextDirection textDirection() const final; | 108 AccessibilityTextDirection textDirection() const final; |
108 int textLength() const override; | 109 int textLength() const override; |
109 TextStyle getTextStyle() const final; | 110 TextStyle getTextStyle() const final; |
110 KURL url() const override; | 111 KURL url() const override; |
111 | 112 |
112 // Inline text boxes. | 113 // Inline text boxes. |
113 void loadInlineTextBoxes() override; | 114 void loadInlineTextBoxes() override; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 AXRange textControlSelection() const; | 218 AXRange textControlSelection() const; |
218 int indexForVisiblePosition(const VisiblePosition&) const; | 219 int indexForVisiblePosition(const VisiblePosition&) const; |
219 AXLayoutObject* getUnignoredObjectFromNode(Node&) const; | 220 AXLayoutObject* getUnignoredObjectFromNode(Node&) const; |
220 }; | 221 }; |
221 | 222 |
222 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); | 223 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); |
223 | 224 |
224 } // namespace blink | 225 } // namespace blink |
225 | 226 |
226 #endif // AXLayoutObject_h | 227 #endif // AXLayoutObject_h |
OLD | NEW |