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

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.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) 2014, Google Inc. All rights reserved. 2 * Copyright (C) 2014, 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void handleFocusedUIElementChanged(Node* oldFocusedNode, Node* newFocusedNod e) override; 81 void handleFocusedUIElementChanged(Node* oldFocusedNode, Node* newFocusedNod e) override;
82 void handleInitialFocus() override; 82 void handleInitialFocus() override;
83 void handleTextFormControlChanged(Node*) override; 83 void handleTextFormControlChanged(Node*) override;
84 void handleEditableTextContentChanged(Node*) override; 84 void handleEditableTextContentChanged(Node*) override;
85 void handleValueChanged(Node*) override; 85 void handleValueChanged(Node*) override;
86 void handleUpdateActiveMenuOption(LayoutMenuList*, int optionIndex) override ; 86 void handleUpdateActiveMenuOption(LayoutMenuList*, int optionIndex) override ;
87 void didShowMenuListPopup(LayoutMenuList*) override; 87 void didShowMenuListPopup(LayoutMenuList*) override;
88 void didHideMenuListPopup(LayoutMenuList*) override; 88 void didHideMenuListPopup(LayoutMenuList*) override;
89 void handleLoadComplete(Document*) override; 89 void handleLoadComplete(Document*) override;
90 void handleLayoutComplete(Document*) override; 90 void handleLayoutComplete(Document*) override;
91 void handleClicked(Node*) override;
91 92
92 void setCanvasObjectBounds(Element*, const LayoutRect&) override; 93 void setCanvasObjectBounds(Element*, const LayoutRect&) override;
93 94
94 void inlineTextBoxesUpdated(LayoutObject*) override; 95 void inlineTextBoxesUpdated(LayoutObject*) override;
95 96
96 // Called when the scroll offset changes. 97 // Called when the scroll offset changes.
97 void handleScrollPositionChanged(FrameView*) override; 98 void handleScrollPositionChanged(FrameView*) override;
98 void handleScrollPositionChanged(LayoutObject*) override; 99 void handleScrollPositionChanged(LayoutObject*) override;
99 100
100 // Called when scroll bars are added / removed (as the view resizes). 101 // Called when scroll bars are added / removed (as the view resizes).
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 // This is the only subclass of AXObjectCache. 246 // This is the only subclass of AXObjectCache.
246 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true); 247 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true);
247 248
248 bool nodeHasRole(Node*, const String& role); 249 bool nodeHasRole(Node*, const String& role);
249 // This will let you know if aria-hidden was explicitly set to false. 250 // This will let you know if aria-hidden was explicitly set to false.
250 bool isNodeAriaVisible(Node*); 251 bool isNodeAriaVisible(Node*);
251 252
252 } // namespace blink 253 } // namespace blink
253 254
254 #endif 255 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698