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

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

Issue 1186523002: Clean up unused AX APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « public/web/WebAXEnums.h ('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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // can cause other WebAXObjects to become invalid, too, 95 // can cause other WebAXObjects to become invalid, too,
96 // so always call isDetached if any other WebCore code has run. 96 // so always call isDetached if any other WebCore code has run.
97 BLINK_EXPORT bool updateLayoutAndCheckValidity(); 97 BLINK_EXPORT bool updateLayoutAndCheckValidity();
98 98
99 BLINK_EXPORT unsigned childCount() const; 99 BLINK_EXPORT unsigned childCount() const;
100 100
101 BLINK_EXPORT WebAXObject childAt(unsigned) const; 101 BLINK_EXPORT WebAXObject childAt(unsigned) const;
102 BLINK_EXPORT WebAXObject parentObject() const; 102 BLINK_EXPORT WebAXObject parentObject() const;
103 103
104 BLINK_EXPORT bool isAnchor() const; 104 BLINK_EXPORT bool isAnchor() const;
105 BLINK_EXPORT WebAXOptionalBool isAriaGrabbed() const;
106 BLINK_EXPORT bool isAriaReadOnly() const; 105 BLINK_EXPORT bool isAriaReadOnly() const;
107 BLINK_EXPORT bool isButtonStateMixed() const; 106 BLINK_EXPORT bool isButtonStateMixed() const;
108 BLINK_EXPORT bool isChecked() const; 107 BLINK_EXPORT bool isChecked() const;
109 BLINK_EXPORT bool isClickable() const; 108 BLINK_EXPORT bool isClickable() const;
110 BLINK_EXPORT bool isCollapsed() const; 109 BLINK_EXPORT bool isCollapsed() const;
111 BLINK_EXPORT bool isControl() const; 110 BLINK_EXPORT bool isControl() const;
112 BLINK_EXPORT bool isEnabled() const; 111 BLINK_EXPORT bool isEnabled() const;
113 BLINK_EXPORT WebAXExpanded isExpanded() const; 112 BLINK_EXPORT WebAXExpanded isExpanded() const;
114 BLINK_EXPORT bool isFocused() const; 113 BLINK_EXPORT bool isFocused() const;
115 BLINK_EXPORT bool isHovered() const; 114 BLINK_EXPORT bool isHovered() const;
(...skipping 13 matching lines...) Expand all
129 128
130 BLINK_EXPORT WebString accessKey() const; 129 BLINK_EXPORT WebString accessKey() const;
131 BLINK_EXPORT unsigned backgroundColor() const; 130 BLINK_EXPORT unsigned backgroundColor() const;
132 BLINK_EXPORT unsigned color() const; 131 BLINK_EXPORT unsigned color() const;
133 // Deprecated. 132 // Deprecated.
134 BLINK_EXPORT void colorValue(int& r, int& g, int& b) const; 133 BLINK_EXPORT void colorValue(int& r, int& g, int& b) const;
135 BLINK_EXPORT unsigned colorValue() const; 134 BLINK_EXPORT unsigned colorValue() const;
136 BLINK_EXPORT WebAXObject ariaActiveDescendant() const; 135 BLINK_EXPORT WebAXObject ariaActiveDescendant() const;
137 BLINK_EXPORT WebString ariaAutoComplete() const; 136 BLINK_EXPORT WebString ariaAutoComplete() const;
138 BLINK_EXPORT bool ariaControls(WebVector<WebAXObject>& controlsElements) con st; 137 BLINK_EXPORT bool ariaControls(WebVector<WebAXObject>& controlsElements) con st;
139 BLINK_EXPORT WebString ariaDropEffect() const;
140 BLINK_EXPORT bool ariaFlowTo(WebVector<WebAXObject>& flowToElements) const; 138 BLINK_EXPORT bool ariaFlowTo(WebVector<WebAXObject>& flowToElements) const;
141 BLINK_EXPORT bool ariaHasPopup() const; 139 BLINK_EXPORT bool ariaHasPopup() const;
142 BLINK_EXPORT bool isMultiline() const; 140 BLINK_EXPORT bool isMultiline() const;
143 BLINK_EXPORT bool isRichlyEditable() const; 141 BLINK_EXPORT bool isRichlyEditable() const;
144 BLINK_EXPORT bool ariaOwns(WebVector<WebAXObject>& ownsElements) const; 142 BLINK_EXPORT bool ariaOwns(WebVector<WebAXObject>& ownsElements) const;
145 BLINK_EXPORT WebRect boundingBoxRect() const; 143 BLINK_EXPORT WebRect boundingBoxRect() const;
146 BLINK_EXPORT float fontSize() const; 144 BLINK_EXPORT float fontSize() const;
147 BLINK_EXPORT bool canvasHasFallbackContent() const; 145 BLINK_EXPORT bool canvasHasFallbackContent() const;
148 BLINK_EXPORT WebPoint clickPoint() const; 146 BLINK_EXPORT WebPoint clickPoint() const;
149 BLINK_EXPORT WebAXInvalidState invalidState() const; 147 BLINK_EXPORT WebAXInvalidState invalidState() const;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 BLINK_EXPORT float valueForRange() const; 219 BLINK_EXPORT float valueForRange() const;
222 BLINK_EXPORT float maxValueForRange() const; 220 BLINK_EXPORT float maxValueForRange() const;
223 BLINK_EXPORT float minValueForRange() const; 221 BLINK_EXPORT float minValueForRange() const;
224 222
225 BLINK_EXPORT WebNode node() const; 223 BLINK_EXPORT WebNode node() const;
226 BLINK_EXPORT WebDocument document() const; 224 BLINK_EXPORT WebDocument document() const;
227 BLINK_EXPORT bool hasComputedStyle() const; 225 BLINK_EXPORT bool hasComputedStyle() const;
228 BLINK_EXPORT WebString computedStyleDisplay() const; 226 BLINK_EXPORT WebString computedStyleDisplay() const;
229 BLINK_EXPORT bool accessibilityIsIgnored() const; 227 BLINK_EXPORT bool accessibilityIsIgnored() const;
230 BLINK_EXPORT bool lineBreaks(WebVector<int>&) const; 228 BLINK_EXPORT bool lineBreaks(WebVector<int>&) const;
231 BLINK_EXPORT WebString textInputType() const;
232 229
233 // Actions 230 // Actions
234 BLINK_EXPORT WebString actionVerb() const; // The verb corresponding to perf ormDefaultAction. 231 BLINK_EXPORT WebString actionVerb() const; // The verb corresponding to perf ormDefaultAction.
235 BLINK_EXPORT bool canDecrement() const; 232 BLINK_EXPORT bool canDecrement() const;
236 BLINK_EXPORT bool canIncrement() const; 233 BLINK_EXPORT bool canIncrement() const;
237 BLINK_EXPORT bool canPress() const; 234 BLINK_EXPORT bool canPress() const;
238 BLINK_EXPORT bool canSetFocusAttribute() const; 235 BLINK_EXPORT bool canSetFocusAttribute() const;
239 BLINK_EXPORT bool canSetSelectedAttribute() const; 236 BLINK_EXPORT bool canSetSelectedAttribute() const;
240 BLINK_EXPORT bool canSetValueAttribute() const; 237 BLINK_EXPORT bool canSetValueAttribute() const;
241 BLINK_EXPORT bool performDefaultAction() const; 238 BLINK_EXPORT bool performDefaultAction() const;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 operator WTF::PassRefPtr<AXObject>() const; 302 operator WTF::PassRefPtr<AXObject>() const;
306 #endif 303 #endif
307 304
308 private: 305 private:
309 WebPrivatePtr<AXObject> m_private; 306 WebPrivatePtr<AXObject> m_private;
310 }; 307 };
311 308
312 } // namespace blink 309 } // namespace blink
313 310
314 #endif 311 #endif
OLDNEW
« no previous file with comments | « public/web/WebAXEnums.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698