Searched refs:geolocation (Results 1 - 17 of 17) sorted by relevance

/macosx-10.9.5/WebCore-7537.78.1/Modules/geolocation/
H A DNavigatorGeolocation.idl23 readonly attribute Geolocation geolocation;
H A DNavigatorGeolocation.h39 static Geolocation* geolocation(Navigator*);
40 Geolocation* geolocation() const;
H A DNavigatorGeolocation.cpp60 Geolocation* NavigatorGeolocation::geolocation(Navigator* navigator) function in class:WebCore::NavigatorGeolocation
62 return NavigatorGeolocation::from(navigator)->geolocation();
65 Geolocation* NavigatorGeolocation::geolocation() const function in class:WebCore::NavigatorGeolocation
H A DGeolocationController.cpp90 void GeolocationController::requestPermission(Geolocation* geolocation) argument
93 m_client->requestPermission(geolocation);
96 void GeolocationController::cancelPermissionRequest(Geolocation* geolocation) argument
99 m_client->cancelPermissionRequest(geolocation);
H A DGeolocation.h82 static PassRefPtr<GeoNotifier> create(Geolocation* geolocation, PassRefPtr<PositionCallback> positionCallback, PassRefPtr<PositionErrorCallback> positionErrorCallback, PassRefPtr<PositionOptions> options) { return adoptRef(new GeoNotifier(geolocation, positionCallback, positionErrorCallback, options)); } argument
H A DGeolocation.cpp77 Geolocation::GeoNotifier::GeoNotifier(Geolocation* geolocation, PassRefPtr<PositionCallback> successCallback, PassRefPtr<PositionErrorCallback> errorCallback, PassRefPtr<PositionOptions> options) argument
78 : m_geolocation(geolocation)
238 RefPtr<Geolocation> geolocation = adoptRef(new Geolocation(context)); local
239 geolocation->suspendIfNeeded();
240 return geolocation.release();
599 // Ask the embedder: it maintains the geolocation challenge policy itself.
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/Geolocation/
H A DGeolocationPermissionRequestManager.cpp55 void GeolocationPermissionRequestManager::startRequestForGeolocation(Geolocation* geolocation) argument
59 m_geolocationToIDMap.set(geolocation, geolocationID);
60 m_idToGeolocationMap.set(geolocationID, geolocation);
63 Frame* frame = geolocation->frame();
74 void GeolocationPermissionRequestManager::cancelRequestForGeolocation(Geolocation* geolocation) argument
76 GeolocationToIDMap::iterator it = m_geolocationToIDMap.find(geolocation);
91 Geolocation* geolocation = it->value;
92 geolocation->setIsAllowed(allowed);
95 m_geolocationToIDMap.remove(geolocation);
/macosx-10.9.5/WebKit-7537.78.2/win/
H A DWebGeolocationPolicyListener.cpp36 COMPtr<WebGeolocationPolicyListener> WebGeolocationPolicyListener::createInstance(PassRefPtr<Geolocation> geolocation) argument
38 return new WebGeolocationPolicyListener(geolocation);
41 WebGeolocationPolicyListener::WebGeolocationPolicyListener(PassRefPtr<Geolocation> geolocation) argument
43 , m_geolocation(geolocation)
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/WebCoreSupport/
H A DWebGeolocationClient.cpp71 void WebGeolocationClient::requestPermission(Geolocation* geolocation) argument
73 m_page->geolocationPermissionRequestManager().startRequestForGeolocation(geolocation);
76 void WebGeolocationClient::cancelPermissionRequest(Geolocation* geolocation) argument
78 m_page->geolocationPermissionRequestManager().cancelRequestForGeolocation(geolocation);
/macosx-10.9.5/WebKit-7537.78.2/gtk/webkit/
H A Dwebkitgeolocationpolicydecision.cpp29 * @short_description: Liaison between WebKit and the application regarding asynchronous geolocation policy decisions
32 * geolocation-policy-decision-requested signal is emitted. The application
33 * uses it to tell the engine whether it wants to allow or deny geolocation for
42 WebCore::Geolocation* geolocation; member in struct:_WebKitGeolocationPolicyDecisionPrivate
57 WebKitGeolocationPolicyDecision* webkit_geolocation_policy_decision_new(WebKitWebFrame* frame, WebCore::Geolocation* geolocation) argument
64 priv->geolocation = geolocation;
83 priv->geolocation->setIsAllowed(TRUE);
103 priv->geolocation->setIsAllowed(FALSE);
/macosx-10.9.5/WebKit-7537.78.2/win/WebCoreSupport/
H A DWebGeolocationClient.cpp79 void WebGeolocationClient::requestPermission(Geolocation* geolocation) argument
83 geolocation->setIsAllowed(false);
89 geolocation->setIsAllowed(false);
93 Frame* frame = geolocation->frame();
95 COMPtr<WebGeolocationPolicyListener> listener = WebGeolocationPolicyListener::createInstance(geolocation);
100 geolocation->setIsAllowed(false);
/macosx-10.9.5/WebKit-7537.78.2/mac/WebCoreSupport/
H A DWebGeolocationClient.mm47 - (id)initWithGeolocation:(Geolocation*)geolocation;
70 void WebGeolocationClient::requestPermission(Geolocation* geolocation)
76 geolocation->setIsAllowed(false);
80 Frame *frame = geolocation->frame();
82 WebGeolocationPolicyListener* listener = [[WebGeolocationPolicyListener alloc] initWithGeolocation:geolocation];
99 - (id)initWithGeolocation:(Geolocation*)geolocation
103 _geolocation = geolocation;
/macosx-10.9.5/WebKit-7537.78.2/gtk/WebCoreSupport/
H A DGeolocationClientGtk.cpp71 void GeolocationClient::requestPermission(WebCore::Geolocation* geolocation) argument
73 WebKitWebFrame* webFrame = kit(geolocation->frame());
74 GRefPtr<WebKitGeolocationPolicyDecision> policyDecision(adoptGRef(webkit_geolocation_policy_decision_new(webFrame, geolocation)));
77 g_signal_emit_by_name(m_webView, "geolocation-policy-decision-requested", webFrame, policyDecision.get(), &isHandled);
82 void GeolocationClient::cancelPermissionRequest(WebCore::Geolocation* geolocation) argument
84 g_signal_emit_by_name(m_webView, "geolocation-policy-decision-cancelled", kit(geolocation->frame()));
/macosx-10.9.5/WebKit-7537.78.2/qt/WebCoreSupport/
H A DGeolocationClientQt.cpp119 void GeolocationClientQt::requestPermission(Geolocation* geolocation) argument
121 ASSERT(geolocation);
122 QWebFrameAdapter* webFrame = QWebFrameAdapter::kit(geolocation->frame());
123 GeolocationPermissionClientQt::geolocationPermissionClient()->requestGeolocationPermissionForFrame(webFrame, geolocation);
126 void GeolocationClientQt::cancelPermissionRequest(Geolocation* geolocation) argument
128 ASSERT(geolocation);
129 QWebFrameAdapter* webFrame = QWebFrameAdapter::kit(geolocation->frame());
130 GeolocationPermissionClientQt::geolocationPermissionClient()->cancelGeolocationPermissionRequestForFrame(webFrame, geolocation);
/macosx-10.9.5/WebCore-7537.78.1/platform/mock/
H A DGeolocationClientMock.cpp90 void GeolocationClientMock::requestPermission(Geolocation* geolocation) argument
92 m_pendingPermission.add(geolocation);
97 void GeolocationClientMock::cancelPermissionRequest(Geolocation* geolocation) argument
100 m_pendingPermission.remove(geolocation);
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/
H A DOverridesView.js404 var geolocation = WebInspector.UserAgentSupport.GeolocationPosition.parseSetting(geolocationSetting); variable
408 checkboxElement.id = "geolocation-override-checkbox";
415 var geolocationSectionElement = this._createGeolocationOverrideElement(geolocation);
432 var geolocation = WebInspector.UserAgentSupport.GeolocationPosition.parseUserInput(this._latitudeElement.value, this._longitudeElement.value, this._geolocationErrorElement.checked); variable
433 if (geolocation) {
434 this._setGeolocationPosition(geolocation, false, false);
447 * @param {?WebInspector.UserAgentSupport.GeolocationPosition} geolocation
451 _setGeolocationPosition: function(geolocation, userInputModified, updateCheckbox)
453 if (!geolocation)
457 this._latitudeElement.value = geolocation
[all...]
H A DUserAgentSupport.js362 var geolocation = WebInspector.UserAgentSupport.GeolocationPosition.parseSetting(WebInspector.settings.geolocationOverride.get());
363 if (geolocation.error)
366 PageAgent.setGeolocationOverride(geolocation.latitude, geolocation.longitude, 150);

Completed in 227 milliseconds