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

Unified 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: Add forgotten file back 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/web/WebAccessibilityNotification.h ('k') | public/web/WebAccessibilityRole.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebAccessibilityObject.h
diff --git a/public/web/WebAccessibilityObject.h b/public/web/WebAccessibilityObject.h
index b2b6e550f976f7040029634887d0c0cb44234c14..ac0bb1e1a1d1766b5935a69855a3d6c3bcfbe7e1 100644
--- a/public/web/WebAccessibilityObject.h
+++ b/public/web/WebAccessibilityObject.h
@@ -34,6 +34,7 @@
#include "../platform/WebCommon.h"
#include "../platform/WebPrivatePtr.h"
#include "../platform/WebVector.h"
+#include "WebAXEnums.h"
#include "WebAccessibilityRole.h"
#if WEBKIT_IMPLEMENTATION
@@ -52,6 +53,7 @@ struct WebPoint;
struct WebRect;
// A container for passing around a reference to AccessibilityObject.
+// FIXME: rename this to WebAXObject (http://crbug.com/269034).
class WebAccessibilityObject {
public:
~WebAccessibilityObject() { reset(); }
@@ -135,7 +137,8 @@ public:
WEBKIT_EXPORT int hierarchicalLevel() const;
WEBKIT_EXPORT WebAccessibilityObject hitTest(const WebPoint&) const;
WEBKIT_EXPORT WebString keyboardShortcut() const;
- WEBKIT_EXPORT WebAccessibilityRole roleValue() const;
+ WEBKIT_EXPORT WebAccessibilityRole roleValue() const; // Deprecated, use role().
+ WEBKIT_EXPORT WebAXRole role() const;
WEBKIT_EXPORT unsigned selectionEnd() const;
WEBKIT_EXPORT unsigned selectionEndLineNumber() const;
WEBKIT_EXPORT unsigned selectionStart() const;
« no previous file with comments | « public/web/WebAccessibilityNotification.h ('k') | public/web/WebAccessibilityRole.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698