Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Unified Diff: android_webview/native/aw_contents.h

Issue 11763002: Implementing native chromium GeolocationPermissionContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Different static cast Created 7 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/native/aw_contents.h
diff --git a/android_webview/native/aw_contents.h b/android_webview/native/aw_contents.h
index 44da9f23ba0f0aaa35678a90a1c3097c6c2cbb65..0c91f3e8e9ec062727ab76cf83d787c7f079ba84 100644
--- a/android_webview/native/aw_contents.h
+++ b/android_webview/native/aw_contents.h
@@ -9,6 +9,7 @@
#include <string>
#include "android_webview/browser/find_helper.h"
+#include "android_webview/native/aw_geolocation_permission_context.h"
#include "android_webview/public/browser/draw_gl.h"
#include "base/android/scoped_java_ref.h"
#include "base/android/jni_helper.h"
@@ -102,6 +103,11 @@ class AwContents : public FindHelper::Listener,
int scroll_x, int scroll_y);
void FocusFirstNode(JNIEnv* env, jobject obj);
+ // Geolocation API support
+ void GeolocationShowPrompt(int render_process_id, int render_view_id,
+ int bridge_id, const GURL& requesting_frame);
+ void GeolocationHidePrompt();
+
// Find-in-page API and related methods.
jint FindAllSync(JNIEnv* env, jobject obj, jstring search_string);
void FindAllAsync(JNIEnv* env, jobject obj, jstring search_string);

Powered by Google App Engine
This is Rietveld 408576698