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

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: Using factory function ptr instead of passing object 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"
boliu_use_chromium_pls 2013/01/04 23:45:43 doesn't appear to be used
Kristian Monsen 2013/01/05 02:44:58 Done.
#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);
boliu_use_chromium_pls 2013/01/04 23:45:43 nit: I think in chromium c++ style guide (http://d
Kristian Monsen 2013/01/05 02:44:58 You are right, done. Almost every other function a
boliu 2013/01/05 04:37:35 True...attribute it to differences between java an
+ 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