/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/page/ |
H A D | Geolocation.h | 92 class GeoNotifier : public RefCounted<GeoNotifier> { 101 void timerFired(Timer<GeoNotifier>*); 107 Timer<GeoNotifier> m_timer; 116 typedef HashSet<RefPtr<GeoNotifier> > GeoNotifierSet; 120 void set(int id, PassRefPtr<GeoNotifier>); 122 void remove(GeoNotifier*); 123 bool contains(GeoNotifier*) const; 173 bool startUpdating(GeoNotifier*); 188 void fatalErrorOccurred(GeoNotifier*); 189 void requestTimedOut(GeoNotifier*); [all …]
|
H A D | Geolocation.cpp | 135 void Geolocation::GeoNotifier::timerFired(Timer<GeoNotifier>*) in timerFired() argument 141 RefPtr<GeoNotifier> protect(this); in timerFired() 171 RefPtr<GeoNotifier> notifier = prpNotifier; in set() 310 … RefPtr<GeoNotifier> notifier = GeoNotifier::create(this, successCallback, errorCallback, options); in startRequest() 373 GeoNotifier* notifier = iter->get(); in makeCachedPositionCallbacks() 481 RefPtr<GeoNotifier> notifier = *it; in sendError() 492 RefPtr<GeoNotifier> notifier = *it; in sendPosition() 503 RefPtr<GeoNotifier> notifier = *it; in stopTimer() 551 GeoNotifier* notifier = it->get(); in extractNotifiersWithCachedPosition() 565 GeoNotifier* notifier = it->get(); in copyToSet() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/modules/geolocation/ |
H A D | geo_notifier.cc | 17 GeoNotifier::GeoNotifier(Geolocation* geolocation, in GeoNotifier() function in blink::GeoNotifier 28 &GeoNotifier::TimerFired)), in GeoNotifier() 40 void GeoNotifier::Trace(Visitor* visitor) { in Trace() 62 void GeoNotifier::SetUseCachedPosition() { in SetUseCachedPosition() 67 void GeoNotifier::RunSuccessCallback(Geoposition* position) { in RunSuccessCallback() 76 void GeoNotifier::StartTimer() { in StartTimer() 81 void GeoNotifier::StopTimer() { in StopTimer() 85 bool GeoNotifier::IsTimerActive() const { in IsTimerActive() 89 void GeoNotifier::Timer::Trace(Visitor* visitor) { in Trace() 99 void GeoNotifier::Timer::Stop() { in Stop() [all …]
|
H A D | geolocation.h | 100 void FatalErrorOccurred(GeoNotifier*); 105 void RequestUsesCachedPosition(GeoNotifier*); 108 void RequestTimedOut(GeoNotifier*); 111 bool DoesOwnNotifier(GeoNotifier*) const; 124 using BaseClass = HeapHashSet<Member<GeoNotifier>>; 136 auto insert(GeoNotifier* value) { in insert() 141 void erase(GeoNotifier* value) { in erase() 158 auto InsertWithoutTimerCheck(GeoNotifier* value) { in InsertWithoutTimerCheck() 180 void StartUpdating(GeoNotifier*); 184 void UpdateGeolocationConnection(GeoNotifier*); [all …]
|
H A D | geolocation_watchers.h | 13 class GeoNotifier; variable 24 bool Add(int id, GeoNotifier*); 25 GeoNotifier* Find(int id) const; 27 void Remove(GeoNotifier*); 28 bool Contains(GeoNotifier*) const; 35 void CopyNotifiersToVector(HeapVector<Member<GeoNotifier>>&) const; 38 typedef HeapHashMap<int, Member<GeoNotifier>> IdToNotifierMap; 39 typedef HeapHashMap<Member<GeoNotifier>, int> NotifierToIdMap;
|
H A D | geo_notifier.h | 22 class GeoNotifier final : public GarbageCollected<GeoNotifier>, 25 GeoNotifier(Geolocation*, 29 ~GeoNotifier() = default; 60 GeoNotifier* notifier, in Timer() 61 void (GeoNotifier::*member_func)(TimerBase*)) in Timer() 72 TaskRunnerTimer<GeoNotifier> timer_; 73 Member<GeoNotifier> notifier_;
|
H A D | geolocation_watchers.cc | 17 bool GeolocationWatchers::Add(int id, GeoNotifier* notifier) { in Add() 26 GeoNotifier* GeolocationWatchers::Find(int id) const { in Find() 44 void GeolocationWatchers::Remove(GeoNotifier* notifier) { in Remove() 53 bool GeolocationWatchers::Contains(GeoNotifier* notifier) const { in Contains() 77 HeapVector<Member<GeoNotifier>>& vector) const { in CopyNotifiersToVector()
|
H A D | geolocation.cc | 185 auto* notifier = MakeGarbageCollected<GeoNotifier>(this, success_callback, in getCurrentPosition() 202 auto* notifier = MakeGarbageCollected<GeoNotifier>(this, success_callback, in watchPosition() 217 void Geolocation::StartRequest(GeoNotifier* notifier) { in StartRequest() 247 void Geolocation::FatalErrorOccurred(GeoNotifier* notifier) { in FatalErrorOccurred() 258 void Geolocation::RequestUsesCachedPosition(GeoNotifier* notifier) { in RequestUsesCachedPosition() 275 void Geolocation::RequestTimedOut(GeoNotifier* notifier) { in RequestTimedOut() 285 bool Geolocation::DoesOwnNotifier(GeoNotifier* notifier) const { in DoesOwnNotifier() 307 GeoNotifier* notifier = watchers_->Find(watch_id); in clearWatch() 430 void Geolocation::StartUpdating(GeoNotifier* notifier) { in StartUpdating() 446 void Geolocation::UpdateGeolocationConnection(GeoNotifier* notifier) { in UpdateGeolocationConnection() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/modules/geolocation/ |
H A D | geo_notifier.cc | 17 GeoNotifier::GeoNotifier(Geolocation* geolocation, in GeoNotifier() function in blink::GeoNotifier 28 &GeoNotifier::TimerFired)), in GeoNotifier() 40 void GeoNotifier::Trace(Visitor* visitor) const { in Trace() 62 void GeoNotifier::SetUseCachedPosition() { in SetUseCachedPosition() 67 void GeoNotifier::RunSuccessCallback(Geoposition* position) { in RunSuccessCallback() 76 void GeoNotifier::StartTimer() { in StartTimer() 81 void GeoNotifier::StopTimer() { in StopTimer() 85 bool GeoNotifier::IsTimerActive() const { in IsTimerActive() 89 void GeoNotifier::Timer::Trace(Visitor* visitor) const { in Trace() 99 void GeoNotifier::Timer::Stop() { in Stop() [all …]
|
H A D | geolocation.h | 100 void FatalErrorOccurred(GeoNotifier*); 105 void RequestUsesCachedPosition(GeoNotifier*); 108 void RequestTimedOut(GeoNotifier*); 111 bool DoesOwnNotifier(GeoNotifier*) const; 124 using BaseClass = HeapHashSet<Member<GeoNotifier>>; 136 auto insert(GeoNotifier* value) { in insert() 141 void erase(GeoNotifier* value) { in erase() 158 auto InsertWithoutTimerCheck(GeoNotifier* value) { in InsertWithoutTimerCheck() 180 void StartUpdating(GeoNotifier*); 184 void UpdateGeolocationConnection(GeoNotifier*); [all …]
|
H A D | geolocation_watchers.h | 13 class GeoNotifier; variable 24 bool Add(int id, GeoNotifier*); 25 GeoNotifier* Find(int id) const; 27 void Remove(GeoNotifier*); 28 bool Contains(GeoNotifier*) const; 35 void CopyNotifiersToVector(HeapVector<Member<GeoNotifier>>&) const; 38 typedef HeapHashMap<int, Member<GeoNotifier>> IdToNotifierMap; 39 typedef HeapHashMap<Member<GeoNotifier>, int> NotifierToIdMap;
|
H A D | geo_notifier.h | 22 class GeoNotifier final : public GarbageCollected<GeoNotifier>, 25 GeoNotifier(Geolocation*, 29 ~GeoNotifier() = default; 60 GeoNotifier* notifier, in Timer() 61 void (GeoNotifier::*member_func)(TimerBase*)) in Timer() 72 TaskRunnerTimer<GeoNotifier> timer_; 73 Member<GeoNotifier> notifier_;
|
H A D | geolocation_watchers.cc | 17 bool GeolocationWatchers::Add(int id, GeoNotifier* notifier) { in Add() 26 GeoNotifier* GeolocationWatchers::Find(int id) const { in Find() 44 void GeolocationWatchers::Remove(GeoNotifier* notifier) { in Remove() 53 bool GeolocationWatchers::Contains(GeoNotifier* notifier) const { in Contains() 77 HeapVector<Member<GeoNotifier>>& vector) const { in CopyNotifiersToVector()
|
H A D | geolocation.cc | 197 auto* notifier = MakeGarbageCollected<GeoNotifier>(this, success_callback, in getCurrentPosition() 213 auto* notifier = MakeGarbageCollected<GeoNotifier>(this, success_callback, in watchPosition() 228 void Geolocation::StartRequest(GeoNotifier* notifier) { in StartRequest() 258 void Geolocation::FatalErrorOccurred(GeoNotifier* notifier) { in FatalErrorOccurred() 269 void Geolocation::RequestUsesCachedPosition(GeoNotifier* notifier) { in RequestUsesCachedPosition() 286 void Geolocation::RequestTimedOut(GeoNotifier* notifier) { in RequestTimedOut() 296 bool Geolocation::DoesOwnNotifier(GeoNotifier* notifier) const { in DoesOwnNotifier() 318 GeoNotifier* notifier = watchers_->Find(watch_id); in clearWatch() 441 void Geolocation::StartUpdating(GeoNotifier* notifier) { in StartUpdating() 457 void Geolocation::UpdateGeolocationConnection(GeoNotifier* notifier) { in UpdateGeolocationConnection() [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/ |
H A D | ChangeLog-2010-01-29 | 8815 Hold a ref to the GeoNotifier while dispatching a callback. The code was 8824 (WebCore::Geolocation::GeoNotifier::timerFired): Protect notifier. 25125 In Geolocation::GeoNotifier::timerFired, a JS callback may be invoked if a 25126 fatal error was registered on this GeoNotifier or if this request has timed 25128 callback, the GeoNotifier object will be destroyed. We must therefore cache the 40426 …(WebCore::Geolocation::GeoNotifier::GeoNotifier): Modified. GeoNotifier takes Geolocation object a… 40717 … The pair of maps allows us to look up a watcher either by its ID or by its GeoNotifier object. 40724 (WebCore::Geolocation::Watchers::remove): Added. Removes a watcher by GeoNotifier object. 60223 … (WebCore::Geolocation::GeoNotifier::GeoNotifier): Modified. Takes Geolocation object as parameter. 60238 … (WebCore::Geolocation::GeoNotifier::create): Modified. Takes Geolocation object as parameter. [all …]
|
H A D | ChangeLog-2009-06-16 | 21491 (WebCore::Geolocation::GeoNotifier::GeoNotifier): 21492 (WebCore::Geolocation::GeoNotifier::startTimer): 21501 (WebCore::Geolocation::GeoNotifier::create): 70228 (WebCore::Geolocation::GeoNotifier::timerFired): 73693 (WebCore::Geolocation::GeoNotifier::GeoNotifier): PositionOptions' timeout now unsigned 75084 (WebCore::Geolocation::GeoNotifier::GeoNotifier): 75085 (WebCore::Geolocation::GeoNotifier::timerFired): 75103 (WebCore::Geolocation::GeoNotifier::create): 75535 (WebCore::Geolocation::GeoNotifier::GeoNotifier): 75536 (WebCore::Geolocation::GeoNotifier::timerFired): [all …]
|
H A D | ChangeLog-2010-05-24 | 37119 (WebCore::Geolocation::GeoNotifier::setUseCachedPosition): Added. 37120 (WebCore::Geolocation::GeoNotifier::runSuccessCallback): Added. 37121 …(WebCore::Geolocation::GeoNotifier::timerFired): Modified. Added logic to handle using a cached po…
|
H A D | ChangeLog-2010-12-06 | 78088 This requires a change to allow multiple calls to GeoNotifier::setFatalError(). 78097 (WebCore::Geolocation::GeoNotifier::setFatalError):
|
H A D | ChangeLog | 838 Reference Geolocation object from GeoNotifier and Geolocation::setIsAllowed.
|