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

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

Issue 22331005: Clean up accessibility enums for use in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: reupload Created 7 years, 4 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
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 16 matching lines...) Expand all
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef WebAccessibilityObject_h 31 #ifndef WebAccessibilityObject_h
32 #define WebAccessibilityObject_h 32 #define WebAccessibilityObject_h
33 33
34 #include "../platform/WebCommon.h" 34 #include "../platform/WebCommon.h"
35 #include "../platform/WebPrivatePtr.h" 35 #include "../platform/WebPrivatePtr.h"
36 #include "../platform/WebVector.h" 36 #include "../platform/WebVector.h"
37 #include "WebAccessibilityEnums.h"
37 #include "WebAccessibilityRole.h" 38 #include "WebAccessibilityRole.h"
38 39
39 #if WEBKIT_IMPLEMENTATION 40 #if WEBKIT_IMPLEMENTATION
40 namespace WTF { template <typename T> class PassRefPtr; } 41 namespace WTF { template <typename T> class PassRefPtr; }
41 #endif 42 #endif
42 43
43 namespace WebCore { class AccessibilityObject; } 44 namespace WebCore { class AccessibilityObject; }
44 45
45 namespace WebKit { 46 namespace WebKit {
46 47
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 WEBKIT_EXPORT WebRect boundingBoxRect() const; 128 WEBKIT_EXPORT WebRect boundingBoxRect() const;
128 WEBKIT_EXPORT bool canvasHasFallbackContent() const; 129 WEBKIT_EXPORT bool canvasHasFallbackContent() const;
129 WEBKIT_EXPORT WebPoint clickPoint() const; 130 WEBKIT_EXPORT WebPoint clickPoint() const;
130 WEBKIT_EXPORT void colorValue(int& r, int& g, int& b) const; 131 WEBKIT_EXPORT void colorValue(int& r, int& g, int& b) const;
131 WEBKIT_EXPORT double estimatedLoadingProgress() const; 132 WEBKIT_EXPORT double estimatedLoadingProgress() const;
132 WEBKIT_EXPORT WebString helpText() const; 133 WEBKIT_EXPORT WebString helpText() const;
133 WEBKIT_EXPORT int headingLevel() const; 134 WEBKIT_EXPORT int headingLevel() const;
134 WEBKIT_EXPORT int hierarchicalLevel() const; 135 WEBKIT_EXPORT int hierarchicalLevel() const;
135 WEBKIT_EXPORT WebAccessibilityObject hitTest(const WebPoint&) const; 136 WEBKIT_EXPORT WebAccessibilityObject hitTest(const WebPoint&) const;
136 WEBKIT_EXPORT WebString keyboardShortcut() const; 137 WEBKIT_EXPORT WebString keyboardShortcut() const;
137 WEBKIT_EXPORT WebAccessibilityRole roleValue() const; 138 WEBKIT_EXPORT WebAccessibilityRole roleValue() const; // Deprecated
139 WEBKIT_EXPORT AXRole role() const;
138 WEBKIT_EXPORT unsigned selectionEnd() const; 140 WEBKIT_EXPORT unsigned selectionEnd() const;
139 WEBKIT_EXPORT unsigned selectionEndLineNumber() const; 141 WEBKIT_EXPORT unsigned selectionEndLineNumber() const;
140 WEBKIT_EXPORT unsigned selectionStart() const; 142 WEBKIT_EXPORT unsigned selectionStart() const;
141 WEBKIT_EXPORT unsigned selectionStartLineNumber() const; 143 WEBKIT_EXPORT unsigned selectionStartLineNumber() const;
142 WEBKIT_EXPORT WebString stringValue() const; 144 WEBKIT_EXPORT WebString stringValue() const;
143 WEBKIT_EXPORT WebString title() const; 145 WEBKIT_EXPORT WebString title() const;
144 WEBKIT_EXPORT WebAccessibilityObject titleUIElement() const; 146 WEBKIT_EXPORT WebAccessibilityObject titleUIElement() const;
145 WEBKIT_EXPORT WebURL url() const; 147 WEBKIT_EXPORT WebURL url() const;
146 148
147 WEBKIT_EXPORT bool supportsRangeValue() const; 149 WEBKIT_EXPORT bool supportsRangeValue() const;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 operator WTF::PassRefPtr<WebCore::AccessibilityObject>() const; 209 operator WTF::PassRefPtr<WebCore::AccessibilityObject>() const;
208 #endif 210 #endif
209 211
210 private: 212 private:
211 WebPrivatePtr<WebCore::AccessibilityObject> m_private; 213 WebPrivatePtr<WebCore::AccessibilityObject> m_private;
212 }; 214 };
213 215
214 } // namespace WebKit 216 } // namespace WebKit
215 217
216 #endif 218 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698