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

Unified Diff: content/browser/geolocation/geolocation_dispatcher_host.cc

Issue 185813004: [Geolocation] Attach user gesture indicator to permission request call. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « no previous file | content/common/geolocation_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/geolocation/geolocation_dispatcher_host.cc
diff --git a/content/browser/geolocation/geolocation_dispatcher_host.cc b/content/browser/geolocation/geolocation_dispatcher_host.cc
index edb2692f36f232894ace3e678a8a17d9ec4c43d8..0bcb41b71a3633fe3425205b236aaa167eb9c221 100644
--- a/content/browser/geolocation/geolocation_dispatcher_host.cc
+++ b/content/browser/geolocation/geolocation_dispatcher_host.cc
@@ -60,7 +60,8 @@ class GeolocationDispatcherHostImpl : public GeolocationDispatcherHost {
void OnRequestPermission(int render_view_id,
int bridge_id,
- const GURL& requesting_frame);
+ const GURL& requesting_frame,
+ bool user_gesture);
void OnCancelPermissionRequest(int render_view_id,
int bridge_id,
const GURL& requesting_frame);
@@ -159,7 +160,8 @@ void GeolocationDispatcherHostImpl::OnLocationUpdate(
void GeolocationDispatcherHostImpl::OnRequestPermission(
int render_view_id,
int bridge_id,
- const GURL& requesting_frame) {
+ const GURL& requesting_frame,
+ bool user_gesture) {
jamesr 2014/03/06 21:37:43 please add a TODO() or something here indicating t
Greg Billock 2014/03/08 17:15:33 I pushed this out to the browser side and added th
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
DVLOG(1) << __FUNCTION__ << " " << render_process_id_ << ":"
<< render_view_id << ":" << bridge_id;
« no previous file with comments | « no previous file | content/common/geolocation_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698