class Dictionary;
class Document;
class LocalFrame;
-class GeolocationController;
class GeolocationError;
-class GeolocationPosition;
class ExecutionContext;
-class Geolocation FINAL
+class Geolocation final
: public GarbageCollectedFinalized<Geolocation>
, public ScriptWrappable
, public ActiveDOMObject {
virtual ~Geolocation();
void trace(Visitor*);
- virtual void stop() OVERRIDE;
+ virtual void stop() override;
Document* document() const;
LocalFrame* frame() const;
// position, the set is then cleared. The oneshots are removed everywhere.
void makeCachedPositionCallbacks();
+ // Record whether the origin trying to access Geolocation would be allowed
+ // to access a feature that can only be accessed by secure origins.
+ // See http://goo.gl/lq4gCo
+ void recordOriginTypeAccess() const;
+
GeoNotifierSet m_oneShots;
GeolocationWatchers m_watchers;
GeoNotifierSet m_pendingForPermissionNotifiers;