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 BLINK_EXPORT bool equals(const WebAXObject&) const; | 69 BLINK_EXPORT bool equals(const WebAXObject&) const; |
70 | 70 |
71 bool isNull() const { return m_private.isNull(); } | 71 bool isNull() const { return m_private.isNull(); } |
72 // isDetached also checks for null, so it's safe to just call isDetached. | 72 // isDetached also checks for null, so it's safe to just call isDetached. |
73 BLINK_EXPORT bool isDetached() const; | 73 BLINK_EXPORT bool isDetached() const; |
74 | 74 |
75 // Static methods for enabling accessibility. | 75 // Static methods for enabling accessibility. |
76 BLINK_EXPORT static void enableAccessibility(); | 76 BLINK_EXPORT static void enableAccessibility(); |
77 BLINK_EXPORT static bool accessibilityEnabled(); | 77 BLINK_EXPORT static bool accessibilityEnabled(); |
78 | 78 |
79 BLINK_EXPORT void startCachingComputedObjectAttributesUntilTreeMutates(); | |
80 BLINK_EXPORT void stopCachingComputedObjectAttributes(); | |
81 | |
82 // Temporary: this flag will only be toggleable until Chromium has it on by
default. | 79 // Temporary: this flag will only be toggleable until Chromium has it on by
default. |
83 BLINK_EXPORT static void enableInlineTextBoxAccessibility(); | 80 BLINK_EXPORT static void enableInlineTextBoxAccessibility(); |
84 | 81 |
85 BLINK_EXPORT int axID() const; | 82 BLINK_EXPORT int axID() const; |
86 | 83 |
87 // Update the underlying tree, and return true if this object is | 84 // Update the underlying tree, and return true if this object is |
88 // still valid (not detached). Note that calling this method | 85 // still valid (not detached). Note that calling this method |
89 // can cause other WebAXObjects to become invalid, too, | 86 // can cause other WebAXObjects to become invalid, too, |
90 // so always call isDetached if updateBackingStoreAndCheckValidity | 87 // so always call isDetached if updateBackingStoreAndCheckValidity |
91 // has been called on any object, or if any other WebCore code has run. | 88 // has been called on any object, or if any other WebCore code has run. |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 operator WTF::PassRefPtr<WebCore::AXObject>() const; | 219 operator WTF::PassRefPtr<WebCore::AXObject>() const; |
223 #endif | 220 #endif |
224 | 221 |
225 private: | 222 private: |
226 WebPrivatePtr<WebCore::AXObject> m_private; | 223 WebPrivatePtr<WebCore::AXObject> m_private; |
227 }; | 224 }; |
228 | 225 |
229 } // namespace blink | 226 } // namespace blink |
230 | 227 |
231 #endif | 228 #endif |
OLD | NEW |