Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Side by Side Diff: public/web/WebAXObject.h

Issue 286143008: Make AX update layout on all frames (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More strict assert Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/web/WebAXObject.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // 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.
80 BLINK_EXPORT static void enableInlineTextBoxAccessibility(); 80 BLINK_EXPORT static void enableInlineTextBoxAccessibility();
81 81
82 BLINK_EXPORT int axID() const; 82 BLINK_EXPORT int axID() const;
83 83
84 // Update the underlying tree, and return true if this object is 84 // Update layout on the underlying tree, and return true if this object is
85 // still valid (not detached). Note that calling this method 85 // still valid (not detached). Note that calling this method
86 // can cause other WebAXObjects to become invalid, too, 86 // can cause other WebAXObjects to become invalid, too,
87 // so always call isDetached if updateBackingStoreAndCheckValidity 87 // so always call isDetached if updateBackingStoreAndCheckValidity
88 // 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.
89 BLINK_EXPORT bool updateLayoutAndCheckValidity();
90
91 // FIXME: Deprecated - remove once callers use updateLayoutAndCheckValidity, instead.
89 BLINK_EXPORT bool updateBackingStoreAndCheckValidity(); 92 BLINK_EXPORT bool updateBackingStoreAndCheckValidity();
90 93
91 BLINK_EXPORT WebString accessibilityDescription() const; 94 BLINK_EXPORT WebString accessibilityDescription() const;
92 BLINK_EXPORT unsigned childCount() const; 95 BLINK_EXPORT unsigned childCount() const;
93 96
94 BLINK_EXPORT WebAXObject childAt(unsigned) const; 97 BLINK_EXPORT WebAXObject childAt(unsigned) const;
95 BLINK_EXPORT WebAXObject parentObject() const; 98 BLINK_EXPORT WebAXObject parentObject() const;
96 99
97 BLINK_EXPORT bool isAnchor() const; 100 BLINK_EXPORT bool isAnchor() const;
98 BLINK_EXPORT bool isAriaReadOnly() const; 101 BLINK_EXPORT bool isAriaReadOnly() const;
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 operator WTF::PassRefPtr<WebCore::AXObject>() const; 222 operator WTF::PassRefPtr<WebCore::AXObject>() const;
220 #endif 223 #endif
221 224
222 private: 225 private:
223 WebPrivatePtr<WebCore::AXObject> m_private; 226 WebPrivatePtr<WebCore::AXObject> m_private;
224 }; 227 };
225 228
226 } // namespace blink 229 } // namespace blink
227 230
228 #endif 231 #endif
OLDNEW
« no previous file with comments | « Source/web/WebAXObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698