-
sfalken@apple.com authored
Reviewed by Sam Weinig. * DerivedSources.cpp: Add JSCoordinates.cpp, JSGeolocation.cpp, JSGeoposition.cpp, JSPositionError.cpp WebKit/win: Add Geolocation interfaces in WebKit for Windows. Reviewed by Adam Roben, Sam Weinig. * ForEachCoClass.h: Added WebGeolocationPosition. * Interfaces/IWebError.idl: * Interfaces/IWebGeolocationPosition.idl: Added. * Interfaces/IWebGeolocationProvider.idl: Added. * Interfaces/IWebViewPrivate.idl: * Interfaces/WebKit.idl: * WebCoreSupport/WebGeolocationControllerClient.cpp: Added. (WebGeolocationControllerClient::WebGeolocationControllerClient): (WebGeolocationControllerClient::startUpdating): (WebGeolocationControllerClient::stopUpdating): (WebGeolocationControllerClient::lastPosition): * WebCoreSupport/WebGeolocationControllerClient.h: Added. * WebGeolocationPosition.cpp: Added IWebGeolocationPosition implementation. * WebGeolocationPosition.h: Added IWebGeolocationPosition implementation. * WebKit.vcproj/Interfaces.vcproj: Added IWebGeolocationPosition.idl, IWebGeolocationProvider.idl, relocated JavaScriptCoreAPITypes.idl, WebScrollbarTypes.idl * WebKit.vcproj/WebKit.vcproj: Added WebGeolocationPosition.h/.cpp, WebGeolocationControllerClient.h/cpp, * WebKitClassFactory.cpp: Add WebGeolocationPosition include. * WebView.cpp: (WebView::initWithFrame): Create WebGeolocationControllerClient if Geolocation is enabled. (WebView::setGeolocationProvider): Added Geolocation-specific method. (WebView::geolocationProvider): Added Geolocation-specific method. (WebView::geolocationDidChangePosition): Added Geolocation-specific method. (WebView::geolocationDidFailWithError): Added Geolocation-specific method. * WebView.h: Added setGeolocationProvider, geolocationProvider, geolocationDidChangePosition, geolocationDidFailWithError. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53165 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ac58796d