void DumpRenderTreeSupportGtk::resetGeolocationClientMock(WebKitWebView* webView) { #if ENABLE(GEOLOCATION) GeolocationClientMock* mock = static_cast<GeolocationClientMock*>(GeolocationController::from(core(webView))->client()); mock->reset(); #endif }
void DumpRenderTreeSupport::resetGeolocationMock(WebPage* webPage) { #if ENABLE(CLIENT_BASED_GEOLOCATION) GeolocationClientMock* mockClient = toGeolocationClientMock(corePage(webPage)->geolocationController()->client()); mockClient->reset(); #endif }
void DumpRenderTreeSupportQt::resetGeolocationMock(QWebPageAdapter* adapter) { #if ENABLE(GEOLOCATION) Page* corePage = adapter->page; GeolocationClientMock* mockClient = toGeolocationClientMock(GeolocationController::from(corePage)->client()); mockClient->reset(); #endif }
void DumpRenderTreeSupportQt::resetGeolocationMock(QWebPage* page) { #if ENABLE(GEOLOCATION) Page* corePage = QWebPagePrivate::core(page); GeolocationClientMock* mockClient = toGeolocationClientMock(GeolocationController::from(corePage)->client()); mockClient->reset(); #endif }
void DumpRenderTreeSupport::resetGeolocationMock(WebPage* webPage) { GeolocationClientMock* mockClient = toGeolocationClientMock(GeolocationController::from(corePage(webPage))->client()); mockClient->reset(); }