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

Side by Side Diff: Source/modules/accessibility/AXMenuList.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, 8 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) 2010 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2010 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 if (!childObjects.isEmpty()) { 120 if (!childObjects.isEmpty()) {
121 ASSERT(childObjects.size() == 1); 121 ASSERT(childObjects.size() == 1);
122 ASSERT(childObjects[0]->isMenuListPopup()); 122 ASSERT(childObjects[0]->isMenuListPopup());
123 123
124 if (childObjects[0]->isMenuListPopup()) { 124 if (childObjects[0]->isMenuListPopup()) {
125 if (AXMenuListPopup* popup = toAXMenuListPopup(childObjects[0].get() )) 125 if (AXMenuListPopup* popup = toAXMenuListPopup(childObjects[0].get() ))
126 popup->didUpdateActiveOption(optionIndex); 126 popup->didUpdateActiveOption(optionIndex);
127 } 127 }
128 } 128 }
129 129
130 cache->postNotification(this, AXObjectCacheImpl::AXMenuListValueChanged, tru e); 130 cache->postNotification(this, AXObjectCacheImpl::AXMenuListValueChanged);
131 } 131 }
132 132
133 } // namespace blink 133 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/accessibility/AXLayoutObject.cpp ('k') | Source/modules/accessibility/AXMenuListPopup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698