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

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

Issue 1536493002: Working proof of concept of select to speak (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drag across multiple objects Created 5 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
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 AXHide, 65 AXHide,
66 AXHover, 66 AXHover,
67 AXInvalidStatusChanged, 67 AXInvalidStatusChanged,
68 AXLayoutComplete, 68 AXLayoutComplete,
69 AXLiveRegionChanged, 69 AXLiveRegionChanged,
70 AXLoadComplete, 70 AXLoadComplete,
71 AXLocationChanged, 71 AXLocationChanged,
72 AXMenuListItemSelected, 72 AXMenuListItemSelected,
73 AXMenuListItemUnselected, 73 AXMenuListItemUnselected,
74 AXMenuListValueChanged, 74 AXMenuListValueChanged,
75 AXMouseEntered,
76 AXMouseExited,
77 AXMouseMoved,
78 AXMousePressed,
79 AXMouseReleased,
75 AXRowCollapsed, 80 AXRowCollapsed,
76 AXRowCountChanged, 81 AXRowCountChanged,
77 AXRowExpanded, 82 AXRowExpanded,
78 AXScrollPositionChanged, 83 AXScrollPositionChanged,
79 AXScrolledToAnchor, 84 AXScrolledToAnchor,
80 AXSelectedChildrenChanged, 85 AXSelectedChildrenChanged,
81 AXSelectedTextChanged, 86 AXSelectedTextChanged,
82 AXShow, 87 AXShow,
83 AXTextChanged, 88 AXTextChanged,
84 AXTextInserted, 89 AXTextInserted,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 virtual void handleScrollPositionChanged(LayoutObject*) = 0; 135 virtual void handleScrollPositionChanged(LayoutObject*) = 0;
131 136
132 // Called when scroll bars are added / removed (as the view resizes). 137 // Called when scroll bars are added / removed (as the view resizes).
133 virtual void handleScrollbarUpdate(FrameView*) = 0; 138 virtual void handleScrollbarUpdate(FrameView*) = 0;
134 virtual void handleLayoutComplete(LayoutObject*) = 0; 139 virtual void handleLayoutComplete(LayoutObject*) = 0;
135 virtual void handleScrolledToAnchor(const Node* anchorNode) = 0; 140 virtual void handleScrolledToAnchor(const Node* anchorNode) = 0;
136 141
137 virtual const AtomicString& computedRoleForNode(Node*) = 0; 142 virtual const AtomicString& computedRoleForNode(Node*) = 0;
138 virtual String computedNameForNode(Node*) = 0; 143 virtual String computedNameForNode(Node*) = 0;
139 144
140 virtual void onTouchAccessibilityHover(const IntPoint&) = 0; 145 virtual void onAccessibilityMouseDown(const IntPoint&) = 0;
146 virtual void onAccessibilityMouseUp(const IntPoint&) = 0;
147 virtual void onAccessibilityMouseMove(const IntPoint&) = 0;
148 virtual void onAccessibilityMouseEnter(const IntPoint&) = 0;
149 virtual void onAccessibilityMouseLeave(const IntPoint&) = 0;
141 150
142 typedef AXObjectCache* (*AXObjectCacheCreateFunction)(Document&); 151 typedef AXObjectCache* (*AXObjectCacheCreateFunction)(Document&);
143 static void init(AXObjectCacheCreateFunction); 152 static void init(AXObjectCacheCreateFunction);
144 153
145 protected: 154 protected:
146 AXObjectCache(); 155 AXObjectCache();
147 156
148 private: 157 private:
149 static AXObjectCacheCreateFunction m_createFunction; 158 static AXObjectCacheCreateFunction m_createFunction;
150 }; 159 };
(...skipping 10 matching lines...) Expand all
161 private: 170 private:
162 explicit ScopedAXObjectCache(Document&); 171 explicit ScopedAXObjectCache(Document&);
163 172
164 RefPtrWillBePersistent<Document> m_document; 173 RefPtrWillBePersistent<Document> m_document;
165 Persistent<AXObjectCache> m_cache; 174 Persistent<AXObjectCache> m_cache;
166 }; 175 };
167 176
168 } 177 }
169 178
170 #endif 179 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698