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

Side by Side Diff: Source/core/accessibility/AXObjectCache.cpp

Issue 189833009: Trace where timers were scheduled in Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/bindings/v8/V8GCForContextDispose.cpp ('k') | Source/core/animation/DocumentTimeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698