OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 { | 180 { |
181 return "GeolocationController"; | 181 return "GeolocationController"; |
182 } | 182 } |
183 | 183 |
184 DEFINE_TRACE(GeolocationController) | 184 DEFINE_TRACE(GeolocationController) |
185 { | 185 { |
186 visitor->trace(m_client); | 186 visitor->trace(m_client); |
187 visitor->trace(m_lastPosition); | 187 visitor->trace(m_lastPosition); |
188 visitor->trace(m_observers); | 188 visitor->trace(m_observers); |
189 visitor->trace(m_highAccuracyObservers); | 189 visitor->trace(m_highAccuracyObservers); |
190 HeapSupplement<LocalFrame>::trace(visitor); | 190 Supplement<LocalFrame>::trace(visitor); |
191 PageLifecycleObserver::trace(visitor); | 191 PageLifecycleObserver::trace(visitor); |
192 } | 192 } |
193 | 193 |
194 void provideGeolocationTo(LocalFrame& frame, GeolocationClient* client) | 194 void provideGeolocationTo(LocalFrame& frame, GeolocationClient* client) |
195 { | 195 { |
196 HeapSupplement<LocalFrame>::provideTo(frame, GeolocationController::suppleme
ntName(), GeolocationController::create(frame, client)); | 196 Supplement<LocalFrame>::provideTo(frame, GeolocationController::supplementNa
me(), GeolocationController::create(frame, client)); |
197 } | 197 } |
198 | 198 |
199 } // namespace blink | 199 } // namespace blink |
OLD | NEW |