@Override
 public void onGeolocationPermissionsShowPrompt(
     String origin, GeolocationPermissions.Callback callback) {
   if (originalWebChromeClient != null) {
     originalWebChromeClient.onGeolocationPermissionsShowPrompt(origin, callback);
   }
 }
 @Override
 public void onGeolocationPermissionsShowPrompt(
     String origin, GeolocationPermissions.Callback callback) {
   TraceEvent.begin();
   if (mWebChromeClient != null) {
     if (TRACE) Log.d(TAG, "onGeolocationPermissionsShowPrompt");
     mWebChromeClient.onGeolocationPermissionsShowPrompt(origin, callback);
   }
   TraceEvent.end();
 }
 @Override
 /**
  * Instructs the client to show a prompt to ask the user to set the Geolocation permission state
  * for the specified origin.
  *
  * @param origin
  * @param callback
  */
 public void onGeolocationPermissionsShowPrompt(String origin, Callback callback) {
   super.onGeolocationPermissionsShowPrompt(origin, callback);
   callback.invoke(origin, true, false);
 }
Пример #4
0
 @Override
 public void onGeolocationPermissionsShowPrompt(String origin, Callback callback) {
   super.onGeolocationPermissionsShowPrompt(origin, callback);
   callback.invoke(origin, true, false);
 }
 public void onGeolocationPermissionsShowPrompt(
     String paramString, GeolocationPermissions.Callback paramCallback) {
   super.onGeolocationPermissionsShowPrompt(paramString, paramCallback);
   paramCallback.invoke(paramString, true, false);
 }
Пример #6
0
 @Override
 public void onGeolocationPermissionsShowPrompt(String origin, Callback callback) {
   super.onGeolocationPermissionsShowPrompt(origin, callback);
 }