Пример #1
0
 bool uiDelegate_GeolocationReq(WebView sender, webFrame frame, IWebSecurityOrigin o)
 {
     GeolocationRequestEventArgs args = new GeolocationRequestEventArgs(Url.ToString(), true, o);
     GeolocationPositionRequest(this, args);
     return args.Allow;
 }
Пример #2
0
 void browser_GeolocationPositionRequest(object sender, GeolocationRequestEventArgs e)
 {
     e.Allow = true;
 }