-
benjamin@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=78853 Patch by Adam Barth <abarth@webkit.org> && Benjamin Poulain <bpoulain@apple.com> on 2012-03-13 Reviewed by Adam Barth. .: * Source/cmake/OptionsBlackBerry.cmake: * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsWinCE.cmake: * Source/cmakeconfig.h.cmake: Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: * wtf/Platform.h: Source/WebCore: * CMakeLists.txt: * Configurations/FeatureDefines.xcconfig: * GNUmakefile.am: * GNUmakefile.list.am: * Modules/geolocation/Geolocation.cpp: (WebCore): (WebCore::createPositionError): (WebCore::Geolocation::Geolocation): (WebCore::Geolocation::stop): (WebCore::Geolocation::lastPosition): (WebCore::Geolocation::requestPermission): (WebCore::Geolocation::startUpdating): (WebCore::Geolocation::stopUpdating): * Modules/geolocation/Geolocation.h: (WebCore): (Geolocation): * Modules/geolocation/GeolocationController.cpp: * Modules/geolocation/GeolocationController.h: * Modules/geolocation/GeolocationError.h: * Modules/geolocation/GeolocationPosition.h: * Target.pri: * WebCore.exp.in: * WebCore.gypi: * WebCore.vcproj/WebCore.vcproj: * bindings/js/JSGeolocationCustom.cpp: * loader/EmptyClients.h: (EmptyChromeClient): * page/ChromeClient.h: (ChromeClient): * page/Page.cpp: (WebCore::Page::Page): * page/Page.h: (Page): * platform/GeolocationService.cpp: Removed. * platform/GeolocationService.h: Removed. * platform/mock/GeolocationClientMock.cpp: * platform/mock/GeolocationClientMock.h: * platform/mock/GeolocationServiceMock.cpp: Removed. * platform/mock/GeolocationServiceMock.h: Removed. Source/WebKit/blackberry: * Api/WebPage.cpp: (BlackBerry::WebKit::WebPagePrivate::init): * WebCoreSupport/AboutDataEnableFeatures.in: * WebCoreSupport/ChromeClientBlackBerry.cpp: * WebCoreSupport/ChromeClientBlackBerry.h: (ChromeClientBlackBerry): * WebKitSupport/DumpRenderTreeSupport.cpp: (toGeolocationClientMock): (DumpRenderTreeSupport::numberOfPendingGeolocationPermissionRequests): (DumpRenderTreeSupport::resetGeolocationMock): (DumpRenderTreeSupport::setMockGeolocationError): (DumpRenderTreeSupport::setMockGeolocationPermission): (DumpRenderTreeSupport::setMockGeolocationPosition): Source/WebKit/chromium: * features.gypi: * src/ChromeClientImpl.cpp: * src/ChromeClientImpl.h: (ChromeClientImpl): Source/WebKit/efl: * WebCoreSupport/ChromeClientEfl.cpp: (WebCore): * WebCoreSupport/ChromeClientEfl.h: (ChromeClientEfl): Source/WebKit/gtk: * WebCoreSupport/ChromeClientGtk.cpp: (WebKit): * WebCoreSupport/ChromeClientGtk.h: (WebKit::ChromeClient::scrollRectIntoView): * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: (DumpRenderTreeSupportGtk::resetGeolocationClientMock): (DumpRenderTreeSupportGtk::setMockGeolocationPermission): (DumpRenderTreeSupportGtk::setMockGeolocationPosition): (DumpRenderTreeSupportGtk::setMockGeolocationError): (DumpRenderTreeSupportGtk::numberOfPendingGeolocationPermissionRequests): * WebCoreSupport/GeolocationClientGtk.cpp: (WebKit::GeolocationClient::requestPermission): (WebKit::GeolocationClient::cancelPermissionRequest): * WebCoreSupport/GeolocationClientGtk.h: (WebKit): * webkit/webkitwebview.cpp: (webkit_web_view_init): Source/WebKit/mac: * Configurations/FeatureDefines.xcconfig: * WebCoreSupport/WebChromeClient.h: (WebChromeClient): * WebCoreSupport/WebGeolocationClient.mm: (WebGeolocationClient::lastPosition): * WebView/WebGeolocationPosition.mm: (-[WebGeolocationPositionInternal initWithCoreGeolocationPosition:]): (core): (-[WebGeolocationPosition initWithTimestamp:latitude:longitude:accuracy:]): * WebView/WebGeolocationPositionInternal.h: * WebView/WebView.mm: (-[WebView _commonInitializationWithFrameName:groupName:]): (-[WebView _geolocationDidChangePosition:]): (-[WebView _geolocationDidFailWithError:]): Source/WebKit/qt: * Api/qwebpage.cpp: (QWebPagePrivate::QWebPagePrivate): * WebCoreSupport/ChromeClientQt.h: * WebCoreSupport/DumpRenderTreeSupportQt.cpp: (toGeolocationClientMock): (DumpRenderTreeSupportQt::resetGeolocationMock): (DumpRenderTreeSupportQt::setMockGeolocationPermission): (DumpRenderTreeSupportQt::setMockGeolocationPosition): (DumpRenderTreeSupportQt::setMockGeolocationError): (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests): * WebCoreSupport/GeolocationClientQt.h: (WebCore): Source/WebKit/win: * WebCoreSupport/WebChromeClient.h: (WebChromeClient): * WebCoreSupport/WebGeolocationClient.cpp: (WebGeolocationClient::lastPosition): * WebGeolocationPosition.cpp: (WebGeolocationPosition::initWithTimestamp): (core): * WebGeolocationPosition.h: (WebGeolocationPosition): (WebGeolocationPosition::impl): * WebView.cpp: (WebView::initWithFrame): (WebView::geolocationDidChangePosition): (WebView::geolocationDidFailWithError): Source/WebKit/wince: * WebCoreSupport/ChromeClientWinCE.cpp: * WebCoreSupport/ChromeClientWinCE.h: (ChromeClientWinCE): Source/WebKit/wx: * WebKitSupport/ChromeClientWx.cpp: * WebKitSupport/ChromeClientWx.h: Source/WebKit2: * Configurations/FeatureDefines.xcconfig: * WebProcess/Geolocation/WebGeolocationManager.cpp: (WebKit::WebGeolocationManager::registerWebPage): (WebKit::WebGeolocationManager::unregisterWebPage): (WebKit::WebGeolocationManager::didChangePosition): (WebKit::WebGeolocationManager::didFailToDeterminePosition): * WebProcess/InjectedBundle/InjectedBundle.cpp: (WebKit::InjectedBundle::setGeoLocationPermission): * WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit): * WebProcess/WebCoreSupport/WebChromeClient.h: (WebChromeClient): * WebProcess/WebCoreSupport/WebGeolocationClient.cpp: * WebProcess/WebCoreSupport/WebGeolocationClient.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::WebPage): * mac/WebKit2.order: Tools: * Scripts/build-webkit: * qmake/mkspecs/features/features.prf: WebKitLibraries: * win/tools/vsprops/FeatureDefines.vsprops: * win/tools/vsprops/FeatureDefinesCairo.vsprops: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110595 268f45cc-cd09-0410-ab3c-d52691b4dbfc
16934769