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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 | 69 |
70 bool isNull() const { return m_private.isNull(); } | 70 bool isNull() const { return m_private.isNull(); } |
71 // isDetached also checks for null, so it's safe to just call isDetached. | 71 // isDetached also checks for null, so it's safe to just call isDetached. |
72 BLINK_EXPORT bool isDetached() const; | 72 BLINK_EXPORT bool isDetached() const; |
73 | 73 |
74 BLINK_EXPORT int axID() const; | 74 BLINK_EXPORT int axID() const; |
75 | 75 |
76 // Update layout on the underlying tree, and return true if this object is | 76 // Update layout on the underlying tree, and return true if this object is |
77 // still valid (not detached). Note that calling this method | 77 // still valid (not detached). Note that calling this method |
78 // can cause other WebAXObjects to become invalid, too, | 78 // can cause other WebAXObjects to become invalid, too, |
79 // so always call isDetached if updateBackingStoreAndCheckValidity | 79 // so always call isDetached if any other WebCore code has run. |
80 // has been called on any object, or if any other WebCore code has run. | |
81 BLINK_EXPORT bool updateLayoutAndCheckValidity(); | 80 BLINK_EXPORT bool updateLayoutAndCheckValidity(); |
82 | 81 |
83 // FIXME: Deprecated - remove once callers use updateLayoutAndCheckValidity,
instead. | |
84 BLINK_EXPORT bool updateBackingStoreAndCheckValidity(); | |
85 | |
86 BLINK_EXPORT WebString accessibilityDescription() const; | 82 BLINK_EXPORT WebString accessibilityDescription() const; |
87 BLINK_EXPORT unsigned childCount() const; | 83 BLINK_EXPORT unsigned childCount() const; |
88 | 84 |
89 BLINK_EXPORT WebAXObject childAt(unsigned) const; | 85 BLINK_EXPORT WebAXObject childAt(unsigned) const; |
90 BLINK_EXPORT WebAXObject parentObject() const; | 86 BLINK_EXPORT WebAXObject parentObject() const; |
91 | 87 |
92 BLINK_EXPORT bool isAnchor() const; | 88 BLINK_EXPORT bool isAnchor() const; |
93 BLINK_EXPORT bool isAriaReadOnly() const; | 89 BLINK_EXPORT bool isAriaReadOnly() const; |
94 BLINK_EXPORT bool isButtonStateMixed() const; | 90 BLINK_EXPORT bool isButtonStateMixed() const; |
95 BLINK_EXPORT bool isChecked() const; | 91 BLINK_EXPORT bool isChecked() const; |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 operator WTF::PassRefPtr<AXObject>() const; | 220 operator WTF::PassRefPtr<AXObject>() const; |
225 #endif | 221 #endif |
226 | 222 |
227 private: | 223 private: |
228 WebPrivatePtr<AXObject> m_private; | 224 WebPrivatePtr<AXObject> m_private; |
229 }; | 225 }; |
230 | 226 |
231 } // namespace blink | 227 } // namespace blink |
232 | 228 |
233 #endif | 229 #endif |
OLD | NEW |