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

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

Issue 650180: Initial Geolocation location bar icons. (Closed)
Patch Set: Addresses Peter and Brett's comments. 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
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/browser/renderer_host/resource_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f4e088ec4210c64e95ce2faf90bfeddee1ff6adc..a349f61c821d09e72e5fcc46c9b11a14e6913ee9 100644
--- a/chrome/browser/renderer_host/render_view_host_delegate.h
+++ b/chrome/browser/renderer_host/render_view_host_delegate.h
@@ -294,6 +294,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 std::string& host,
+ bool allowed) = 0;
};
// Save ----------------------------------------------------------------------
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/browser/renderer_host/resource_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698