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

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

Issue 864533002: Fix template angle bracket syntax in modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 : m_document(document) 92 : m_document(document)
93 , m_modificationCount(0) 93 , m_modificationCount(0)
94 , m_notificationPostTimer(this, &AXObjectCacheImpl::notificationPostTimerFir ed) 94 , m_notificationPostTimer(this, &AXObjectCacheImpl::notificationPostTimerFir ed)
95 { 95 {
96 } 96 }
97 97
98 AXObjectCacheImpl::~AXObjectCacheImpl() 98 AXObjectCacheImpl::~AXObjectCacheImpl()
99 { 99 {
100 m_notificationPostTimer.stop(); 100 m_notificationPostTimer.stop();
101 101
102 HashMap<AXID, RefPtr<AXObject> >::iterator end = m_objects.end(); 102 HashMap<AXID, RefPtr<AXObject>>::iterator end = m_objects.end();
103 for (HashMap<AXID, RefPtr<AXObject> >::iterator it = m_objects.begin(); it ! = end; ++it) { 103 for (HashMap<AXID, RefPtr<AXObject>>::iterator it = m_objects.begin(); it != end; ++it) {
104 AXObject* obj = (*it).value.get(); 104 AXObject* obj = (*it).value.get();
105 obj->detach(); 105 obj->detach();
106 removeAXID(obj); 106 removeAXID(obj);
107 } 107 }
108 } 108 }
109 109
110 AXObject* AXObjectCacheImpl::root() 110 AXObject* AXObjectCacheImpl::root()
111 { 111 {
112 return getOrCreate(&m_document); 112 return getOrCreate(&m_document);
113 } 113 }
(...skipping 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after
1121 void AXObjectCacheImpl::setCanvasObjectBounds(Element* element, const LayoutRect & rect) 1121 void AXObjectCacheImpl::setCanvasObjectBounds(Element* element, const LayoutRect & rect)
1122 { 1122 {
1123 AXObject* obj = getOrCreate(element); 1123 AXObject* obj = getOrCreate(element);
1124 if (!obj) 1124 if (!obj)
1125 return; 1125 return;
1126 1126
1127 obj->setElementRect(rect); 1127 obj->setElementRect(rect);
1128 } 1128 }
1129 1129
1130 } // namespace blink 1130 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698