/external/webkit/LayoutTests/fast/dom/Geolocation/ |
D | argument-types-expected.txt | 6 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 …]
|
D | enabled-expected.txt | 1 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/ |
D | WebGeolocationPermissionRequestManager.cpp | 53 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()
|
D | GeolocationClientProxy.cpp | 88 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/ |
D | GeolocationPermissionRequestManager.cpp | 52 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/ |
D | webkitgeolocationpolicydecision.cpp | 42 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/ |
D | GeolocationClientQt.cpp | 123 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/ |
D | WebGeolocationClient.cpp | 82 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/ |
D | WebGeolocationClient.cpp | 71 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/ |
D | GeolocationClientAndroid.cpp | 74 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()
|
D | GeolocationClientImpl.cpp | 148 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/ |
D | WebGeolocationPolicyListener.cpp | 36 …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/ |
D | maximum-age.js | 35 navigator.geolocation.getCurrentPosition(function(p) { 48 navigator.geolocation.getCurrentPosition(function(p) { 62 navigator.geolocation.getCurrentPosition(function(p) { 73 navigator.geolocation.getCurrentPosition(function(p) {
|
D | permission-denied-already-clear-watch.js | 11 navigator.geolocation.getCurrentPosition(function(p) { 25 var watchId = navigator.geolocation.watchPosition(function(p) { 32 navigator.geolocation.clearWatch(watchId);
|
D | clear-watch-invalid-id-crash.js | 10 navigator.geolocation.watchPosition(function() {}); 11 navigator.geolocation.clearWatch(0);
|
D | timeout-clear-watch.js | 7 var watchId = navigator.geolocation.watchPosition(function() { 14 navigator.geolocation.clearWatch(watchId);
|
D | permission-denied-already-success.js | 11 navigator.geolocation.getCurrentPosition(function(p) { 25 navigator.geolocation.getCurrentPosition(function(p) {
|
D | permission-denied-already-error.js | 11 navigator.geolocation.getCurrentPosition(function(p) { 28 navigator.geolocation.getCurrentPosition(function(p) {
|
D | reentrant-permission-denied.js | 17 navigator.geolocation.getCurrentPosition(function(p) { 31 navigator.geolocation.getCurrentPosition(function(p) {
|
D | delayed-permission-allowed-for-multiple-requests.js | 15 navigator.geolocation.watchPosition(function() { 29 navigator.geolocation.getCurrentPosition(function() {
|
/external/webkit/Source/WebKit/mac/WebCoreSupport/ |
D | WebGeolocationClient.mm | 44 - (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/ |
D | WebGeolocationPermissionRequest.h | 50 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/ |
D | GeolocationController.cpp | 86 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/ |
D | GeolocationClientMock.cpp | 87 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/ |
D | V8GeolocationCustom.cpp | 151 Geolocation* geolocation = V8Geolocation::toNative(args.Holder()); in getCurrentPositionCallback() local 152 …geolocation->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()
|