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

Unified Diff: Source/modules/accessibility/AXMenuListPopup.cpp

Issue 1014573010: Get rid of postToElement argument for accessibility notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@postnotification_1
Patch Set: Rebaseline test Created 5 years, 9 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 | « Source/modules/accessibility/AXMenuList.cpp ('k') | Source/modules/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXMenuListPopup.cpp
diff --git a/Source/modules/accessibility/AXMenuListPopup.cpp b/Source/modules/accessibility/AXMenuListPopup.cpp
index a5580972d46b6e9fb53c74dffbece5e4a61ecb6e..cd866c8008457885a49c117dd5cd284a7f2897da 100644
--- a/Source/modules/accessibility/AXMenuListPopup.cpp
+++ b/Source/modules/accessibility/AXMenuListPopup.cpp
@@ -145,12 +145,12 @@ void AXMenuListPopup::didUpdateActiveOption(int optionIndex)
AXObjectCacheImpl* cache = axObjectCache();
if (m_activeIndex >= 0 && m_activeIndex < static_cast<int>(m_children.size())) {
RefPtr<AXObject> previousChild = m_children[m_activeIndex].get();
- cache->postNotification(previousChild.get(), AXObjectCacheImpl::AXMenuListItemUnselected, true);
+ cache->postNotification(previousChild.get(), AXObjectCacheImpl::AXMenuListItemUnselected);
}
RefPtr<AXObject> child = m_children[optionIndex].get();
- cache->postNotification(child.get(), AXObjectCacheImpl::AXFocusedUIElementChanged, true);
- cache->postNotification(child.get(), AXObjectCacheImpl::AXMenuListItemSelected, true);
+ cache->postNotification(child.get(), AXObjectCacheImpl::AXFocusedUIElementChanged);
+ cache->postNotification(child.get(), AXObjectCacheImpl::AXMenuListItemSelected);
m_activeIndex = optionIndex;
}
« no previous file with comments | « Source/modules/accessibility/AXMenuList.cpp ('k') | Source/modules/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698