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

Unified Diff: content/common/geolocation_messages.h

Issue 185813004: [Geolocation] Attach user gesture indicator to permission request call. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch android Created 6 years, 8 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: content/common/geolocation_messages.h
diff --git a/content/common/geolocation_messages.h b/content/common/geolocation_messages.h
index f40cdb884aee602b5bbb1c1fe6142aa54b8005c9..8582828916511a424ac377b797027a66e4ac0697 100644
--- a/content/common/geolocation_messages.h
+++ b/content/common/geolocation_messages.h
@@ -45,10 +45,11 @@ IPC_MESSAGE_ROUTED1(GeolocationMsg_PositionUpdated,
// The |render_view_id| and |bridge_id| representing |host| is requesting
// permission to access geolocation position.
// This will be replied by GeolocationMsg_PermissionSet.
-IPC_MESSAGE_CONTROL3(GeolocationHostMsg_RequestPermission,
+IPC_MESSAGE_CONTROL4(GeolocationHostMsg_RequestPermission,
int /* render_view_id */,
int /* bridge_id */,
- GURL /* GURL of the frame requesting geolocation */)
+ GURL /* GURL of the frame requesting geolocation */,
+ bool /* user_gesture */)
// The |render_view_id| and |bridge_id| representing |GURL| is cancelling its
// previous permission request to access geolocation position.
« no previous file with comments | « content/browser/geolocation/geolocation_dispatcher_host.cc ('k') | content/public/browser/geolocation_permission_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698