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

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp

Issue 1362973004: Rename FROM_HERE to BLINK_FROM_HERE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 years, 2 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) 2014, Google Inc. All rights reserved. 2 * Copyright (C) 2014, Google 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 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 } 744 }
745 745
746 void AXObjectCacheImpl::postNotification(AXObject* object, AXNotification notifi cation) 746 void AXObjectCacheImpl::postNotification(AXObject* object, AXNotification notifi cation)
747 { 747 {
748 m_modificationCount++; 748 m_modificationCount++;
749 if (!object) 749 if (!object)
750 return; 750 return;
751 751
752 m_notificationsToPost.append(std::make_pair(object, notification)); 752 m_notificationsToPost.append(std::make_pair(object, notification));
753 if (!m_notificationPostTimer.isActive()) 753 if (!m_notificationPostTimer.isActive())
754 m_notificationPostTimer.startOneShot(0, FROM_HERE); 754 m_notificationPostTimer.startOneShot(0, BLINK_FROM_HERE);
755 } 755 }
756 756
757 bool AXObjectCacheImpl::isAriaOwned(const AXObject* child) const 757 bool AXObjectCacheImpl::isAriaOwned(const AXObject* child) const
758 { 758 {
759 return m_ariaOwnedChildToOwnerMapping.contains(child->axObjectID()); 759 return m_ariaOwnedChildToOwnerMapping.contains(child->axObjectID());
760 } 760 }
761 761
762 AXObject* AXObjectCacheImpl::getAriaOwnedParent(const AXObject* child) const 762 AXObject* AXObjectCacheImpl::getAriaOwnedParent(const AXObject* child) const
763 { 763 {
764 return objectFromAXID(m_ariaOwnedChildToOwnerMapping.get(child->axObjectID() )); 764 return objectFromAXID(m_ariaOwnedChildToOwnerMapping.get(child->axObjectID() ));
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
1360 visitor->trace(m_nodeObjectMapping); 1360 visitor->trace(m_nodeObjectMapping);
1361 #endif 1361 #endif
1362 1362
1363 visitor->trace(m_objects); 1363 visitor->trace(m_objects);
1364 visitor->trace(m_notificationsToPost); 1364 visitor->trace(m_notificationsToPost);
1365 1365
1366 AXObjectCache::trace(visitor); 1366 AXObjectCache::trace(visitor);
1367 } 1367 }
1368 1368
1369 } // namespace blink 1369 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698