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

Unified Diff: Source/core/accessibility/AXObjectCache.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
Index: Source/core/accessibility/AXObjectCache.h
diff --git a/Source/core/accessibility/AXObjectCache.h b/Source/core/accessibility/AXObjectCache.h
index c4c7b81e573d3ee12663378af3293dbfbd827154..3e37eb997d9c94e5f161d60d8b974ac92ef57983 100644
--- a/Source/core/accessibility/AXObjectCache.h
+++ b/Source/core/accessibility/AXObjectCache.h
@@ -150,37 +150,38 @@ public:
enum AXNotification {
AXActiveDescendantChanged,
+ AXAlert,
+ AXAriaAttributeChanged,
AXAutocorrectionOccured,
+ AXBlur,
AXCheckedStateChanged,
AXChildrenChanged,
AXFocusedUIElementChanged,
+ AXHide,
+ AXInvalidStatusChanged,
AXLayoutComplete,
- AXLoadComplete,
- AXSelectedChildrenChanged,
- AXSelectedTextChanged,
- AXValueChanged,
- AXScrolledToAnchor,
AXLiveRegionChanged,
+ AXLoadComplete,
+ AXLocationChanged,
AXMenuListItemSelected,
AXMenuListValueChanged,
- AXRowCountChanged,
AXRowCollapsed,
+ AXRowCountChanged,
AXRowExpanded,
- AXInvalidStatusChanged,
+ AXScrolledToAnchor,
+ AXSelectedChildrenChanged,
+ AXSelectedTextChanged,
+ AXShow,
AXTextChanged,
- AXAriaAttributeChanged
+ AXTextInserted,
+ AXTextRemoved,
+ AXValueChanged
};
void postNotification(RenderObject*, AXNotification, bool postToElement, PostType = PostAsynchronously);
void postNotification(Node*, AXNotification, bool postToElement, PostType = PostAsynchronously);
void postNotification(AccessibilityObject*, Document*, AXNotification, bool postToElement, PostType = PostAsynchronously);
- enum AXTextChange {
- AXTextInserted,
- AXTextDeleted,
- };
-
- void nodeTextChangeNotification(Node*, AXTextChange, unsigned offset, const String&);
bool nodeHasRole(Node*, const AtomicString& role);
void startCachingComputedObjectAttributesUntilTreeMutates();
@@ -190,7 +191,6 @@ public:
protected:
void postPlatformNotification(AccessibilityObject*, AXNotification);
- void nodeTextChangePlatformNotification(AccessibilityObject*, AXTextChange, unsigned offset, const String&);
void textChanged(AccessibilityObject*);
void labelChanged(Element*);

Powered by Google App Engine
This is Rietveld 408576698