Home
last modified time | relevance | path

Searched refs:geolocation (Results 1 – 25 of 86) sorted by relevance

1234

/external/webkit/LayoutTests/fast/dom/Geolocation/
Dargument-types-expected.txt6 PASS navigator.geolocation.getCurrentPosition() threw exception Error: TYPE_MISMATCH_ERR: DOM Excep…
7 PASS navigator.geolocation.getCurrentPosition(undefined) threw exception Error: TYPE_MISMATCH_ERR: …
8 PASS navigator.geolocation.getCurrentPosition(null) threw exception Error: TYPE_MISMATCH_ERR: DOM E…
9 PASS navigator.geolocation.getCurrentPosition({}) threw exception Error: TYPE_MISMATCH_ERR: DOM Exc…
10 PASS navigator.geolocation.getCurrentPosition(objectThrowingException) threw exception Error: TYPE_…
11 PASS navigator.geolocation.getCurrentPosition(emptyFunction) did not throw exception.
12 PASS navigator.geolocation.getCurrentPosition(Math.abs) did not throw exception.
13 PASS navigator.geolocation.getCurrentPosition(layoutTestController.setGeolocationPermission) did no…
14 PASS navigator.geolocation.getCurrentPosition(true) threw exception Error: TYPE_MISMATCH_ERR: DOM E…
15 PASS navigator.geolocation.getCurrentPosition(42) threw exception Error: TYPE_MISMATCH_ERR: DOM Exc…
[all …]
Denabled-expected.txt1 Tests that the navigator.geolocation object is present.
6 PASS typeof navigator.geolocation == 'object' is true
8 PASS 'geolocation' in navigator is true
9 PASS navigator.hasOwnProperty('geolocation') is true
/external/webkit/Source/WebKit/chromium/src/
DWebGeolocationPermissionRequestManager.cpp53 Geolocation* geolocation = permissionRequest.geolocation(); in add() local
54 ASSERT(!m_private->m_geolocationIdMap.contains(geolocation)); in add()
56 m_private->m_geolocationIdMap.add(geolocation, id); in add()
57 m_private->m_idGeolocationMap.add(id, geolocation); in add()
63 Geolocation* geolocation = permissionRequest.geolocation(); in remove() local
64 GeolocationIdMap::iterator it = m_private->m_geolocationIdMap.find(geolocation); in remove()
78 Geolocation* geolocation = it->second; in remove() local
79 permissionRequest = WebGeolocationPermissionRequest(geolocation); in remove()
81 m_private->m_geolocationIdMap.remove(geolocation); in remove()
DGeolocationClientProxy.cpp88 void GeolocationClientProxy::requestPermission(WebCore::Geolocation* geolocation) in requestPermission() argument
90 m_client->requestPermission(WebGeolocationPermissionRequest(geolocation)); in requestPermission()
93 void GeolocationClientProxy::cancelPermissionRequest(WebCore::Geolocation* geolocation) in cancelPermissionRequest() argument
95 m_client->cancelPermissionRequest(WebGeolocationPermissionRequest(geolocation)); in cancelPermissionRequest()
/external/webkit/Source/WebKit2/WebProcess/Geolocation/
DGeolocationPermissionRequestManager.cpp52 void GeolocationPermissionRequestManager::startRequestForGeolocation(Geolocation* geolocation) in startRequestForGeolocation() argument
56 m_geolocationToIDMap.set(geolocation, geolocationID); in startRequestForGeolocation()
57 m_idToGeolocationMap.set(geolocationID, geolocation); in startRequestForGeolocation()
60 Frame* frame = geolocation->frame(); in startRequestForGeolocation()
68 void GeolocationPermissionRequestManager::cancelRequestForGeolocation(Geolocation* geolocation) in cancelRequestForGeolocation() argument
70 GeolocationToIDMap::iterator it = m_geolocationToIDMap.find(geolocation); in cancelRequestForGeolocation()
84 Geolocation* geolocation = it->second; in didReceiveGeolocationPermissionDecision() local
85 geolocation->setIsAllowed(allowed); in didReceiveGeolocationPermissionDecision()
88 m_geolocationToIDMap.remove(geolocation); in didReceiveGeolocationPermissionDecision()
/external/webkit/Source/WebKit/gtk/webkit/
Dwebkitgeolocationpolicydecision.cpp42 Geolocation* geolocation; member
55 …cyDecision* webkit_geolocation_policy_decision_new(WebKitWebFrame* frame, Geolocation* geolocation) in webkit_geolocation_policy_decision_new() argument
62 priv->geolocation = geolocation; in webkit_geolocation_policy_decision_new()
79 priv->geolocation->setIsAllowed(TRUE); in webkit_geolocation_policy_allow()
95 priv->geolocation->setIsAllowed(FALSE); in webkit_geolocation_policy_deny()
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DGeolocationClientQt.cpp123 void GeolocationClientQt::requestPermission(Geolocation* geolocation) in requestPermission() argument
125 ASSERT(geolocation); in requestPermission()
126 QWebFrame* webFrame = QWebFramePrivate::kit(geolocation->frame()); in requestPermission()
127 …ientQt::geolocationPermissionClient()->requestGeolocationPermissionForFrame(webFrame, geolocation); in requestPermission()
130 void GeolocationClientQt::cancelPermissionRequest(Geolocation* geolocation) in cancelPermissionRequest() argument
132 ASSERT(geolocation); in cancelPermissionRequest()
133 QWebFrame* webFrame = QWebFramePrivate::kit(geolocation->frame()); in cancelPermissionRequest()
134 …::geolocationPermissionClient()->cancelGeolocationPermissionRequestForFrame(webFrame, geolocation); in cancelPermissionRequest()
/external/webkit/Source/WebKit/win/WebCoreSupport/
DWebGeolocationClient.cpp82 void WebGeolocationClient::requestPermission(Geolocation* geolocation) in requestPermission() argument
86 geolocation->setIsAllowed(false); in requestPermission()
92 geolocation->setIsAllowed(false); in requestPermission()
96 Frame* frame = geolocation->frame(); in requestPermission()
98 …WebGeolocationPolicyListener> listener = WebGeolocationPolicyListener::createInstance(geolocation); in requestPermission()
103 geolocation->setIsAllowed(false); in requestPermission()
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/
DWebGeolocationClient.cpp71 void WebGeolocationClient::requestPermission(Geolocation* geolocation) in requestPermission() argument
73 m_page->geolocationPermissionRequestManager().startRequestForGeolocation(geolocation); in requestPermission()
76 void WebGeolocationClient::cancelPermissionRequest(Geolocation* geolocation) in cancelPermissionRequest() argument
78 m_page->geolocationPermissionRequestManager().cancelRequestForGeolocation(geolocation); in cancelPermissionRequest()
/external/webkit/Source/WebKit/android/WebCoreSupport/
DGeolocationClientAndroid.cpp74 void GeolocationClientAndroid::requestPermission(Geolocation* geolocation) in requestPermission() argument
76 client()->requestPermission(geolocation); in requestPermission()
79 void GeolocationClientAndroid::cancelPermissionRequest(Geolocation* geolocation) in cancelPermissionRequest() argument
81 client()->cancelPermissionRequest(geolocation); in cancelPermissionRequest()
DGeolocationClientImpl.cpp148 void GeolocationClientImpl::requestPermission(Geolocation* geolocation) in requestPermission() argument
150 permissions()->queryPermissionState(geolocation->frame()); in requestPermission()
153 void GeolocationClientImpl::cancelPermissionRequest(Geolocation* geolocation) in cancelPermissionRequest() argument
155 permissions()->cancelPermissionStateQuery(geolocation->frame()); in cancelPermissionRequest()
/external/webkit/Source/WebKit/win/
DWebGeolocationPolicyListener.cpp36 …onPolicyListener> WebGeolocationPolicyListener::createInstance(PassRefPtr<Geolocation> geolocation) in createInstance() argument
38 return new WebGeolocationPolicyListener(geolocation); in createInstance()
41 WebGeolocationPolicyListener::WebGeolocationPolicyListener(PassRefPtr<Geolocation> geolocation) in WebGeolocationPolicyListener() argument
43 , m_geolocation(geolocation) in WebGeolocationPolicyListener()
/external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/
Dmaximum-age.js35 navigator.geolocation.getCurrentPosition(function(p) {
48 navigator.geolocation.getCurrentPosition(function(p) {
62 navigator.geolocation.getCurrentPosition(function(p) {
73 navigator.geolocation.getCurrentPosition(function(p) {
Dpermission-denied-already-clear-watch.js11 navigator.geolocation.getCurrentPosition(function(p) {
25 var watchId = navigator.geolocation.watchPosition(function(p) {
32 navigator.geolocation.clearWatch(watchId);
Dclear-watch-invalid-id-crash.js10 navigator.geolocation.watchPosition(function() {});
11 navigator.geolocation.clearWatch(0);
Dtimeout-clear-watch.js7 var watchId = navigator.geolocation.watchPosition(function() {
14 navigator.geolocation.clearWatch(watchId);
Dpermission-denied-already-success.js11 navigator.geolocation.getCurrentPosition(function(p) {
25 navigator.geolocation.getCurrentPosition(function(p) {
Dpermission-denied-already-error.js11 navigator.geolocation.getCurrentPosition(function(p) {
28 navigator.geolocation.getCurrentPosition(function(p) {
Dreentrant-permission-denied.js17 navigator.geolocation.getCurrentPosition(function(p) {
31 navigator.geolocation.getCurrentPosition(function(p) {
Ddelayed-permission-allowed-for-multiple-requests.js15 navigator.geolocation.watchPosition(function() {
29 navigator.geolocation.getCurrentPosition(function() {
/external/webkit/Source/WebKit/mac/WebCoreSupport/
DWebGeolocationClient.mm44 - (id)initWithGeolocation:(Geolocation*)geolocation;
67 void WebGeolocationClient::requestPermission(Geolocation* geolocation)
73 geolocation->setIsAllowed(false);
77 Frame *frame = geolocation->frame();
79 …nPolicyListener* listener = [[WebGeolocationPolicyListener alloc] initWithGeolocation:geolocation];
100 - (id)initWithGeolocation:(Geolocation*)geolocation
104 _geolocation = geolocation;
/external/webkit/Source/WebKit/chromium/public/
DWebGeolocationPermissionRequest.h50 WebGeolocationPermissionRequest(WebCore::Geolocation* geolocation) in WebGeolocationPermissionRequest() argument
51 : m_private(geolocation) in WebGeolocationPermissionRequest()
55 WebCore::Geolocation* geolocation() const { return m_private; } in geolocation() function
/external/webkit/Source/WebCore/page/
DGeolocationController.cpp86 void GeolocationController::requestPermission(Geolocation* geolocation) in requestPermission() argument
89 m_client->requestPermission(geolocation); in requestPermission()
92 void GeolocationController::cancelPermissionRequest(Geolocation* geolocation) in cancelPermissionRequest() argument
95 m_client->cancelPermissionRequest(geolocation); in cancelPermissionRequest()
/external/webkit/Source/WebCore/platform/mock/
DGeolocationClientMock.cpp87 void GeolocationClientMock::requestPermission(Geolocation* geolocation) in requestPermission() argument
89 m_pendingPermission.add(geolocation); in requestPermission()
94 void GeolocationClientMock::cancelPermissionRequest(Geolocation* geolocation) in cancelPermissionRequest() argument
97 m_pendingPermission.remove(geolocation); in cancelPermissionRequest()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8GeolocationCustom.cpp151 Geolocation* geolocation = V8Geolocation::toNative(args.Holder()); in getCurrentPositionCallback() local
152geolocation->getCurrentPosition(positionCallback.release(), positionErrorCallback.release(), posit… in getCurrentPositionCallback()
177 Geolocation* geolocation = V8Geolocation::toNative(args.Holder()); in watchPositionCallback() local
178 …int watchId = geolocation->watchPosition(positionCallback.release(), positionErrorCallback.release… in watchPositionCallback()

1234