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

Side by Side Diff: third_party/WebKit/Source/core/dom/AXObjectCache.h

Issue 1655153003: Fire an accessible click event when a web node is clicked on. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fire_clicked_event
Patch Set: Added test for tap Created 4 years, 10 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) 2003, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010, 2011 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 DEFINE_INLINE_VIRTUAL_TRACE() { } 52 DEFINE_INLINE_VIRTUAL_TRACE() { }
53 53
54 enum AXNotification { 54 enum AXNotification {
55 AXActiveDescendantChanged, 55 AXActiveDescendantChanged,
56 AXAlert, 56 AXAlert,
57 AXAriaAttributeChanged, 57 AXAriaAttributeChanged,
58 AXAutocorrectionOccured, 58 AXAutocorrectionOccured,
59 AXBlur, 59 AXBlur,
60 AXCheckedStateChanged, 60 AXCheckedStateChanged,
61 AXChildrenChanged, 61 AXChildrenChanged,
62 AXClicked,
62 AXDocumentSelectionChanged, 63 AXDocumentSelectionChanged,
63 AXFocusedUIElementChanged, 64 AXFocusedUIElementChanged,
64 AXHide, 65 AXHide,
65 AXHover, 66 AXHover,
66 AXInvalidStatusChanged, 67 AXInvalidStatusChanged,
67 AXLayoutComplete, 68 AXLayoutComplete,
68 AXLiveRegionChanged, 69 AXLiveRegionChanged,
69 AXLoadComplete, 70 AXLoadComplete,
70 AXLocationChanged, 71 AXLocationChanged,
71 AXMenuListItemSelected, 72 AXMenuListItemSelected,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 virtual void handleFocusedUIElementChanged(Node* oldFocusedNode, Node* newFo cusedNode) = 0; 111 virtual void handleFocusedUIElementChanged(Node* oldFocusedNode, Node* newFo cusedNode) = 0;
111 virtual void handleInitialFocus() = 0; 112 virtual void handleInitialFocus() = 0;
112 virtual void handleEditableTextContentChanged(Node*) = 0; 113 virtual void handleEditableTextContentChanged(Node*) = 0;
113 virtual void handleTextFormControlChanged(Node*) = 0; 114 virtual void handleTextFormControlChanged(Node*) = 0;
114 virtual void handleValueChanged(Node*) = 0; 115 virtual void handleValueChanged(Node*) = 0;
115 virtual void handleUpdateActiveMenuOption(LayoutMenuList*, int optionIndex) = 0; 116 virtual void handleUpdateActiveMenuOption(LayoutMenuList*, int optionIndex) = 0;
116 virtual void didShowMenuListPopup(LayoutMenuList*) = 0; 117 virtual void didShowMenuListPopup(LayoutMenuList*) = 0;
117 virtual void didHideMenuListPopup(LayoutMenuList*) = 0; 118 virtual void didHideMenuListPopup(LayoutMenuList*) = 0;
118 virtual void handleLoadComplete(Document*) = 0; 119 virtual void handleLoadComplete(Document*) = 0;
119 virtual void handleLayoutComplete(Document*) = 0; 120 virtual void handleLayoutComplete(Document*) = 0;
120 121 virtual void handleClicked(Node*) = 0;
121 122
122 virtual void setCanvasObjectBounds(Element*, const LayoutRect&) = 0; 123 virtual void setCanvasObjectBounds(Element*, const LayoutRect&) = 0;
123 124
124 virtual void inlineTextBoxesUpdated(LayoutObject*) = 0; 125 virtual void inlineTextBoxesUpdated(LayoutObject*) = 0;
125 126
126 // Called when the scroll offset changes. 127 // Called when the scroll offset changes.
127 virtual void handleScrollPositionChanged(FrameView*) = 0; 128 virtual void handleScrollPositionChanged(FrameView*) = 0;
128 virtual void handleScrollPositionChanged(LayoutObject*) = 0; 129 virtual void handleScrollPositionChanged(LayoutObject*) = 0;
129 130
130 // Called when scroll bars are added / removed (as the view resizes). 131 // Called when scroll bars are added / removed (as the view resizes).
(...skipping 27 matching lines...) Expand all
158 private: 159 private:
159 explicit ScopedAXObjectCache(Document&); 160 explicit ScopedAXObjectCache(Document&);
160 161
161 RefPtrWillBePersistent<Document> m_document; 162 RefPtrWillBePersistent<Document> m_document;
162 Persistent<AXObjectCache> m_cache; 163 Persistent<AXObjectCache> m_cache;
163 }; 164 };
164 165
165 } // namespace blink 166 } // namespace blink
166 167
167 #endif 168 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698