bool uiDelegate_GeolocationReq(WebView sender, webFrame frame, IWebSecurityOrigin o) { GeolocationRequestEventArgs args = new GeolocationRequestEventArgs(Url.ToString(), true, o); GeolocationPositionRequest(this, args); return args.Allow; }
void browser_GeolocationPositionRequest(object sender, GeolocationRequestEventArgs e) { e.Allow = true; }