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

Unified Diff: chrome/browser/renderer_host/render_view_host_delegate.h

Issue 1143002: Adds GeolocationContentSettings on TabContents. (Closed)
Patch Set: Tests for tabcontents for extensions. Created 10 years, 9 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: chrome/browser/renderer_host/render_view_host_delegate.h
diff --git a/chrome/browser/renderer_host/render_view_host_delegate.h b/chrome/browser/renderer_host/render_view_host_delegate.h
index 45934d2e1653470fa2f4a57ed1df5e8b6ce4efc7..3ac57b97d023ee25cc780f391344b2b72b8da831 100644
--- a/chrome/browser/renderer_host/render_view_host_delegate.h
+++ b/chrome/browser/renderer_host/render_view_host_delegate.h
@@ -295,6 +295,11 @@ class RenderViewHostDelegate {
// Called when content in the current page was blocked due to the user's
// content settings.
virtual void OnContentBlocked(ContentSettingsType type) = 0;
+
+ // Called when geolocation permission was set in a frame on the current
+ // page.
+ virtual void OnGeolocationPermissionSet(const GURL& requesting_frame,
+ bool allowed) = 0;
};
// Save ----------------------------------------------------------------------
« no previous file with comments | « chrome/browser/geolocation/geolocation_permission_context.cc ('k') | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698