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

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

Issue 774153007: Introduce new API language() to test lang attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Just adding new API. Removing tests. They will go later in the other patch. Created 6 years 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 | « 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 BLINK_EXPORT int hierarchicalLevel() const; 130 BLINK_EXPORT int hierarchicalLevel() const;
131 BLINK_EXPORT WebAXObject hitTest(const WebPoint&) const; 131 BLINK_EXPORT WebAXObject hitTest(const WebPoint&) const;
132 BLINK_EXPORT WebString keyboardShortcut() const; 132 BLINK_EXPORT WebString keyboardShortcut() const;
133 BLINK_EXPORT WebAXRole role() const; 133 BLINK_EXPORT WebAXRole role() const;
134 BLINK_EXPORT unsigned selectionEnd() const; 134 BLINK_EXPORT unsigned selectionEnd() const;
135 BLINK_EXPORT unsigned selectionEndLineNumber() const; 135 BLINK_EXPORT unsigned selectionEndLineNumber() const;
136 BLINK_EXPORT unsigned selectionStart() const; 136 BLINK_EXPORT unsigned selectionStart() const;
137 BLINK_EXPORT unsigned selectionStartLineNumber() const; 137 BLINK_EXPORT unsigned selectionStartLineNumber() const;
138 BLINK_EXPORT WebString stringValue() const; 138 BLINK_EXPORT WebString stringValue() const;
139 BLINK_EXPORT WebString title() const; 139 BLINK_EXPORT WebString title() const;
140 BLINK_EXPORT WebString language() const;
140 BLINK_EXPORT WebAXObject titleUIElement() const; 141 BLINK_EXPORT WebAXObject titleUIElement() const;
141 BLINK_EXPORT WebURL url() const; 142 BLINK_EXPORT WebURL url() const;
142 143
143 // Live regions. 144 // Live regions.
144 BLINK_EXPORT bool isInLiveRegion() const; 145 BLINK_EXPORT bool isInLiveRegion() const;
145 BLINK_EXPORT bool liveRegionAtomic() const; 146 BLINK_EXPORT bool liveRegionAtomic() const;
146 BLINK_EXPORT bool liveRegionBusy() const; 147 BLINK_EXPORT bool liveRegionBusy() const;
147 BLINK_EXPORT WebString liveRegionRelevant() const; 148 BLINK_EXPORT WebString liveRegionRelevant() const;
148 BLINK_EXPORT WebString liveRegionStatus() const; 149 BLINK_EXPORT WebString liveRegionStatus() const;
149 BLINK_EXPORT bool containerLiveRegionAtomic() const; 150 BLINK_EXPORT bool containerLiveRegionAtomic() const;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 operator WTF::PassRefPtr<AXObject>() const; 226 operator WTF::PassRefPtr<AXObject>() const;
226 #endif 227 #endif
227 228
228 private: 229 private:
229 WebPrivatePtr<AXObject> m_private; 230 WebPrivatePtr<AXObject> m_private;
230 }; 231 };
231 232
232 } // namespace blink 233 } // namespace blink
233 234
234 #endif 235 #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