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

Side by Side Diff: public/webpage/WebAccessibilityObject.h

Issue 16361013: Get rid of extraneous accessibility tree traversal code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase for reland Created 7 years, 6 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/core/accessibility/AccessibilityRenderObject.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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // still valid (not detached). Note that calling this method 85 // still valid (not detached). Note that calling this method
86 // can cause other WebAccessibilityObjects to become invalid, too, 86 // can cause other WebAccessibilityObjects 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 WEBKIT_EXPORT bool updateBackingStoreAndCheckValidity(); 89 WEBKIT_EXPORT bool updateBackingStoreAndCheckValidity();
90 90
91 WEBKIT_EXPORT WebString accessibilityDescription() const; 91 WEBKIT_EXPORT WebString accessibilityDescription() const;
92 WEBKIT_EXPORT unsigned childCount() const; 92 WEBKIT_EXPORT unsigned childCount() const;
93 93
94 WEBKIT_EXPORT WebAccessibilityObject childAt(unsigned) const; 94 WEBKIT_EXPORT WebAccessibilityObject childAt(unsigned) const;
95 WEBKIT_EXPORT WebAccessibilityObject firstChild() const;
96 WEBKIT_EXPORT WebAccessibilityObject focusedChild() const;
97 WEBKIT_EXPORT WebAccessibilityObject lastChild() const;
98 WEBKIT_EXPORT WebAccessibilityObject nextSibling() const;
99 WEBKIT_EXPORT WebAccessibilityObject parentObject() const; 95 WEBKIT_EXPORT WebAccessibilityObject parentObject() const;
100 WEBKIT_EXPORT WebAccessibilityObject previousSibling() const;
101 96
102 WEBKIT_EXPORT bool isAnchor() const; 97 WEBKIT_EXPORT bool isAnchor() const;
103 WEBKIT_EXPORT bool isAriaReadOnly() const; 98 WEBKIT_EXPORT bool isAriaReadOnly() const;
104 WEBKIT_EXPORT bool isButtonStateMixed() const; 99 WEBKIT_EXPORT bool isButtonStateMixed() const;
105 WEBKIT_EXPORT bool isChecked() const; 100 WEBKIT_EXPORT bool isChecked() const;
106 WEBKIT_EXPORT bool isCollapsed() const; 101 WEBKIT_EXPORT bool isCollapsed() const;
107 WEBKIT_EXPORT bool isControl() const; 102 WEBKIT_EXPORT bool isControl() const;
108 WEBKIT_EXPORT bool isEnabled() const; 103 WEBKIT_EXPORT bool isEnabled() const;
109 WEBKIT_EXPORT bool isFocused() const; 104 WEBKIT_EXPORT bool isFocused() const;
110 WEBKIT_EXPORT bool isHovered() const; 105 WEBKIT_EXPORT bool isHovered() const;
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 operator WTF::PassRefPtr<WebCore::AccessibilityObject>() const; 207 operator WTF::PassRefPtr<WebCore::AccessibilityObject>() const;
213 #endif 208 #endif
214 209
215 private: 210 private:
216 WebPrivatePtr<WebCore::AccessibilityObject> m_private; 211 WebPrivatePtr<WebCore::AccessibilityObject> m_private;
217 }; 212 };
218 213
219 } // namespace WebKit 214 } // namespace WebKit
220 215
221 #endif 216 #endif
OLDNEW
« no previous file with comments | « Source/core/accessibility/AccessibilityRenderObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698