diff options
author | kristianm@chromium.org <kristianm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-22 10:08:19 +0000 |
---|---|---|
committer | kristianm@chromium.org <kristianm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-22 10:08:19 +0000 |
commit | 578e38e67cb01589d2c2c5addafb0744b8d9e028 (patch) | |
tree | 2b61b176507e7b3c74c1e5d8d5ec70111cedc3bb /android_webview | |
parent | a6bd805c8ad5e54ec03d155240b809d6c5fcf8e8 (diff) | |
download | chromium_src-578e38e67cb01589d2c2c5addafb0744b8d9e028.zip chromium_src-578e38e67cb01589d2c2c5addafb0744b8d9e028.tar.gz chromium_src-578e38e67cb01589d2c2c5addafb0744b8d9e028.tar.bz2 |
Adding geolocation functions to AwContentsClient
Not abstract before they are implemented in Android
BUG=
Review URL: https://chromiumcodereview.appspot.com/11662010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174513 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview')
-rw-r--r-- | android_webview/java/src/org/chromium/android_webview/AwContentsClient.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java b/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java index 7ca764c..aafc0f3 100644 --- a/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java +++ b/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java @@ -12,6 +12,7 @@ import android.os.Message; import android.util.Log; import android.view.KeyEvent; import android.webkit.ConsoleMessage; +import android.webkit.GeolocationPermissions; import org.chromium.content.browser.ContentViewClient; import org.chromium.content.browser.ContentViewCore; @@ -219,6 +220,13 @@ public abstract class AwContentsClient extends ContentViewClient { public abstract void onDownloadStart(String url, String userAgent, String contentDisposition, String mimeType, long contentLength); + // TODO(kristianm): Make abstract when landed in Android + public void onGeolocationPermissionsShowPrompt(String origin, + GeolocationPermissions.Callback callback) {} + + // TODO(kristianm): Make abstract when landed in Android + public void onGeolocationPermissionsHidePrompt() {} + protected abstract void handleJsAlert(String url, String message, JsResultReceiver receiver); protected abstract void handleJsBeforeUnload(String url, String message, |