| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 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 * | 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 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 760 | 760 |
| 761 if (!object && document) | 761 if (!object && document) |
| 762 object = get(document->renderer()); | 762 object = get(document->renderer()); |
| 763 | 763 |
| 764 if (!object) | 764 if (!object) |
| 765 return; | 765 return; |
| 766 | 766 |
| 767 if (postType == PostAsynchronously) { | 767 if (postType == PostAsynchronously) { |
| 768 m_notificationsToPost.append(std::make_pair(object, notification)); | 768 m_notificationsToPost.append(std::make_pair(object, notification)); |
| 769 if (!m_notificationPostTimer.isActive()) | 769 if (!m_notificationPostTimer.isActive()) |
| 770 m_notificationPostTimer.startOneShot(0); | 770 m_notificationPostTimer.startOneShot(0, FROM_HERE); |
| 771 } else { | 771 } else { |
| 772 postPlatformNotification(object, notification); | 772 postPlatformNotification(object, notification); |
| 773 } | 773 } |
| 774 } | 774 } |
| 775 | 775 |
| 776 void AXObjectCache::checkedStateChanged(Node* node) | 776 void AXObjectCache::checkedStateChanged(Node* node) |
| 777 { | 777 { |
| 778 postNotification(node, AXObjectCache::AXCheckedStateChanged, true); | 778 postNotification(node, AXObjectCache::AXCheckedStateChanged, true); |
| 779 } | 779 } |
| 780 | 780 |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1034 { | 1034 { |
| 1035 postPlatformNotification(getOrCreate(scrollView), AXScrollPositionChanged); | 1035 postPlatformNotification(getOrCreate(scrollView), AXScrollPositionChanged); |
| 1036 } | 1036 } |
| 1037 | 1037 |
| 1038 void AXObjectCache::handleScrollPositionChanged(RenderObject* renderObject) | 1038 void AXObjectCache::handleScrollPositionChanged(RenderObject* renderObject) |
| 1039 { | 1039 { |
| 1040 postPlatformNotification(getOrCreate(renderObject), AXScrollPositionChanged)
; | 1040 postPlatformNotification(getOrCreate(renderObject), AXScrollPositionChanged)
; |
| 1041 } | 1041 } |
| 1042 | 1042 |
| 1043 } // namespace WebCore | 1043 } // namespace WebCore |
| OLD | NEW |