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

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

Issue 679623002: Check whether aria-expanded attribute is defined (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Introduce new enum for aria-expanded Created 6 years, 1 month 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
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 BLINK_EXPORT WebAXObject parentObject() const; 90 BLINK_EXPORT WebAXObject parentObject() const;
91 91
92 BLINK_EXPORT bool isAnchor() const; 92 BLINK_EXPORT bool isAnchor() const;
93 BLINK_EXPORT bool isAriaReadOnly() const; 93 BLINK_EXPORT bool isAriaReadOnly() const;
94 BLINK_EXPORT bool isButtonStateMixed() const; 94 BLINK_EXPORT bool isButtonStateMixed() const;
95 BLINK_EXPORT bool isChecked() const; 95 BLINK_EXPORT bool isChecked() const;
96 BLINK_EXPORT bool isClickable() const; 96 BLINK_EXPORT bool isClickable() const;
97 BLINK_EXPORT bool isCollapsed() const; 97 BLINK_EXPORT bool isCollapsed() const;
98 BLINK_EXPORT bool isControl() const; 98 BLINK_EXPORT bool isControl() const;
99 BLINK_EXPORT bool isEnabled() const; 99 BLINK_EXPORT bool isEnabled() const;
100 BLINK_EXPORT bool isExpanded() const;
101 BLINK_EXPORT bool isFocused() const; 100 BLINK_EXPORT bool isFocused() const;
102 BLINK_EXPORT bool isHovered() const; 101 BLINK_EXPORT bool isHovered() const;
103 BLINK_EXPORT bool isIndeterminate() const; 102 BLINK_EXPORT bool isIndeterminate() const;
104 BLINK_EXPORT bool isLinked() const; 103 BLINK_EXPORT bool isLinked() const;
105 BLINK_EXPORT bool isLoaded() const; 104 BLINK_EXPORT bool isLoaded() const;
106 BLINK_EXPORT bool isMultiSelectable() const; 105 BLINK_EXPORT bool isMultiSelectable() const;
107 BLINK_EXPORT bool isOffScreen() const; 106 BLINK_EXPORT bool isOffScreen() const;
108 BLINK_EXPORT bool isPasswordField() const; 107 BLINK_EXPORT bool isPasswordField() const;
109 BLINK_EXPORT bool isPressed() const; 108 BLINK_EXPORT bool isPressed() const;
110 BLINK_EXPORT bool isReadOnly() const; 109 BLINK_EXPORT bool isReadOnly() const;
111 BLINK_EXPORT bool isRequired() const; 110 BLINK_EXPORT bool isRequired() const;
112 BLINK_EXPORT bool isSelected() const; 111 BLINK_EXPORT bool isSelected() const;
113 BLINK_EXPORT bool isSelectedOptionActive() const; 112 BLINK_EXPORT bool isSelectedOptionActive() const;
114 BLINK_EXPORT bool isVertical() const; 113 BLINK_EXPORT bool isVertical() const;
115 BLINK_EXPORT bool isVisible() const; 114 BLINK_EXPORT bool isVisible() const;
116 BLINK_EXPORT bool isVisited() const; 115 BLINK_EXPORT bool isVisited() const;
117 116
118 BLINK_EXPORT WebString accessKey() const; 117 BLINK_EXPORT WebString accessKey() const;
119 BLINK_EXPORT WebAXObject ariaActiveDescendant() const; 118 BLINK_EXPORT WebAXObject ariaActiveDescendant() const;
120 BLINK_EXPORT bool ariaControls(WebVector<WebAXObject>& controlsElements) con st; 119 BLINK_EXPORT bool ariaControls(WebVector<WebAXObject>& controlsElements) con st;
121 BLINK_EXPORT bool ariaDescribedby(WebVector<WebAXObject>& describedbyElement s) const; 120 BLINK_EXPORT bool ariaDescribedby(WebVector<WebAXObject>& describedbyElement s) const;
121 BLINK_EXPORT WebAXExpanded ariaExpanded() const;
122 BLINK_EXPORT bool ariaFlowTo(WebVector<WebAXObject>& flowToElements) const; 122 BLINK_EXPORT bool ariaFlowTo(WebVector<WebAXObject>& flowToElements) const;
123 BLINK_EXPORT bool ariaHasPopup() const; 123 BLINK_EXPORT bool ariaHasPopup() const;
124 BLINK_EXPORT bool ariaLabelledby(WebVector<WebAXObject>& labelledbyElements) const; 124 BLINK_EXPORT bool ariaLabelledby(WebVector<WebAXObject>& labelledbyElements) const;
125 BLINK_EXPORT bool ariaOwns(WebVector<WebAXObject>& ownsElements) const; 125 BLINK_EXPORT bool ariaOwns(WebVector<WebAXObject>& ownsElements) const;
126 BLINK_EXPORT WebRect boundingBoxRect() const; 126 BLINK_EXPORT WebRect boundingBoxRect() const;
127 BLINK_EXPORT bool canvasHasFallbackContent() const; 127 BLINK_EXPORT bool canvasHasFallbackContent() const;
128 BLINK_EXPORT WebPoint clickPoint() const; 128 BLINK_EXPORT WebPoint clickPoint() const;
129 BLINK_EXPORT void colorValue(int& r, int& g, int& b) const; 129 BLINK_EXPORT void colorValue(int& r, int& g, int& b) const;
130 BLINK_EXPORT double estimatedLoadingProgress() const; 130 BLINK_EXPORT double estimatedLoadingProgress() const;
131 BLINK_EXPORT WebString helpText() const; 131 BLINK_EXPORT WebString helpText() const;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 operator WTF::PassRefPtr<AXObject>() const; 224 operator WTF::PassRefPtr<AXObject>() const;
225 #endif 225 #endif
226 226
227 private: 227 private:
228 WebPrivatePtr<AXObject> m_private; 228 WebPrivatePtr<AXObject> m_private;
229 }; 229 };
230 230
231 } // namespace blink 231 } // namespace blink
232 232
233 #endif 233 #endif
OLDNEW
« Source/core/accessibility/AXObject.h ('K') | « public/web/WebAXEnums.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698