OLD | NEW |
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 Loading... |
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 |
OLD | NEW |